mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
dev-python/enzyme: add Python 3.9
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user