diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-08 19:46:33 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-08 19:52:51 +0200 |
commit | 746d21da3298642ad029499afb4d4dd9ee0ecf24 (patch) | |
tree | 22a779fc950a88d4a477053df0a7e0ddc09db508 /dev-python/pynacl | |
parent | dev-python/authres: Port to py3.9 (diff) | |
download | gentoo-746d21da3298642ad029499afb4d4dd9ee0ecf24.tar.gz gentoo-746d21da3298642ad029499afb4d4dd9ee0ecf24.tar.bz2 gentoo-746d21da3298642ad029499afb4d4dd9ee0ecf24.zip |
dev-python/pynacl: Port to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pynacl')
-rw-r--r-- | dev-python/pynacl/pynacl-1.3.0.ebuild | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/dev-python/pynacl/pynacl-1.3.0.ebuild b/dev-python/pynacl/pynacl-1.3.0.ebuild index 97a32891a3b1..dfc8f7da7cdf 100644 --- a/dev-python/pynacl/pynacl-1.3.0.ebuild +++ b/dev-python/pynacl/pynacl-1.3.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8}) +PYTHON_COMPAT=( python2_7 python3_{6..9}) inherit distutils-r1 @@ -14,8 +14,6 @@ SRC_URI="https://github.com/pyca/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] @@ -24,10 +22,11 @@ RDEPEND=" " DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] - test? ( >=dev-python/hypothesis-3.27.0[${PYTHON_USEDEP}] - >=dev-python/pytest-3.2.1[${PYTHON_USEDEP}] ) + test? ( >=dev-python/hypothesis-3.27.0[${PYTHON_USEDEP}] ) " +distutils_enable_tests pytest + PATCHES=( "${FILESDIR}/${P}-hypothesis-4.patch" ) src_prepare() { @@ -35,7 +34,3 @@ src_prepare() { export SODIUM_INSTALL=system distutils-r1_python_prepare_all } - -python_test() { - py.test -v || die "Tests failed under ${EPYTHON}" -} |