From dba61580872fb97d8c3ffb4257065599366cf870 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 1 Jun 2023 04:05:13 +0300 Subject: [PATCH] dev-python/aspectlib: add 2.0.0 Signed-off-by: Alfred Wingate --- dev-python/aspectlib/Manifest | 1 + dev-python/aspectlib/aspectlib-2.0.0.ebuild | 31 +++++++++++++++++++++ dev-python/aspectlib/metadata.xml | 1 + 3 files changed, 33 insertions(+) create mode 100644 dev-python/aspectlib/aspectlib-2.0.0.ebuild diff --git a/dev-python/aspectlib/Manifest b/dev-python/aspectlib/Manifest index df45009..035a8a6 100644 --- a/dev-python/aspectlib/Manifest +++ b/dev-python/aspectlib/Manifest @@ -1 +1,2 @@ DIST aspectlib-1.5.2.tar.gz 163704 BLAKE2B a4bc51fc75ec1d3dd659e1de78b80c16145f927ee1af5cb41ab9a049051683da708ce63efaa4ad767066ed4cc463108f8be74ebc4145b868d8a5ed07b2a73652 SHA512 999f7e893aee15d5bd89ae9aa45b82b639aae777ec5e946f7f0ee5aa7c2153d6a05ae0f1e95b7f5cdb4f4d12f188093479d9c50df6c7521003e83289cabb494b +DIST aspectlib-2.0.0.tar.gz 156591 BLAKE2B b3800164e25e4414fe502fc62efcce163070d743cd1f4ebc6f95a51123895cf0ce72f1df5088a580a345f48b2dd03cf30340b4a7b27c0cf6ecab614e6e79da38 SHA512 3611d3f887febae8a60df6ad5567437adaa2105e6622a7d9b543c02f593c9dee43002cd91b89f5d005fc70a8b197b5c568eefa3a0fdb6fc05665f4a1c5107316 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 0000000..5d42fd2 --- /dev/null +++ b/dev-python/aspectlib/aspectlib-2.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 pypi + +DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library." +HOMEPAGE="https://github.com/ionelmc/python-aspectlib" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/fields[${PYTHON_USEDEP}]" +DEPEND=" + doc? ( + dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + dev-python/process-tests[${PYTHON_USEDEP}] + dev-python/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs diff --git a/dev-python/aspectlib/metadata.xml b/dev-python/aspectlib/metadata.xml index ab96243..6cccea6 100644 --- a/dev-python/aspectlib/metadata.xml +++ b/dev-python/aspectlib/metadata.xml @@ -7,5 +7,6 @@ ionelmc/python-aspectlib + aspectlib