diff --git a/dev-python/aspectlib/Manifest b/dev-python/aspectlib/Manifest new file mode 100644 index 0000000000..849dd79b3f --- /dev/null +++ b/dev-python/aspectlib/Manifest @@ -0,0 +1 @@ +DIST aspectlib-1.4.2.tar.gz 154888 BLAKE2B 0194c2f911126caf5949cf6f0acb5a14c260a7824e456a3e3ba9b150331818dc832469798e89dd3cb3fba549b17098115354aabbc66931365475e53598c0bc96 SHA512 fadb90b625ce2faac8f6d29ee28efaee09b4338c3c516c79d9e8753b7fb2ff45e0033174c5c5302f47f1f9e332824f37d56667fb05e66f85b808e8aa3a086f57 diff --git a/dev-python/aspectlib/aspectlib-1.4.2.ebuild b/dev-python/aspectlib/aspectlib-1.4.2.ebuild new file mode 100644 index 0000000000..27cc072a19 --- /dev/null +++ b/dev-python/aspectlib/aspectlib-1.4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 ) + +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 ~x86" + +RDEPEND=" + dev-python/fields[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/process-tests[${PYTHON_USEDEP}] + dev-python/pytest-travis-fold[${PYTHON_USEDEP}] + dev-python/pytest-catchlog[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme diff --git a/dev-python/aspectlib/metadata.xml b/dev-python/aspectlib/metadata.xml new file mode 100644 index 0000000000..c1f3f9c017 --- /dev/null +++ b/dev-python/aspectlib/metadata.xml @@ -0,0 +1,16 @@ + + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +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. + + + ionelmc/python-aspectlib + aspectlib + +