commit:     bfea9932841e691719256c2ec62260606d465992
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  5 16:14:31 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jun  5 16:53:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfea9932

dev-python/pbkdf2: EAPI=8, Use PEP517

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/pbkdf2/pbkdf2-1.3-r2.ebuild | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/dev-python/pbkdf2/pbkdf2-1.3-r2.ebuild 
b/dev-python/pbkdf2/pbkdf2-1.3-r2.ebuild
new file mode 100644
index 000000000000..a76b4f47da35
--- /dev/null
+++ b/dev-python/pbkdf2/pbkdf2-1.3-r2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Implementation of PBKDF2, specified in RSA PKCS#5 v2.0"
+HOMEPAGE="https://www.dlitz.net/software/python-pbkdf2/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+
+python_test() {
+       "${EPYTHON}" test/test_pbkdf2.py -v || die "Tests failed with 
${EPYTHON}"
+}

Reply via email to