Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/aspectlib/
Date: Sun, 29 Mar 2020 13:21:21
Message-Id: 1585482118.5233bd3233ec6cc3874c7d643d55e1b2d9183d0f.andrewammerlaan@gentoo
1 commit: 5233bd3233ec6cc3874c7d643d55e1b2d9183d0f
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Sun Mar 29 11:41:58 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sun Mar 29 11:41:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5233bd32
7
8 dev-python/aspectlib: tried and failed to get tests working
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 dev-python/aspectlib/aspectlib-1.4.2.ebuild | 8 ++++++++
14 1 file changed, 8 insertions(+)
15
16 diff --git a/dev-python/aspectlib/aspectlib-1.4.2.ebuild b/dev-python/aspectlib/aspectlib-1.4.2.ebuild
17 index 27cc072..f38deef 100644
18 --- a/dev-python/aspectlib/aspectlib-1.4.2.ebuild
19 +++ b/dev-python/aspectlib/aspectlib-1.4.2.ebuild
20 @@ -5,6 +5,8 @@ EAPI=7
21
22 PYTHON_COMPAT=( python3_6 )
23
24 +DISTUTILS_USE_SETUPTOOLS=rdepend
25 +
26 inherit distutils-r1
27
28 DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library"
29 @@ -18,6 +20,10 @@ LICENSE="BSD"
30 SLOT="0"
31 KEYWORDS="~amd64 ~x86"
32
33 +# could not get this working, it tries to do all sorts of weird things
34 +# it calls a tests outside the tests folder, which then fails, removing the file results in import error
35 +RESTRICT="test"
36 +
37 RDEPEND="
38 dev-python/fields[${PYTHON_USEDEP}]
39 "
40 @@ -33,5 +39,7 @@ DEPEND="
41 )
42 "
43
44 +S="${WORKDIR}/python-${P}"
45 +
46 distutils_enable_tests pytest
47 distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme