Gentoo Archives: gentoo-commits

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/aspectlib/
Date: Thu, 03 Nov 2022 07:37:31
Message-Id: 1667461031.f864c5051ca065045e68317465e4c7b1d0563db6.cybertailor@gentoo
1 commit: f864c5051ca065045e68317465e4c7b1d0563db6
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Thu Nov 3 06:15:25 2022 +0000
4 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
5 CommitDate: Thu Nov 3 07:37:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f864c505
7
8 dev-python/aspectlib: add 2.0.0
9
10 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 dev-python/aspectlib/Manifest | 1 +
13 dev-python/aspectlib/aspectlib-2.0.0.ebuild | 38 +++++++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/aspectlib/Manifest b/dev-python/aspectlib/Manifest
17 index b2f724d61..664b7cc5f 100644
18 --- a/dev-python/aspectlib/Manifest
19 +++ b/dev-python/aspectlib/Manifest
20 @@ -1 +1,2 @@
21 DIST aspectlib-1.5.2.gh.tar.gz 155976 BLAKE2B a5f98c78e098226002a9cfb95cd69d2da057fe5a56cab5ae13c80666e1220c8a0fb9ae1b3f652e85d54ab9829429f9aad37162eac9cc74a4ffaab9ab1f609c1c SHA512 33642f828989d07c6af78bdf9adc9f2abbc419df89b878cfe7bd9c8df226a59401176b56b1f2b3ba48661ea5a145520de0bc7a0980226b742b0a79f31ab7dd7f
22 +DIST aspectlib-2.0.0.gh.tar.gz 149206 BLAKE2B 79a9cdd6090181e28bb9f46b5dc71b5a49c6fe356f0d4687886df2b6d83867a8a8bd51e43506da09b78e3ae637a1f1257888656fd2ecb0f583986424f89d3d14 SHA512 455ae7bb7808158abc79814632cd108397bfffc4d6c5e0f8a041ca03ed0f0fc2022d0929ad3a29e9015d8b3e3b02afa071c9b28fc62845eac4f6ef8c3fa2d9b2
23
24 diff --git a/dev-python/aspectlib/aspectlib-2.0.0.ebuild b/dev-python/aspectlib/aspectlib-2.0.0.ebuild
25 new file mode 100644
26 index 000000000..ae96ac2a0
27 --- /dev/null
28 +++ b/dev-python/aspectlib/aspectlib-2.0.0.ebuild
29 @@ -0,0 +1,38 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..11} )
36 +DISTUTILS_USE_PEP517=setuptools
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library"
40 +HOMEPAGE="
41 + https://github.com/ionelmc/python-aspectlib
42 + https://pypi.org/project/python-aspectlib/
43 +"
44 +SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
49 +
50 +RDEPEND="dev-python/fields[${PYTHON_USEDEP}]"
51 +BDEPEND="test? (
52 + dev-python/process-tests[${PYTHON_USEDEP}]
53 + dev-python/tornado[${PYTHON_USEDEP}]
54 +)"
55 +
56 +S="${WORKDIR}/python-${P}"
57 +
58 +distutils_enable_tests pytest
59 +
60 +distutils_enable_sphinx docs \
61 + dev-python/sphinx-py3doc-enhanced-theme
62 +
63 +EEPYTEST_DESELECT=(
64 + # fails because error message text is slightly different
65 + tests/test_aspectlib_test.py::test_story_empty_play_proxy_class
66 + tests/test_aspectlib_test.py::test_story_half_play_proxy_class
67 +)