dev-python/ament_package: enable py3.10, use d_e_t

passes tests

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2021-09-16 14:07:03 +03:00
parent 826a4e6777
commit 3f9aba5479

View File

@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{3_7,3_8,3_9} )
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
@@ -13,19 +14,7 @@ SRC_URI="https://github.com/ament/ament_package/archive/${PV}.tar.gz -> ${P}.tar
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${DEPEND}
test? (
dev-python/flake8[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)
"
BDEPEND="test? ( dev-python/flake8[${PYTHON_USEDEP}] )"
python_test() {
py.test || die
}
distutils_enable_tests pytest