summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Muskee <wimmuskee@gmail.com>2020-10-10 06:48:23 +0200
committerMichał Górny <mgorny@gentoo.org>2020-10-10 08:16:12 +0200
commit4d04c4c8e797168e78cdfd7f19946b8ff7d11701 (patch)
tree088f54f586c5c03f388c35f583fac00c340bfe6c
parentlicenses: Remove obsolete licenses (diff)
downloadgentoo-4d04c4c8e797168e78cdfd7f19946b8ff7d11701.tar.gz
gentoo-4d04c4c8e797168e78cdfd7f19946b8ff7d11701.tar.bz2
gentoo-4d04c4c8e797168e78cdfd7f19946b8ff7d11701.zip
dev-python/progress: bump to 1.5, eapi7, add py3_9, unrestrict test
Closes: https://bugs.gentoo.org/691792 Signed-off-by: Wim Muskee <wimmuskee@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17870 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/progress/Manifest1
-rw-r--r--dev-python/progress/progress-1.5.ebuild20
2 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/progress/Manifest b/dev-python/progress/Manifest
index 853fda79634..63bae424c88 100644
--- a/dev-python/progress/Manifest
+++ b/dev-python/progress/Manifest
@@ -1 +1,2 @@
DIST progress-1.3.tar.gz 5300 BLAKE2B db7683550ac19e2e11832c8be19971fe07fd58d6077e5fbf585178e1353aca1bf873affdcb528182e7856cdb2f9c342c7caed74e7914fbebde2d803479258ac8 SHA512 e94ac3b86ab5391a348130fe97a1bed9c42ed3625b4436b84080f677351a2d64b56e9ebafc65ac6c598ffed825413d30bb0d57210a7835c5e5fec82278b37076
+DIST progress-1.5.tar.gz 5842 BLAKE2B 235f02edf0f010b4460d36b868be2df0cf4685f360de491f1649f14defffd3f1789c6c036c05b91007efac49cacbed3de5cb38fda3e21d0fd633279b2066c4f9 SHA512 a9bee3498746233f874da2d6509d052882d9592df69c223637279a1fae40174a4dc279b56a7558e95ed173b0d357ae07752501c577a3cb9c79e0f87095838896
diff --git a/dev-python/progress/progress-1.5.ebuild b/dev-python/progress/progress-1.5.ebuild
new file mode 100644
index 00000000000..d9ef31eeef8
--- /dev/null
+++ b/dev-python/progress/progress-1.5.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} 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}"
+}