summaryrefslogtreecommitdiff
path: root/app-admin/xkcdpass
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/xkcdpass')
-rw-r--r--app-admin/xkcdpass/Manifest2
-rw-r--r--app-admin/xkcdpass/xkcdpass-1.19.3.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/xkcdpass/Manifest b/app-admin/xkcdpass/Manifest
index 584c25141986..68cfb0f8d3b6 100644
--- a/app-admin/xkcdpass/Manifest
+++ b/app-admin/xkcdpass/Manifest
@@ -1,3 +1,5 @@
DIST xkcdpass-1.19.2.tar.gz 2073808 BLAKE2B 19ad3f505ab672b1a2554e534896b15c77eb9741e7da01e22efff44d069ff6a482c122ec7fa616bc3789d2ce4bd5f6050c06bcff9661476d15fbc78edc505c36 SHA512 20376fc22fb4d251e2b921d4db48fea2109a4c42832614d41e807b262130111c58e01d1ded2019fad230a458953a2f185d92cfe95f3950aaa0a97750b3b3a2b6
+DIST xkcdpass-1.19.3.tar.gz 2570967 BLAKE2B bd3576b707db2652e6979ea25476fcda51df7bc84a5182668ff1cf2878a57c89ab56a7272fe2030c38533bf4f75855facd7fd8aefa6e5c6335a00c8ef80b228f SHA512 5336e57edd7fbeb655573910b0c0868381a8b43d5ccbb8d388cc24ef16ba094c27517a4fe7b11dbfc7ff906b65a303f90b20cdf9bc551b844453640378b5e555
EBUILD xkcdpass-1.19.2.ebuild 1082 BLAKE2B eeec356a8473d534469fadedaccb99472350bc270dd00738b46b88610a4f602a95d45f154bf7f9d2bd63b5aa7aa1ba13b968c98ab142464a4f4f4ff3f46bbfc9 SHA512 7cd61c38abee095ec1d40f74e37fb114c5cd9c1bd63b6a6f5d90a0a4416fb3ae5dfa7d8b0ea79dccf5baa3fd2cf1d1ba9124088f5d3c8393c0c74a3ac4ec13c1
+EBUILD xkcdpass-1.19.3.ebuild 1080 BLAKE2B c88e2de2a5d2d41f4985bd203124254bb729dc9e532fc6805cec804c1d0d675071c0ffa1c5bb794daffeb62ceb55e064720b1f8b513fbd97c8698b62b1ba1fee SHA512 486615b3c38907eaffd4dd82065c94ac60d88a1cf81c1a0374c2b72452c7cbd724ade716f11a9311410a86e6fd989c0c38e86933331ff13edb1c0364de9e4ed9
MISC metadata.xml 244 BLAKE2B 24ebafa89c32f799b62237b0d9442143de8ccb86c1625f2a49dd91ec9caa63cadc52000005b5b5ef148df89e907e1407330a8d8411ffb5f4facaf629a3184cb8 SHA512 d7a2290eb2970ef7fb9bea275b209c7ace388daadcf3e317b099767d72c7d9f0b894e23492f02e973d27010a7568e48549e4f502c9628efc3133012680304784
diff --git a/app-admin/xkcdpass/xkcdpass-1.19.3.ebuild b/app-admin/xkcdpass/xkcdpass-1.19.3.ebuild
new file mode 100644
index 000000000000..4838b290ff93
--- /dev/null
+++ b/app-admin/xkcdpass/xkcdpass-1.19.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+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"
+
+distutils_enable_tests pytest
+REQUIRED_USE="test? ( l10n_en )"
+
+src_prepare() {
+ default
+
+ use l10n_de || rm ${PN}/static/{ger-anlx,eff_large_de_sample.wordlist}
+ 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
+}