summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-11-20 10:29:32 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-11-20 10:29:51 -0800
commit709502bf728f79c43379f3525d79aec6359bb267 (patch)
tree49be262ad11de09814ce1cdc089a25dc2c5c5310 /dev-python/scrypt
parentmedia-video/handbrake: Dont search for python (diff)
downloadgentoo-709502bf728f79c43379f3525d79aec6359bb267.tar.gz
gentoo-709502bf728f79c43379f3525d79aec6359bb267.tar.bz2
gentoo-709502bf728f79c43379f3525d79aec6359bb267.zip
dev-python/scrypt: Restore 0.8.13, revbump for new ebuild
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 RepoMan-Options: --force Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/scrypt')
-rw-r--r--dev-python/scrypt/scrypt-0.8.13-r1.ebuild25
-rw-r--r--dev-python/scrypt/scrypt-0.8.13.ebuild14
2 files changed, 33 insertions, 6 deletions
diff --git a/dev-python/scrypt/scrypt-0.8.13-r1.ebuild b/dev-python/scrypt/scrypt-0.8.13-r1.ebuild
new file mode 100644
index 000000000000..b1de37480d91
--- /dev/null
+++ b/dev-python/scrypt/scrypt-0.8.13-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Bindings for the scrypt key derivation function library"
+HOMEPAGE="https://bitbucket.org/mhallin/py-scrypt/wiki/Home/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+KEYWORDS="amd64 ~arm ~arm64 x86"
+SLOT="0"
+IUSE="test doc"
+
+RDEPEND="dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ esetup.py test
+}
diff --git a/dev-python/scrypt/scrypt-0.8.13.ebuild b/dev-python/scrypt/scrypt-0.8.13.ebuild
index 18e40a004383..b1de37480d91 100644
--- a/dev-python/scrypt/scrypt-0.8.13.ebuild
+++ b/dev-python/scrypt/scrypt-0.8.13.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=6
-PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy )
inherit distutils-r1
@@ -12,12 +12,14 @@ HOMEPAGE="https://bitbucket.org/mhallin/py-scrypt/wiki/Home/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
SLOT="0"
IUSE="test doc"
RDEPEND="dev-libs/openssl:0="
-DEPEND="${RDEPEND}"
-BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
-distutils_enable_tests unittest
+python_test() {
+ esetup.py test
+}