summaryrefslogtreecommitdiff
path: root/app-admin/xkcdpass
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/xkcdpass')
-rw-r--r--app-admin/xkcdpass/Manifest3
-rw-r--r--app-admin/xkcdpass/metadata.xml8
-rw-r--r--app-admin/xkcdpass/xkcdpass-1.17.3.ebuild37
3 files changed, 48 insertions, 0 deletions
diff --git a/app-admin/xkcdpass/Manifest b/app-admin/xkcdpass/Manifest
new file mode 100644
index 000000000000..4e40112a5f49
--- /dev/null
+++ b/app-admin/xkcdpass/Manifest
@@ -0,0 +1,3 @@
+DIST xkcdpass-1.17.3.tar.gz 2072127 BLAKE2B 20339e7a0fd43f86eb83d89774613fa0009a13ca190be7d36edb8244b7d2e0b48041b3f8c7156c04e4d2dbae0c4475f5f1e577701e651146acab1284aa6c032d SHA512 5359b0b4e3076c2b385773862ff03e3700888d1ae967a26c5b19add3c9d2cde179ed5ad3309c5b53ab6cdbd40c8fedae1f6b9b0483dba83858671f9d816efc6c
+EBUILD xkcdpass-1.17.3.ebuild 976 BLAKE2B 2afa94b45e102b2181d9c171b3e8fe501844e870c28f4e1875e108218362735f7f09c7088208c5d5d35aa8b73888294eea9f9ce1e3f1105e2ecdb8acc72af474 SHA512 12be95eb6e479fc0b7748d14daa9c9521f4c3972386cac3428e92667a5fd42180dc0f6d01252de24bea7392a768c4c13bbd1a29a4ce9efe6e69febe90f9996f7
+MISC metadata.xml 244 BLAKE2B 24ebafa89c32f799b62237b0d9442143de8ccb86c1625f2a49dd91ec9caa63cadc52000005b5b5ef148df89e907e1407330a8d8411ffb5f4facaf629a3184cb8 SHA512 d7a2290eb2970ef7fb9bea275b209c7ace388daadcf3e317b099767d72c7d9f0b894e23492f02e973d27010a7568e48549e4f502c9628efc3133012680304784
diff --git a/app-admin/xkcdpass/metadata.xml b/app-admin/xkcdpass/metadata.xml
new file mode 100644
index 000000000000..c67d4dcaca5b
--- /dev/null
+++ b/app-admin/xkcdpass/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bkohler@gentoo.org</email>
+ <name>Ben Kohler</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-admin/xkcdpass/xkcdpass-1.17.3.ebuild b/app-admin/xkcdpass/xkcdpass-1.17.3.ebuild
new file mode 100644
index 000000000000..982abbe2a248
--- /dev/null
+++ b/app-admin/xkcdpass/xkcdpass-1.17.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+inherit distutils-r1
+
+DESCRIPTION="Password generator inspired by XKCD 936"
+HOMEPAGE="https://github.com/redacted/XKCD-password-generator"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD CC-BY-3.0
+ l10n_de? ( GPL-3 )
+ l10n_it? ( CC-BY-SA-3.0 )
+ l10n_no? ( CC-BY-4.0 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="l10n_de l10n_en l10n_es l10n_fi l10n_fr l10n_it l10n_no l10n_pt"
+
+src_prepare() {
+ default
+
+ use l10n_de || rm ${PN}/static/ger-anlx
+ use l10n_en || rm ${PN}/static/{eff-short,eff-special,legacy}
+ use l10n_es || rm ${PN}/static/spa-mich
+ use l10n_fi || rm ${PN}/static/fin-kotus
+ use l10n_fr || rm ${PN}/static/fr-*
+ use l10n_it || rm ${PN}/static/ita-wiki
+ use l10n_no || rm ${PN}/static/nor-nb
+ use l10n_pt || rm ${PN}/static/pt-*
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doman ${PN}.1
+}