diff options
author | Ben Kohler <bkohler@gentoo.org> | 2023-11-13 06:49:10 -0600 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2023-11-13 06:55:39 -0600 |
commit | c02c496f7356d38142f4ca97eb5d004ea9d7d1f6 (patch) | |
tree | 0b83dda6842202e7e98aead13cf3a46ccbdd2739 /app-admin | |
parent | app-emacs/treepy: drop old 0.1.1-r1 (diff) | |
download | gentoo-c02c496f7356d38142f4ca97eb5d004ea9d7d1f6.tar.gz gentoo-c02c496f7356d38142f4ca97eb5d004ea9d7d1f6.tar.bz2 gentoo-c02c496f7356d38142f4ca97eb5d004ea9d7d1f6.zip |
app-admin/xkcdpass: add 1.19.5
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/xkcdpass/Manifest | 1 | ||||
-rw-r--r-- | app-admin/xkcdpass/xkcdpass-1.19.5.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/app-admin/xkcdpass/Manifest b/app-admin/xkcdpass/Manifest index 1af56203a3e5..a5ede4e25efe 100644 --- a/app-admin/xkcdpass/Manifest +++ b/app-admin/xkcdpass/Manifest @@ -1 +1,2 @@ DIST xkcdpass-1.19.4.tar.gz 2572291 BLAKE2B f36299ab66bc02f95a7811ebdf40fa62f441a0ef1eac27af8d380fca9643eb9c2444c988392900e5add8a2a22f4ef33766bc5904fb350520b0b7572e95898ecd SHA512 2a83473f6e2426f34ee89297056ca7d3949044f7e818f6d6501fd7852ac1ba9f860f8287ad6d366f13f46f580b0f3f7e9a3dfa160b262b4d00b00ed1c9f5da59 +DIST xkcdpass-1.19.5.tar.gz 2572430 BLAKE2B e955780492d2771558bc1f0716913f4e84a408d98049b2f5f23d53a56e6d660bc1afb2539b3f422bdc98df05ae065c51f0303ddaf2e268994420a22580aba2a2 SHA512 8a560247cb860377ef723b26610a6f784a891b4c8dfb2c5b55187df70e326d6ff2f1d31128dfc4e7136cbc15108c470658d896056177900e0eb419d14458348f 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 +} |