summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-09-14 09:28:08 -0500
committerBen Kohler <bkohler@gentoo.org>2020-09-14 09:28:38 -0500
commit2f86e20b3ca5b1a84ff1616f454e266a633586cc (patch)
tree07a7f6e9f7f01a7d7e617ca4fc3b11a9c1c9f1dc /app-admin/xkcdpass
parentnet-misc/proxytunnel: remove unused patch(es) (diff)
downloadgentoo-2f86e20b3ca5b1a84ff1616f454e266a633586cc.tar.gz
gentoo-2f86e20b3ca5b1a84ff1616f454e266a633586cc.tar.bz2
gentoo-2f86e20b3ca5b1a84ff1616f454e266a633586cc.zip
app-admin/xkcdpass: new package
Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'app-admin/xkcdpass')
-rw-r--r--app-admin/xkcdpass/Manifest1
-rw-r--r--app-admin/xkcdpass/metadata.xml8
-rw-r--r--app-admin/xkcdpass/xkcdpass-1.17.3.ebuild37
3 files changed, 46 insertions, 0 deletions
diff --git a/app-admin/xkcdpass/Manifest b/app-admin/xkcdpass/Manifest
new file mode 100644
index 000000000000..1b627ac5e32b
--- /dev/null
+++ b/app-admin/xkcdpass/Manifest
@@ -0,0 +1 @@
+DIST xkcdpass-1.17.3.tar.gz 2072127 BLAKE2B 20339e7a0fd43f86eb83d89774613fa0009a13ca190be7d36edb8244b7d2e0b48041b3f8c7156c04e4d2dbae0c4475f5f1e577701e651146acab1284aa6c032d SHA512 5359b0b4e3076c2b385773862ff03e3700888d1ae967a26c5b19add3c9d2cde179ed5ad3309c5b53ab6cdbd40c8fedae1f6b9b0483dba83858671f9d816efc6c
diff --git a/app-admin/xkcdpass/metadata.xml b/app-admin/xkcdpass/metadata.xml
new file mode 100644
index 000000000000..c67d4dcaca5b
--- /dev/null
+++ b/app-admin/xkcdpass/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bkohler@gentoo.org</email>
+ <name>Ben Kohler</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-admin/xkcdpass/xkcdpass-1.17.3.ebuild b/app-admin/xkcdpass/xkcdpass-1.17.3.ebuild
new file mode 100644
index 000000000000..982abbe2a248
--- /dev/null
+++ b/app-admin/xkcdpass/xkcdpass-1.17.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+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"
+
+src_prepare() {
+ default
+
+ use l10n_de || rm ${PN}/static/ger-anlx
+ 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
+}