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.5.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/app-admin/xkcdpass/Manifest b/app-admin/xkcdpass/Manifest
index e0ef302875e0..cee8f1816292 100644
--- a/app-admin/xkcdpass/Manifest
+++ b/app-admin/xkcdpass/Manifest
@@ -1,4 +1,6 @@
AUX xkcdpass-1.19.4-no-examples-in-site-packages.patch 571 BLAKE2B 1e12132799bd9e699ed5ebf2c3b87efd57123a797ad9456c665c37e6f98dce106cc010e84a0dfb8fa6f64a63a22f828ddaddb640672facb24e7ece2971f83285 SHA512 504affb76dfc39b74c03a5ab563e376ea781ea31f9e6a630225b2bae15f9b8e3a9757a8a6b90e613360917578730d42d310e9bd344e84620a4af88079567cf32
DIST xkcdpass-1.19.4.tar.gz 2572291 BLAKE2B f36299ab66bc02f95a7811ebdf40fa62f441a0ef1eac27af8d380fca9643eb9c2444c988392900e5add8a2a22f4ef33766bc5904fb350520b0b7572e95898ecd SHA512 2a83473f6e2426f34ee89297056ca7d3949044f7e818f6d6501fd7852ac1ba9f860f8287ad6d366f13f46f580b0f3f7e9a3dfa160b262b4d00b00ed1c9f5da59
+DIST xkcdpass-1.19.5.tar.gz 2572430 BLAKE2B e955780492d2771558bc1f0716913f4e84a408d98049b2f5f23d53a56e6d660bc1afb2539b3f422bdc98df05ae065c51f0303ddaf2e268994420a22580aba2a2 SHA512 8a560247cb860377ef723b26610a6f784a891b4c8dfb2c5b55187df70e326d6ff2f1d31128dfc4e7136cbc15108c470658d896056177900e0eb419d14458348f
EBUILD xkcdpass-1.19.4.ebuild 1140 BLAKE2B 3c58527e7b78f8599a653e171cd970b66ca2d2bd28b378f9e3938ae885e592f0a6f41c0292865b1e2e65ce1d296d55fa9e30c72f01e5a9ce3a4f49ab1596caad SHA512 f29a80b06a2f86d75b4c5f1d76b4c5a6869202570beda6be0ce86fdf66873717412ed8304e3dc18b970e2ba7173626e7490eb5dd5940b562aa2460b68790d7db
+EBUILD xkcdpass-1.19.5.ebuild 1140 BLAKE2B 3c58527e7b78f8599a653e171cd970b66ca2d2bd28b378f9e3938ae885e592f0a6f41c0292865b1e2e65ce1d296d55fa9e30c72f01e5a9ce3a4f49ab1596caad SHA512 f29a80b06a2f86d75b4c5f1d76b4c5a6869202570beda6be0ce86fdf66873717412ed8304e3dc18b970e2ba7173626e7490eb5dd5940b562aa2460b68790d7db
MISC metadata.xml 388 BLAKE2B a1477ba7c23e7ddab97dd869612794c1e1d0876cf9564bc54ecc6858280d6cc23dfac4e83d78f0f18543c5ae3804e1a701701e08ae6722e533c8c6f1dca29e71 SHA512 6a6bf779b5e0de8bb4a8be49253981590ee039b252db6bc4f25a8e1db6123a832fc7d628302e192aedd485e864b528d272da8a4e0f557987d4b7104c5d0ce985
diff --git a/app-admin/xkcdpass/xkcdpass-1.19.5.ebuild b/app-admin/xkcdpass/xkcdpass-1.19.5.ebuild
new file mode 100644
index 000000000000..767282c1f31d
--- /dev/null
+++ b/app-admin/xkcdpass/xkcdpass-1.19.5.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1 pypi
+
+DESCRIPTION="Password generator inspired by XKCD 936"
+HOMEPAGE="https://github.com/redacted/XKCD-password-generator"
+
+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 )"
+
+PATCHES=( "${FILESDIR}"/xkcdpass-1.19.4-no-examples-in-site-packages.patch )
+
+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
+}