dev-python/aspectlib: tried and failed to get tests working

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-03-29 13:41:58 +02:00
parent 57306e916b
commit 5233bd3233

View File

@@ -5,6 +5,8 @@ EAPI=7
PYTHON_COMPAT=( python3_6 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library"
@@ -18,6 +20,10 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# could not get this working, it tries to do all sorts of weird things
# it calls a tests outside the tests folder, which then fails, removing the file results in import error
RESTRICT="test"
RDEPEND="
dev-python/fields[${PYTHON_USEDEP}]
"
@@ -33,5 +39,7 @@ DEPEND="
)
"
S="${WORKDIR}/python-${P}"
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme