gentoo/dev-python/rope/rope-1.7.0.ebuild
Michał Górny a11c78b2ac
dev-python/rope: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-03-16 05:04:32 +01:00

40 lines
894 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="Python refactoring library"
HOMEPAGE="
https://pypi.org/project/rope/
https://github.com/python-rope/rope/
"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
IUSE="doc"
RDEPEND="
>=dev-python/pytoolconfig-1.2.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/build[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# our venv style confuses this comparison
ropetest/contrib/autoimport/utilstest.py::test_get_package_source_typing
ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_typing
ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_compiled
)