From d8b97786ec5191e89610e9143ef65c72c74762b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 16 Oct 2019 09:03:51 +0200 Subject: [PATCH] dev-python/cmd2: Bump to 0.9.19 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/cmd2/Manifest | 1 + dev-python/cmd2/cmd2-0.9.19.ebuild | 44 ++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-python/cmd2/cmd2-0.9.19.ebuild diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index ebe1fe4ff7d5..4dda5af1c69c 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -3,3 +3,4 @@ DIST cmd2-0.8.9.tar.gz 112543 BLAKE2B b55edd450abcff863a34252b724919ace9f65b62b8 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 +DIST cmd2-0.9.19.tar.gz 555158 BLAKE2B f47a6de66ecf38a48b8784a6a7f549b2f1b80bcb6c0a928bdee7ab2828ff768b4e9d267a61a56face889251718fd04cc1b5035136fa6f80c24e862bcc120295c SHA512 3bac4ee23773dd9b721d179aa7085fdff2937a59b39409ba9acc53e4e8cc9726dbaf8e8d7a933a591bd97a6c35512afdc18c4d3228bfb9ba188bb672a56c045c diff --git a/dev-python/cmd2/cmd2-0.9.19.ebuild b/dev-python/cmd2/cmd2-0.9.19.ebuild new file mode 100644 index 000000000000..715f6032dc28 --- /dev/null +++ b/dev-python/cmd2/cmd2-0.9.19.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 +} -- 2.26.2