app-admin/xkcdpass: add 1.30.0

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler
2026-01-21 10:44:36 -06:00
parent 23fcf58073
commit 018b7134bb
2 changed files with 41 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST xkcdpass-1.20.0.tar.gz 2722027 BLAKE2B ffdad5bd389dfb323d39ef209472fcbac432536bab0658f668f1a24d241d5b12998eebd35069ee7188fc485b21af156fe273cdf974fcd93cef7296639acd5c2e SHA512 4e21e9c2924ae65e21d79c6389ff574715acaa7a13c5d065b38e97ed1d2b6581a51a5e7b7acbbaa09e4ba241c4df15d05d95b9bcc990d3bb6f3b0b4b581d7b85
DIST xkcdpass-1.30.0.tar.gz 2763380 BLAKE2B 33db12d04a695cdb02f08287a48cc61bf0350360e71111dbcade806d37ceff2899bcb70e614c5dc2ec02c1dc79b5c886aa1aa826f0e3ed1ca5e05f08a9a72168 SHA512 f0da4219b34d66c50bc8c5a8d73d4d065fccf5d46df9fc264df360792eb93ef3302e32a09b724392bed4ec269a16b7a0f2691242c705c8108e1f773e5709744d

View File

@@ -0,0 +1,40 @@
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..13} )
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 )"
src_prepare() {
default
use l10n_de || rm ${PN}/static/{ger-anlx,ger-long,ger-short,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
}