summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-16 09:48:36 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-16 17:09:31 +0200
commitc095db9562b5b9156bf63bde9dde9a361316a5cf (patch)
treec2b83f753a9f688a7e3d52cbcc8d5bd5b6c68f88 /dev-python/decorator/decorator-5.0.9.ebuild
parentsys-cluster/charliecloud: backport >=dev-python/sphinx-4 fix (diff)
downloadgentoo-c095db9562b5b9156bf63bde9dde9a361316a5cf.tar.gz
gentoo-c095db9562b5b9156bf63bde9dde9a361316a5cf.tar.bz2
gentoo-c095db9562b5b9156bf63bde9dde9a361316a5cf.zip
dev-python/decorator: Bump to 5.0.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/decorator/decorator-5.0.9.ebuild')
-rw-r--r--dev-python/decorator/decorator-5.0.9.ebuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/decorator/decorator-5.0.9.ebuild b/dev-python/decorator/decorator-5.0.9.ebuild
new file mode 100644
index 00000000000..8047ed24268
--- /dev/null
+++ b/dev-python/decorator/decorator-5.0.9.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( pypy3 python3_{7..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Simplifies the usage of decorators for the average programmer"
+HOMEPAGE="https://github.com/micheles/decorator https://pypi.org/project/decorator/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+DOCS=( CHANGES.md )
+
+python_test() {
+ "${EPYTHON}" src/tests/test.py -v || die "Tests failed with ${EPYTHON}"
+}