commit: b0bb654726d30a20c409f32c422e131225444a03
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 5 16:06:23 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 5 16:10:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0bb6547
dev-python/progress: Use PEP517
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/progress/progress-1.6-r1.ebuild | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/dev-python/progress/progress-1.6-r1.ebuild
b/dev-python/progress/progress-1.6-r1.ebuild
new file mode 100644
index 000000000000..05156da2a429
--- /dev/null
+++ b/dev-python/progress/progress-1.6-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Easy to use progress bars"
+HOMEPAGE="https://pypi.org/project/progress/
+ https://github.com/verigak/progress/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="ISC"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390
~sparc ~x86 ~amd64-linux ~x86-linux"
+
+python_test() {
+ "${EPYTHON}" test_progress.py || die "Tests fail with ${EPYTHON}"
+}