diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-08-08 05:21:35 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-08-08 05:31:28 +0200 |
commit | ba3501fb4fa1781dd981e7190c124f5884c150b6 (patch) | |
tree | d2f4f2d5b99db9ad2c047d0c23755983dd33a871 /dev-python | |
parent | sci-libs/dcmtk: version bump 3.6.4 (diff) | |
download | gentoo-ba3501fb4fa1781dd981e7190c124f5884c150b6.tar.gz gentoo-ba3501fb4fa1781dd981e7190c124f5884c150b6.tar.bz2 gentoo-ba3501fb4fa1781dd981e7190c124f5884c150b6.zip |
dev-python/cmd2: Bump to 0.9.16
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/cmd2/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cmd2/cmd2-0.9.16.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index a25469b04ee5..ec432c4df5ba 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -3,3 +3,4 @@ DIST cmd2-0.7.9.tar.gz 71298 BLAKE2B d1623e2d6a7ac66058b5a43a9688ba850962fa7b565 DIST cmd2-0.8.9.tar.gz 112543 BLAKE2B b55edd450abcff863a34252b724919ace9f65b62b8175f28a1bb4fb64692a67723339a887dac45e87f37db71773689cfa213038740a4b3d165bf95f9cdad1d0e SHA512 80c80b67f8a1709156450fa476215a5466cca2853102f6012f1d83867a311d86a68d441dcea9895b62add731b3d00a7c3ecefde939b4f2ccd61d058ef9386a84 DIST cmd2-0.9.14.tar.gz 530199 BLAKE2B a503e71959927e01986028da423c11f971972df0826f95cb06ca0594d9b90c19a5502ec19d741ea7a30b0ab9fb6f9d33fb5c20fc37c01695039b69979b862410 SHA512 4a606fc821f32dccb53b0558645850b383f814ae79f65e491376638960c5951ddff3ff860190d6ffe37b9fd616f44659793c1b1389eb76fbb369726cc1108c77 DIST cmd2-0.9.15.tar.gz 550232 BLAKE2B b9e57ca150ee94cfc38bf394f9a3a8de06c4e63c8787944491fc5802781c3afc585d075b07b636c673dd20e50cd1222a7cd146a6284abc0f87873ccb915ec2a3 SHA512 6a2405e6b83200fb53cc251a4095fea6dfe0d7edd26875aee5121267d7615599aef4d84592be2b72b9cbd38e22e25f320d4c334b82e360140d517b65f2be25a8 +DIST cmd2-0.9.16.tar.gz 550919 BLAKE2B 0c8fa50bc1df503b17fc1c753ddac755968a0d4886921baf5f1113cbe7d8928b6ee0be49c93e697e00a1951deaee5c35403da74ad4d14fabf566dbe8abf27bfc SHA512 63b973e63fe48675a25c76b5c79d3838aad8fea62e50287cc72f2dc431e798535fc24caf589a2358012e6c8c601e8b46ac08b0da63ca64e46727890657d7ddfa diff --git a/dev-python/cmd2/cmd2-0.9.16.ebuild b/dev-python/cmd2/cmd2-0.9.16.ebuild new file mode 100644 index 000000000000..715f6032dc28 --- /dev/null +++ b/dev-python/cmd2/cmd2-0.9.16.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 +} |