diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-02 09:27:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-02 10:51:18 +0200 |
commit | cffbdfd3f7d7c75eee1ebc38a4e546979d424c6f (patch) | |
tree | c71feef13ed591ff24ec72800543aecb76a94666 /dev-python | |
parent | dev-python/translate-toolkit: Bump to 3.3.4 (diff) | |
download | gentoo-cffbdfd3f7d7c75eee1ebc38a4e546979d424c6f.tar.gz gentoo-cffbdfd3f7d7c75eee1ebc38a4e546979d424c6f.tar.bz2 gentoo-cffbdfd3f7d7c75eee1ebc38a4e546979d424c6f.zip |
dev-python/decorator: Bump to 5.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/decorator/Manifest | 1 | ||||
-rw-r--r-- | dev-python/decorator/decorator-5.0.0.ebuild | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-python/decorator/Manifest b/dev-python/decorator/Manifest index 9d1118e5284a..d66aff680631 100644 --- a/dev-python/decorator/Manifest +++ b/dev-python/decorator/Manifest @@ -1 +1,2 @@ DIST decorator-4.4.2.tar.gz 33629 BLAKE2B 5b2c6a1b6aba293d4b93444d4613e3c9af16bd9d6d80ae9eb21112a4a16397ff67e1f648e8118beeb7d17755a2f1bd37b867f73129c42ef7f8654d1c1f609e5f SHA512 c068efd4e70764ac447b772c9c29625c2180dad256b2b4e46a50a8479fc1d7de09b114c2ba11bb37dd58774ed9460d2e0ea9fa76061833a2d3c2676ac91a0db1 +DIST decorator-5.0.0.tar.gz 33099 BLAKE2B c59a02c2a9c27342dcfdc96ecb89bb9d7f91add52a9e823963976d750b0197255e4c68f72b61f940f36fd09c504f7fa75a10c3cf0e17758fe707a79d332070ba SHA512 010e0ac6b8929b73afdfe57d41915cf56db3edcb2759ba6224bf589e5ff1780021ef9f65a628b530422665d3fc2f9b9b48e21db5e0f21053dbb5d0d20e8da194 diff --git a/dev-python/decorator/decorator-5.0.0.ebuild b/dev-python/decorator/decorator-5.0.0.ebuild new file mode 100644 index 000000000000..156fd8d9b20e --- /dev/null +++ b/dev-python/decorator/decorator-5.0.0.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..9} ) + +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}" +} |