From 60f71d66d6a3ec9e7a71de068fc1ebdd38597834 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 13 May 2022 12:51:57 +0200 Subject: dev-python/decorator: Use PEP517 build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/decorator/decorator-5.1.1-r1.ebuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 dev-python/decorator/decorator-5.1.1-r1.ebuild (limited to 'dev-python/decorator') diff --git a/dev-python/decorator/decorator-5.1.1-r1.ebuild b/dev-python/decorator/decorator-5.1.1-r1.ebuild new file mode 100644 index 000000000000..ad25035acded --- /dev/null +++ b/dev-python/decorator/decorator-5.1.1-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..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 ~loong ~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}" +} -- cgit v1.2.3-65-gdbad