summaryrefslogtreecommitdiff
path: root/dev-python/aspectlib/aspectlib-2.0.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-11-05 00:56:26 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-11-05 00:56:26 +0000
commitd61df70579ebb5592535281a56a1ae4d9b4faee8 (patch)
tree946b15d385fdbbb1bfbdc7ea1ab341eeedc678d0 /dev-python/aspectlib/aspectlib-2.0.0.ebuild
parent1c0d9b41643fe533de1c74d382afc5e5511da8f2 (diff)
downloadbaldeagleos-repo-d61df70579ebb5592535281a56a1ae4d9b4faee8.tar.gz
baldeagleos-repo-d61df70579ebb5592535281a56a1ae4d9b4faee8.tar.xz
baldeagleos-repo-d61df70579ebb5592535281a56a1ae4d9b4faee8.zip
Adding metadata
Diffstat (limited to 'dev-python/aspectlib/aspectlib-2.0.0.ebuild')
-rw-r--r--dev-python/aspectlib/aspectlib-2.0.0.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/aspectlib/aspectlib-2.0.0.ebuild b/dev-python/aspectlib/aspectlib-2.0.0.ebuild
new file mode 100644
index 000000000000..27c6d17b3864
--- /dev/null
+++ b/dev-python/aspectlib/aspectlib-2.0.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10,11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library"
+HOMEPAGE="
+ https://github.com/ionelmc/python-aspectlib
+ https://pypi.org/project/python-aspectlib/
+"
+SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+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}]
+)"
+
+S="${WORKDIR}/python-${P}"
+
+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
+)