commit:     5233bd3233ec6cc3874c7d643d55e1b2d9183d0f
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 29 11:41:58 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 29 11:41:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5233bd32

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 <AT> riseup.net>

 dev-python/aspectlib/aspectlib-1.4.2.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev-python/aspectlib/aspectlib-1.4.2.ebuild 
b/dev-python/aspectlib/aspectlib-1.4.2.ebuild
index 27cc072..f38deef 100644
--- a/dev-python/aspectlib/aspectlib-1.4.2.ebuild
+++ b/dev-python/aspectlib/aspectlib-1.4.2.ebuild
@@ -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

Reply via email to