1 |
commit: 6023ff4ed343e72b828335932fc59f3aa95f60dc |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 7 11:22:50 2021 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 7 18:05:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6023ff4e |
7 |
|
8 |
app-admin/xkcdpass: bump to 1.19.3 |
9 |
|
10 |
Package-Manager: Portage-3.0.22, Repoman-3.0.3 |
11 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
12 |
|
13 |
app-admin/xkcdpass/Manifest | 1 + |
14 |
app-admin/xkcdpass/xkcdpass-1.19.3.ebuild | 41 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/xkcdpass/Manifest b/app-admin/xkcdpass/Manifest |
18 |
index 74da9d4ec77..845ca7742a9 100644 |
19 |
--- a/app-admin/xkcdpass/Manifest |
20 |
+++ b/app-admin/xkcdpass/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST xkcdpass-1.19.2.tar.gz 2073808 BLAKE2B 19ad3f505ab672b1a2554e534896b15c77eb9741e7da01e22efff44d069ff6a482c122ec7fa616bc3789d2ce4bd5f6050c06bcff9661476d15fbc78edc505c36 SHA512 20376fc22fb4d251e2b921d4db48fea2109a4c42832614d41e807b262130111c58e01d1ded2019fad230a458953a2f185d92cfe95f3950aaa0a97750b3b3a2b6 |
23 |
+DIST xkcdpass-1.19.3.tar.gz 2570967 BLAKE2B bd3576b707db2652e6979ea25476fcda51df7bc84a5182668ff1cf2878a57c89ab56a7272fe2030c38533bf4f75855facd7fd8aefa6e5c6335a00c8ef80b228f SHA512 5336e57edd7fbeb655573910b0c0868381a8b43d5ccbb8d388cc24ef16ba094c27517a4fe7b11dbfc7ff906b65a303f90b20cdf9bc551b844453640378b5e555 |
24 |
|
25 |
diff --git a/app-admin/xkcdpass/xkcdpass-1.19.3.ebuild b/app-admin/xkcdpass/xkcdpass-1.19.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..36251d30ec4 |
28 |
--- /dev/null |
29 |
+++ b/app-admin/xkcdpass/xkcdpass-1.19.3.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 2020-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{7,8,9,10} ) |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Password generator inspired by XKCD 936" |
41 |
+HOMEPAGE="https://github.com/redacted/XKCD-password-generator" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD CC-BY-3.0 |
45 |
+ l10n_de? ( GPL-3 ) |
46 |
+ l10n_it? ( CC-BY-SA-3.0 ) |
47 |
+ l10n_no? ( CC-BY-4.0 )" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="l10n_de +l10n_en l10n_es l10n_fi l10n_fr l10n_it l10n_no l10n_pt" |
51 |
+ |
52 |
+distutils_enable_tests pytest |
53 |
+REQUIRED_USE="test? ( l10n_en )" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ |
58 |
+ use l10n_de || rm ${PN}/static/{ger-anlx,eff_large_de_sample.wordlist} |
59 |
+ use l10n_en || rm ${PN}/static/{eff-short,eff-special,legacy} |
60 |
+ use l10n_es || rm ${PN}/static/spa-mich |
61 |
+ use l10n_fi || rm ${PN}/static/fin-kotus |
62 |
+ use l10n_fr || rm ${PN}/static/fr-* |
63 |
+ use l10n_it || rm ${PN}/static/ita-wiki |
64 |
+ use l10n_no || rm ${PN}/static/nor-nb |
65 |
+ use l10n_pt || rm ${PN}/static/pt-* |
66 |
+} |
67 |
+ |
68 |
+python_install_all() { |
69 |
+ distutils-r1_python_install_all |
70 |
+ doman ${PN}.1 |
71 |
+} |