commit:     363fac53ce835690f2227997f74046df360bfc56
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jan 17 11:41:19 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Jan 17 13:45:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=363fac53

dev-python/aspectlib: enable py3.12

Closes: https://bugs.gentoo.org/897398
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/aspectlib/Manifest                  |  1 +
 dev-python/aspectlib/aspectlib-2.0.0-r1.ebuild | 37 ++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/aspectlib/Manifest b/dev-python/aspectlib/Manifest
index 72263fdfd6..7406c0e719 100644
--- a/dev-python/aspectlib/Manifest
+++ b/dev-python/aspectlib/Manifest
@@ -1 +1,2 @@
 DIST aspectlib-2.0.0.gh.tar.gz 149206 BLAKE2B 
79a9cdd6090181e28bb9f46b5dc71b5a49c6fe356f0d4687886df2b6d83867a8a8bd51e43506da09b78e3ae637a1f1257888656fd2ecb0f583986424f89d3d14
 SHA512 
455ae7bb7808158abc79814632cd108397bfffc4d6c5e0f8a041ca03ed0f0fc2022d0929ad3a29e9015d8b3e3b02afa071c9b28fc62845eac4f6ef8c3fa2d9b2
+DIST aspectlib-2.0.0.tar.gz 156591 BLAKE2B 
b3800164e25e4414fe502fc62efcce163070d743cd1f4ebc6f95a51123895cf0ce72f1df5088a580a345f48b2dd03cf30340b4a7b27c0cf6ecab614e6e79da38
 SHA512 
3611d3f887febae8a60df6ad5567437adaa2105e6622a7d9b543c02f593c9dee43002cd91b89f5d005fc70a8b197b5c568eefa3a0fdb6fc05665f4a1c5107316

diff --git a/dev-python/aspectlib/aspectlib-2.0.0-r1.ebuild 
b/dev-python/aspectlib/aspectlib-2.0.0-r1.ebuild
new file mode 100644
index 0000000000..f63949dbf5
--- /dev/null
+++ b/dev-python/aspectlib/aspectlib-2.0.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Aspect-oriented programming, monkey-patch and decorators library"
+HOMEPAGE="
+       https://github.com/ionelmc/python-aspectlib
+       https://pypi.org/project/aspectlib/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="dev-python/fields[${PYTHON_USEDEP}]"
+BDEPEND="
+       test? (
+               dev-python/process-tests[${PYTHON_USEDEP}]
+               dev-python/tornado[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+       dev-python/sphinx-py3doc-enhanced-theme
+
+EEPYTEST_DESELECT=(
+       # fails because error message text is slightly different
+       tests/test_aspectlib_test.py::test_story_empty_play_proxy_class
+       tests/test_aspectlib_test.py::test_story_half_play_proxy_class
+)

Reply via email to