From 7cf28b9f1d6911b9c3f9a7052555dd356f78dd1e Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 11 Jul 2019 16:25:10 -0700 Subject: [PATCH] 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 --- dev-python/ttystatus/Manifest | 1 + dev-python/ttystatus/ttystatus-0.36.ebuild | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 dev-python/ttystatus/ttystatus-0.36.ebuild diff --git a/dev-python/ttystatus/Manifest b/dev-python/ttystatus/Manifest index 5bab23ebb46f..9fa0a0743f87 100644 --- a/dev-python/ttystatus/Manifest +++ b/dev-python/ttystatus/Manifest @@ -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 diff --git a/dev-python/ttystatus/ttystatus-0.36.ebuild b/dev-python/ttystatus/ttystatus-0.36.ebuild new file mode 100644 index 000000000000..6251a3e1cb9b --- /dev/null +++ b/dev-python/ttystatus/ttystatus-0.36.ebuild @@ -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 +} -- 2.26.2