gentoo/dev-python/ttystatus/ttystatus-0.36.ebuild
Matt Turner 7cf28b9f1d
dev-python/ttystatus: Version bump to 0.36
A bunch of things too:
	- Port to EAPI=7
	- Add Python 3 compatibility
	- Fix incorrect license
	- HTTPS homepage
	- Depend on dev-lang/python with USE[ncurses]

Closes: https://bugs.gentoo.org/605934
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2019-07-11 22:40:19 -07:00

23 lines
574 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
PYTHON_REQ_USE="ncurses"
inherit distutils-r1
DESCRIPTION="Terminal progress bar and status output for command line"
HOMEPAGE="https://liw.fi/ttystatus/"
SRC_URI="http://git.liw.fi/${PN}/snapshot/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
IUSE=""
python_test() {
"${EPYTHON}" -m unittest discover -v -p '*_tests.py' || die
}