diff options
Diffstat (limited to 'dev-python/enzyme')
-rw-r--r-- | dev-python/enzyme/enzyme-0.4.1-r2.ebuild | 13 | ||||
-rw-r--r-- | dev-python/enzyme/enzyme-9999.ebuild | 14 |
2 files changed, 10 insertions, 17 deletions
diff --git a/dev-python/enzyme/enzyme-0.4.1-r2.ebuild b/dev-python/enzyme/enzyme-0.4.1-r2.ebuild index c4c197a51f0b..21430148dd1c 100644 --- a/dev-python/enzyme/enzyme-0.4.1-r2.ebuild +++ b/dev-python/enzyme/enzyme-0.4.1-r2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) PYTHON_REQ_USE='xml(+)' inherit distutils-r1 @@ -21,8 +21,7 @@ KEYWORDS="amd64 x86" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} +BDEPEND=" test? ( app-arch/unzip dev-python/pyyaml[${PYTHON_USEDEP}] @@ -30,6 +29,8 @@ DEPEND="${RDEPEND} ) " +distutils_enable_tests setup.py + python_prepare_all() { if use test; then mkdir enzyme/tests/test_{mkv,parsers} || die @@ -39,7 +40,3 @@ python_prepare_all() { distutils-r1_python_prepare_all } - -python_test() { - esetup.py test -} diff --git a/dev-python/enzyme/enzyme-9999.ebuild b/dev-python/enzyme/enzyme-9999.ebuild index 303680658ee3..40184beaebb1 100644 --- a/dev-python/enzyme/enzyme-9999.ebuild +++ b/dev-python/enzyme/enzyme-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) PYTHON_REQ_USE='xml(+)' inherit distutils-r1 git-r3 @@ -15,12 +15,10 @@ SRC_URI="test? ( mirror://sourceforge/matroska/test_files/matroska_test_w1_1.zip LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} +BDEPEND=" test? ( app-arch/unzip dev-python/pyyaml[${PYTHON_USEDEP}] @@ -28,6 +26,8 @@ DEPEND="${RDEPEND} ) " +distutils_enable_tests setup.py + src_unpack() { default_src_unpack git-r3_src_unpack @@ -42,7 +42,3 @@ python_prepare_all() { distutils-r1_python_prepare_all } - -python_test() { - esetup.py test -} |