gentoo/dev-python/progress/progress-1.5.ebuild
Wim Muskee 4d04c4c8e7
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>
2020-10-10 08:16:12 +02:00

21 lines
575 B
Bash

# 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}"
}