dev-python/cmd2: Bump to 1.0.2
authorMichał Górny <mgorny@gentoo.org>
Tue, 7 Apr 2020 09:30:04 +0000 (11:30 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 7 Apr 2020 10:41:49 +0000 (12:41 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/cmd2/Manifest
dev-python/cmd2/cmd2-1.0.2.ebuild [new file with mode: 0644]

index 66178fc1cbdac39594c114203e56ea918f247a64..f9d78c115eb9c8b91b4a0b58a68f3488357e6382 100644 (file)
@@ -1,3 +1,4 @@
 DIST cmd2-0.10.1.tar.gz 574301 BLAKE2B f97a60cfeb6f3ba411e64f1f8bc7d51cbefbdc7821764b3a0d65e83d1ec7158f8e585f0585ec6798472b35cb3533f3a35b9113d531d657fc6abd116fe905f75b SHA512 b7cb5b6c191ead56af3b83b19400440f0313b70568a1c838ca3f7d96c9312c36660dee42ae6e59db460afef99366498931f379d75d8a5d0860aff300c0a53380
 DIST cmd2-0.8.9.tar.gz 112543 BLAKE2B b55edd450abcff863a34252b724919ace9f65b62b8175f28a1bb4fb64692a67723339a887dac45e87f37db71773689cfa213038740a4b3d165bf95f9cdad1d0e SHA512 80c80b67f8a1709156450fa476215a5466cca2853102f6012f1d83867a311d86a68d441dcea9895b62add731b3d00a7c3ecefde939b4f2ccd61d058ef9386a84
 DIST cmd2-1.0.1.tar.gz 579536 BLAKE2B e8cb7143f90b23baa3d6bb6a09bc42cd5e0b92dbd6fa9341b26650a376af14d7d02704c0f77f6c7c42428dc3a227e6c40140262e811d0b5f13951170ce6ab8a0 SHA512 fb5e3d4fc22f08a2d98bd536c785067c97d2640ff910ee11d375ac579240d1d58e6b886d4da4b319dbaceceab6b41253ebad7230647d982f34066bdb5215e75a
+DIST cmd2-1.0.2.tar.gz 580329 BLAKE2B 38ab275d651849a5d609bb5e9848eb5b2fd52a88ce121311889909348448809e6b23aa26ad3e170ef97029f25b24794a33976b029928a2fe65c21e6d2f3cad29 SHA512 547757724987cc310daf60595f2c07e7355c4b35007d3ce9fa52c4dc5e83e1b27a7f646ff161cf7d2aac76a396f3ecbac3a738c09f1c01804d513b40e0c0fdfd
diff --git a/dev-python/cmd2/cmd2-1.0.2.ebuild b/dev-python/cmd2/cmd2-1.0.2.ebuild
new file mode 100644 (file)
index 0000000..3fd8ff1
--- /dev/null
@@ -0,0 +1,35 @@
+# 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}]
+       test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+       # tests rely on very specific text wrapping...
+       local -x COLUMNS=80
+       virtx distutils-r1_src_test
+}