dev-python/cmd2: Bump to 1.0.0
authorMichał Górny <mgorny@gentoo.org>
Mon, 2 Mar 2020 05:08:28 +0000 (06:08 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 2 Mar 2020 05:42:32 +0000 (06:42 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/cmd2/Manifest
dev-python/cmd2/cmd2-1.0.0.ebuild [new file with mode: 0644]

index eeb173f154542dbc8556b5f836bbf61e9153f58f..0728324af04c760ab462d04dbd92ff875c64d49f 100644 (file)
@@ -4,3 +4,4 @@ DIST cmd2-0.8.9.tar.gz 112543 BLAKE2B b55edd450abcff863a34252b724919ace9f65b62b8
 DIST cmd2-0.9.22.tar.gz 565214 BLAKE2B e0f950c1bc994bbc3d1ddf2a526a97d61c1aa59c6089574518d2222c385ecf91f53fcc0e6dcaa84460cc4a6647bc5baf37f12c6c9bf16fdb3db14cf15a05bd18 SHA512 1ff5cbea130ef3729c021144ca27a31c0e9cb8b2977eca454a0f528c468180e822fa8d23e7b07846a5109ad38bf12565b613b8295751f94852d9251c4e8d6edf
 DIST cmd2-0.9.23.tar.gz 568514 BLAKE2B 02070a72ec42cd04f3f647eb6344b48a5149e21a8a87be713dec837d48295c6b919f55229fb09d013f1722ee111f8a75958e884c18b2eaa339097ff81554d8c3 SHA512 ea00a17b206d6312b0c2ae6b982f3fe4634f7717286a475438972780a1510b37120f007907f632338eafd093d03cb0e928c705e54a3aa8295f7aced73630a2f2
 DIST cmd2-0.9.25.tar.gz 576329 BLAKE2B e3608df62ed47d04b039a71bf876556ac7c6f9dc0355d1593c63ca365fd7baf207a2b4169525911e85c98ffd38c1a603023a9851a2ffc556a99970d57fd393fb SHA512 7361c81ca0dc0276ade2e0de471d86865801b193db8c1fc4064cc8d7311083f95d6e20c67c5540b9e162d37976976d82bc609a0be6524be113fe4b7d3b6d627e
+DIST cmd2-1.0.0.tar.gz 587276 BLAKE2B b6e580d030151128122da657aa2a4f8c6bb73ff6bb6361a132ee3bad848759796a4473a86f21c1dbb555f80af0f2c4e67b2366764319839f8b471b475dea61e4 SHA512 799ce5797c1dab7e90b2deb1e71c3200754ae6993a82c0f7e9d2ffdaf48967c1044b3123c49f43cfd2987b837a7a7ed33ee2cc607d586da73154f790c13aded1
diff --git a/dev-python/cmd2/cmd2-1.0.0.ebuild b/dev-python/cmd2/cmd2-1.0.0.ebuild
new file mode 100644 (file)
index 0000000..dd0714d
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+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 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+
+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}]
+"
+BDEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+       # tests rely on very specific text wrapping...
+       local -x COLUMNS=80
+       virtx distutils-r1_src_test
+}