mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
dev-python/warlock: Enable py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -13,21 +13,12 @@ SRC_URI="https://github.com/bcwaldon/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.g
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonpatch-0.10[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonpatch-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-4[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonpatch-0.10[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonpatch-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-4[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonpatch-0.10[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonpatch-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-4[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" tests/test_core.py || die
|
||||
}
|
||||
distutils_enable_tests unittest
|
||||
|
||||
Reference in New Issue
Block a user