Skip to content

Commit

Permalink
dev-python/ttystatus: Version bump to 0.36
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mattst88 committed Jul 12, 2019
1 parent e34db01 commit 7cf28b9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/ttystatus/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST ttystatus-0.35.tar.gz 34144 BLAKE2B 92a11676525f2db5b3bc09786ddb3651f72202eaf9edf872faa5b5cbe7c01a64bb904fa92538ddfd15e7a077b4648bb02c0ac5a60fdbee105ef2789686d6c405 SHA512 5c2b1306bb1025dbbc78b53faca3ed07b21fec6a7084517f6b58c3e195fc8a901ed71b62429af2261850e819b52a08e3b3bf3def61b06c9a9451af02f4f2dddf
DIST ttystatus-0.36.tar.gz 30766 BLAKE2B 4fbb298a86472305a01ed7a8a41cbbea3f0e1677c8f5b349e71631d3474a59cbd65d114f55ad64339804ecb97bfc3e745cd93d09bc110c2c32f53404f898ecd8 SHA512 0005d18834eca702e4c96ab85216e3bb06fadf58555641405b2657b9f296b750d1084947d1a39c4e2c0bf0711ff859df06f1e859d6e82af41d2945e980529dcc
22 changes: 22 additions & 0 deletions dev-python/ttystatus/ttystatus-0.36.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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
}

0 comments on commit 7cf28b9

Please sign in to comment.