summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-06-05 19:06:23 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-06-05 19:10:15 +0300
commitb0bb654726d30a20c409f32c422e131225444a03 (patch)
tree6dbe036ce25c8a24774895084a9e461e78c6dd09 /dev-python/progress
parentdev-python/pyaes: enable py3.11 (diff)
downloadgentoo-b0bb654726d30a20c409f32c422e131225444a03.tar.gz
gentoo-b0bb654726d30a20c409f32c422e131225444a03.tar.bz2
gentoo-b0bb654726d30a20c409f32c422e131225444a03.zip
dev-python/progress: Use PEP517
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/progress')
-rw-r--r--dev-python/progress/progress-1.6-r1.ebuild21
1 files changed, 21 insertions, 0 deletions
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}"
+}