summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-10-02 15:24:13 +0200
committerMichał Górny <mgorny@gentoo.org>2019-10-02 15:24:13 +0200
commita968025d2f6fd68f2e120d7b98e1211c4e6e412c (patch)
tree0c16ecef9556ba5b7a45f0a1f984c80e61b1a5cb /dev-python/cmd2
parentDrop unnecessary executable bit on initd files (diff)
downloadgentoo-a968025d2f6fd68f2e120d7b98e1211c4e6e412c.tar.gz
gentoo-a968025d2f6fd68f2e120d7b98e1211c4e6e412c.tar.bz2
gentoo-a968025d2f6fd68f2e120d7b98e1211c4e6e412c.zip
dev-python/cmd2: Bump to 0.9.18
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cmd2')
-rw-r--r--dev-python/cmd2/Manifest1
-rw-r--r--dev-python/cmd2/cmd2-0.9.18.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest
index 72ea3ed96a50..ebe1fe4ff7d5 100644
--- a/dev-python/cmd2/Manifest
+++ b/dev-python/cmd2/Manifest
@@ -2,3 +2,4 @@ DIST cmd2-0.7.9.tar.gz 71298 BLAKE2B d1623e2d6a7ac66058b5a43a9688ba850962fa7b565
DIST cmd2-0.8.9.tar.gz 112543 BLAKE2B b55edd450abcff863a34252b724919ace9f65b62b8175f28a1bb4fb64692a67723339a887dac45e87f37db71773689cfa213038740a4b3d165bf95f9cdad1d0e SHA512 80c80b67f8a1709156450fa476215a5466cca2853102f6012f1d83867a311d86a68d441dcea9895b62add731b3d00a7c3ecefde939b4f2ccd61d058ef9386a84
DIST cmd2-0.9.16.tar.gz 550919 BLAKE2B 0c8fa50bc1df503b17fc1c753ddac755968a0d4886921baf5f1113cbe7d8928b6ee0be49c93e697e00a1951deaee5c35403da74ad4d14fabf566dbe8abf27bfc SHA512 63b973e63fe48675a25c76b5c79d3838aad8fea62e50287cc72f2dc431e798535fc24caf589a2358012e6c8c601e8b46ac08b0da63ca64e46727890657d7ddfa
DIST cmd2-0.9.17.tar.gz 553819 BLAKE2B b805fc18ef4edf902b2797ecce3f09e1daca93d5e7525f633ccbdd4a2febdea849d6818ebc7d6d712693a3ee188d3815338718d8ba2d3ede258f8a2382d3bf1f SHA512 c03bcf7ec6a95987fd63b8d4f84ca6440219ec488245b9064408133570a222de391eef06dbbb951b2e34e14cffa8f30509b917a3e3ba4b36ebfb6bb14d9ede5d
+DIST cmd2-0.9.18.tar.gz 555054 BLAKE2B e0fb893a71a4acd2ded1ce83c3033c667351d1cc64834e587df883231ca2023409dbb58df305e029e2567868ab93254b570b7120ac1f09771f4c7748e3802567 SHA512 bb855893721dc5dc517276ab1af25c90e599cc5186f519b5b6a39b8ca64ca6d2c1b27d3a51cbef5568dad2f60a9636607a9a8bd289dd0de23f48376254157c3e
diff --git a/dev-python/cmd2/cmd2-0.9.18.ebuild b/dev-python/cmd2/cmd2-0.9.18.ebuild
new file mode 100644
index 000000000000..715f6032dc28
--- /dev/null
+++ b/dev-python/cmd2/cmd2-0.9.18.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{3_5,3_6,3_7} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Extra features for standard library's cmd module"
+HOMEPAGE="https://github.com/python-cmd2/cmd2"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/attrs[${PYTHON_USEDEP}]
+ >=dev-python/colorama-0.3.7[${PYTHON_USEDEP}]
+ >=dev-python/pyperclip-1.6[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/wcwidth[${PYTHON_USEDEP}]
+"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python3_5)
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ # test rely on very specific text wrapping...
+ local -x COLUMNS=80
+ pytest -vv || die
+}
+
+src_test() {
+ virtx distutils-r1_src_test
+}