summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2019-07-11 16:23:59 -0700
committerMatt Turner <mattst88@gentoo.org>2019-07-11 22:40:19 -0700
commite34db01b1832277c02ce59b71548b00080f7be89 (patch)
tree5c69b826170d3f37eba3d5bb1aa3aa21f8d58b45 /dev-python/cliapp/cliapp-1.20180812.1.ebuild
parentdev-python/coverage-test-runner: Rename and version bump to 1.15 (diff)
downloadgentoo-e34db01b1832277c02ce59b71548b00080f7be89.tar.gz
gentoo-e34db01b1832277c02ce59b71548b00080f7be89.tar.bz2
gentoo-e34db01b1832277c02ce59b71548b00080f7be89.zip
dev-python/cliapp: Version bump to 1.20180812.1
A bunch of things too: - Port to EAPI=7 - Fix incorrect license - HTTPS homepage Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-python/cliapp/cliapp-1.20180812.1.ebuild')
-rw-r--r--dev-python/cliapp/cliapp-1.20180812.1.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/cliapp/cliapp-1.20180812.1.ebuild b/dev-python/cliapp/cliapp-1.20180812.1.ebuild
new file mode 100644
index 000000000000..2b48b8ac8784
--- /dev/null
+++ b/dev-python/cliapp/cliapp-1.20180812.1.ebuild
@@ -0,0 +1,29 @@
+# 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} )
+
+inherit distutils-r1
+
+DESCRIPTION="Framework for Unix-like command line programs"
+HOMEPAGE="https://liw.fi/cliapp/"
+SRC_URI="http://git.liw.fi/${PN}/snapshot/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+IUSE=""
+
+DEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+src_test() {
+ addwrite /proc/self/comm
+ distutils-r1_src_test
+}
+
+python_test() {
+ "${EPYTHON}" -m unittest discover -v -p '*_tests.py' || die
+}