diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-09-25 07:52:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-09-25 07:52:59 +0200 |
commit | 444750bff58ac2d3dfb48af3c122683a169dee16 (patch) | |
tree | 7e072b5e9c56aa72578d9b8acb8e5284b5be811a /dev-python/cmd2 | |
parent | net-misc/miniupnpd: Bump to 2.1.20190924 (diff) | |
download | gentoo-444750bff58ac2d3dfb48af3c122683a169dee16.tar.gz gentoo-444750bff58ac2d3dfb48af3c122683a169dee16.tar.bz2 gentoo-444750bff58ac2d3dfb48af3c122683a169dee16.zip |
dev-python/cmd2: Bump to 0.9.17
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cmd2')
-rw-r--r-- | dev-python/cmd2/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cmd2/cmd2-0.9.17.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index 9e1e5552d75c..72ea3ed96a50 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -1,3 +1,4 @@ DIST cmd2-0.7.9.tar.gz 71298 BLAKE2B d1623e2d6a7ac66058b5a43a9688ba850962fa7b5659c3287a9aef9a7deb16338d71a2c07ef15ec72ee5e62aae0ce3cdf2f202d0d423040b734dee059f1d4876 SHA512 39086794ea57cdfdc7388aaa485770f1a76457bf2b2f58cd4703dc0c082f58a8343aa777304e833133040fdab8ef8451d85bc3c19721432514bb380330823abd 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 diff --git a/dev-python/cmd2/cmd2-0.9.17.ebuild b/dev-python/cmd2/cmd2-0.9.17.ebuild new file mode 100644 index 000000000000..715f6032dc28 --- /dev/null +++ b/dev-python/cmd2/cmd2-0.9.17.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 +} |