dev-python/cmd2: Bump to 0.9.20
authorMichał Górny <mgorny@gentoo.org>
Wed, 13 Nov 2019 07:14:54 +0000 (08:14 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 13 Nov 2019 07:33:27 +0000 (08:33 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/cmd2/Manifest
dev-python/cmd2/cmd2-0.9.20.ebuild [new file with mode: 0644]

index cfa76595f892907788bcaab85c16094fcc3d7905..d7b6974a569412836304b72a5392d4f260a1d000 100644 (file)
@@ -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.18.tar.gz 555054 BLAKE2B e0fb893a71a4acd2ded1ce83c3033c667351d1cc64834e587df883231ca2023409dbb58df305e029e2567868ab93254b570b7120ac1f09771f4c7748e3802567 SHA512 bb855893721dc5dc517276ab1af25c90e599cc5186f519b5b6a39b8ca64ca6d2c1b27d3a51cbef5568dad2f60a9636607a9a8bd289dd0de23f48376254157c3e
 DIST cmd2-0.9.19.tar.gz 555158 BLAKE2B f47a6de66ecf38a48b8784a6a7f549b2f1b80bcb6c0a928bdee7ab2828ff768b4e9d267a61a56face889251718fd04cc1b5035136fa6f80c24e862bcc120295c SHA512 3bac4ee23773dd9b721d179aa7085fdff2937a59b39409ba9acc53e4e8cc9726dbaf8e8d7a933a591bd97a6c35512afdc18c4d3228bfb9ba188bb672a56c045c
+DIST cmd2-0.9.20.tar.gz 560696 BLAKE2B bb4a836b01715a8153e3f06b10721a8c8b7bcd1fb3ad36fc62ac6bd0a708d3ec26f32d2ea91f88b629ffe0b1f7dc9535dcd2901587f949660d79caf3d90c0413 SHA512 5d4eb607d5263166ff86bab7b60e6f008c44e1e61eae237eeee81cba22c5a474d6d8018f46648ab423fdf5841c6a65ed7dd6ee4eaae2049c2ad5cbb6a7959abe
diff --git a/dev-python/cmd2/cmd2-0.9.20.ebuild b/dev-python/cmd2/cmd2-0.9.20.ebuild
new file mode 100644 (file)
index 0000000..715f603
--- /dev/null
@@ -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
+}