diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-12 21:03:09 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-12 21:03:09 +0000 |
| commit | d97953e6ff67978da9554e7b4601aedceb21e215 (patch) | |
| tree | 674053c902db6972b9716c9ac3b1e960ee7a5358 /dev-python/aspectlib | |
| parent | 1d1fa5bb30df70070bbbbd2b777b839d31f09c41 (diff) | |
| download | baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.gz baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.xz baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.zip | |
Adding metadata
Diffstat (limited to 'dev-python/aspectlib')
| -rw-r--r-- | dev-python/aspectlib/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/aspectlib/aspectlib-1.5.2.ebuild | 41 | ||||
| -rw-r--r-- | dev-python/aspectlib/metadata.xml | 16 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/aspectlib/Manifest b/dev-python/aspectlib/Manifest new file mode 100644 index 000000000000..c0a357938bf9 --- /dev/null +++ b/dev-python/aspectlib/Manifest @@ -0,0 +1 @@ +DIST aspectlib-1.5.2.tar.gz 155976 BLAKE2B a5f98c78e098226002a9cfb95cd69d2da057fe5a56cab5ae13c80666e1220c8a0fb9ae1b3f652e85d54ab9829429f9aad37162eac9cc74a4ffaab9ab1f609c1c SHA512 33642f828989d07c6af78bdf9adc9f2abbc419df89b878cfe7bd9c8df226a59401176b56b1f2b3ba48661ea5a145520de0bc7a0980226b742b0a79f31ab7dd7f diff --git a/dev-python/aspectlib/aspectlib-1.5.2.ebuild b/dev-python/aspectlib/aspectlib-1.5.2.ebuild new file mode 100644 index 000000000000..1e850c10d448 --- /dev/null +++ b/dev-python/aspectlib/aspectlib-1.5.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +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}.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}] + www-servers/tornado[${PYTHON_USEDEP}] +)" + +S="${WORKDIR}/python-${P}" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme + +python_test() { + local epytest_args=( + # fails because error message text is slightly different + --deselect tests/test_aspectlib_test.py::test_story_empty_play_proxy_class + --deselect tests/test_aspectlib_test.py::test_story_half_play_proxy_class + # Test fails with tornado>=6 + # https://github.com/ionelmc/python-aspectlib/issues/15 + --deselect tests/test_integrations_py3.py::test_decorate_tornado_coroutine + ) + epytest "${epytest_args[@]}" +} diff --git a/dev-python/aspectlib/metadata.xml b/dev-python/aspectlib/metadata.xml new file mode 100644 index 000000000000..3a4e403f66d7 --- /dev/null +++ b/dev-python/aspectlib/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>lssndrbarbieri@gmail.com</email> + <name>Alessandro Barbieri</name> + </maintainer> + <longdescription lang="en"> +An aspect-oriented programming, monkey-patch and decorators library. It is useful when changing behavior in existing code is desired. It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework. + </longdescription> + <upstream> + <remote-id type="github">ionelmc/python-aspectlib</remote-id> + <remote-id type="pypi">aspectlib</remote-id> + </upstream> +</pkgmetadata> |
