mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-03-04 09:07:27 -08:00
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>
23 lines
574 B
Bash
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
|
|
}
|