From a0ff2cb098818616fbf7f9416f4b8db2f1752124 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 27 Nov 2019 10:13:51 +0100 Subject: [PATCH] dev-python/cmd2: Bump to 0.9.21 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.21.ebuild | 44 ++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-python/cmd2/cmd2-0.9.21.ebuild diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index 792bb7cc8fc5..e1884d4a0a40 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.20.tar.gz 560696 BLAKE2B bb4a836b01715a8153e3f06b10721a8c8b7bcd1fb3ad36fc62ac6bd0a708d3ec26f32d2ea91f88b629ffe0b1f7dc9535dcd2901587f949660d79caf3d90c0413 SHA512 5d4eb607d5263166ff86bab7b60e6f008c44e1e61eae237eeee81cba22c5a474d6d8018f46648ab423fdf5841c6a65ed7dd6ee4eaae2049c2ad5cbb6a7959abe +DIST cmd2-0.9.21.tar.gz 563600 BLAKE2B f438dfac5b8bef33e151d3c577bd9d140a5da746a91b445715aa15ff5853346472e62cb361f9ffe742888404606c4731148f3002c7555d70eefc71e44908c06d SHA512 79994739ac311113ace8f7d35c314b34a45cd6893fd9fae3995cd753bc3651f6746f5be65f81bcf1ab7d2810a070602c150af71fba9945331bc3e0f1dea730ad diff --git a/dev-python/cmd2/cmd2-0.9.21.ebuild b/dev-python/cmd2/cmd2-0.9.21.ebuild new file mode 100644 index 000000000000..715f6032dc28 --- /dev/null +++ b/dev-python/cmd2/cmd2-0.9.21.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