diff options
Diffstat (limited to 'dev-python/cmd2')
-rw-r--r-- | dev-python/cmd2/Manifest | 9 | ||||
-rw-r--r-- | dev-python/cmd2/cmd2-0.6.7.ebuild | 25 | ||||
-rw-r--r-- | dev-python/cmd2/cmd2-0.7.0.ebuild | 40 | ||||
-rw-r--r-- | dev-python/cmd2/cmd2-0.7.5.ebuild | 37 | ||||
-rw-r--r-- | dev-python/cmd2/metadata.xml | 20 |
5 files changed, 131 insertions, 0 deletions
diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest new file mode 100644 index 000000000000..811996fbcc75 --- /dev/null +++ b/dev-python/cmd2/Manifest @@ -0,0 +1,9 @@ +DIST cmd2-0.6.7.tar.gz 20558 SHA256 8e98c7a1cfd106183559240b269e7cd9fe97e8342b5c05295f591aab6fd2f4f0 SHA512 a37393bd9ef6c3ece02249b5a4293a25889ebd68120ee592d2ccd77a8e3e4ab3ba724e0be7f3c98a453dbba30c1851c7f690fbe69711df8a723545f8dbe38607 WHIRLPOOL 9da375c5ab0e1cd0f13e67b1b168b5f87be7f56bc758589b1e41959f3e14b07ad1e055fc2fce6d44ded77f806217b6bbe590009fec27c9179922ea764db0b86d +DIST cmd2-0.7.0.tar.gz 371786 SHA256 5ab76a1f07dd5fd1cc3c15ba4080265f33b80c7fd748d71bd69a51d60b30f51a SHA512 13f9777908dabcbf9c81c0aea371c7c55e413616dfecc75b51b18e38b286656c9fc2b7368c859585a70d574c9c04413b1e65a5a58aa878f90283c31a54d49465 WHIRLPOOL bc3e65aed413a8b243de8b5a770a8ab4ffd1ba5d0c2db2e1ad619eb051fe5ff6b6e3485e121e2a8aa8d0c7a0c51633de1a23220f0189f0f17fa75ccdf7a14c5a +DIST cmd2-0.7.5.tar.gz 64939 SHA256 7a47afafc5ad45649a2998df8d96f39d8e1d0686f55c785285889e45151ff75f SHA512 14376ee283ac1c153ab0194a5dfa168eca36174783322ff72e190ed96b8c315518fef4f3ef09d77633851cb53b32f71fe380042ee3c0ef8ef2cbdfa16dabf704 WHIRLPOOL e8955c7d237111fe6486575ed1e22db132ee1f3959b0737c41667b3bda65256610cabd9a1ba64c9766e07a81afcae0d2780e196a739ac14bcd615ecc940c4792 +EBUILD cmd2-0.6.7.ebuild 648 SHA256 6dc3f2c559368ab3b3a530aa9d64ec3613ba3bf2da7117e79e264603fe489eb0 SHA512 5956c34777cb991ae9b2335b7d9de24f4fe04e01fe20ef4c9e03e1d31377432298057597b442f013bba633ff2199b9935f311aa5d49b3e803c16def38258194f WHIRLPOOL 550920361faf11909eb64b5ace66f0e5304fe7cfbc0ae128ea02f6bf243d30478aea57798fc7275a79892cbd74d33e6624bb79644b6c395b2a294e6b1e5ecfad +EBUILD cmd2-0.7.0.ebuild 1019 SHA256 147e582093333e243f7e0e97502a7c01d87918b8bd619dc77c9d66306541695f SHA512 f6444262e02581ec916146b70fb33f3a9deb724bb20a325d064f84d3da4a093aa8f4c1906d32bf14e6d2833b9c02b90f2352496610d353aea5f7d897e9d89e9e WHIRLPOOL 645b00d0a113bfdc2017c6492c5bee20c12fe86e4863b0f28a30329abf50aea6a67a9b2d59e323771beb73bd8aae344dfa42244a873529fe1dcb2be322746943 +EBUILD cmd2-0.7.5.ebuild 903 SHA256 92876a6508c8a5da4f88fbd4c92f058c3e1376868f7e6f7dd66b7aecf76e151e SHA512 e99f600e4ac11649242aa8155245e109cfee733915b59edc48f76c2eb48cbc0c6649b21781760ef5f6d006418e5e1dc6c4069d6943613881533d25a63dcdbe39 WHIRLPOOL 5e01e301fcc6674e7f239737b20590387da91158dfbc71f360abbe6dcfbcf19a16de5fdb4e490a330b17ffb4672e7c3d269c4737ab991583312c25e8f51c59fd +MISC ChangeLog 2892 SHA256 d6b70c95c92783bd78235a4ad1cd0d2d8cce5537e08870711b88560b2ceca3cd SHA512 fed6f19cd5542f1c45ad976edc17ee4fac462115e3c11ca9c5e46b74cb91e0bcd9f87b603b731d71ccc3451dfea9e72696d451f00bb098703d0280095e723fa4 WHIRLPOOL 4a2e03ecea307d77ad9b8b410b2053d2d505900bd9c0e1612b5c3c0558b3ac55165cc06077585f45cc30db91450528308a5c6e11063bb1f2a9bc19e3a8636366 +MISC ChangeLog-2015 1907 SHA256 5e6bd89d05a272f8c3e6fbac03a8aff2ee1cc74a7f8d182d6683868d6470013e SHA512 2b864d2b9d62852eec0361f00fafc7de6465ba99719ed3fa8c7da08712be26b9d01eb8e11136b6770106099c8855412426afacc180591fe5f1134919159fbc6e WHIRLPOOL 61b7c898ad4a95a74b7005b04a4338536e07b31c7871fd658a47a38f3e897a8e0e8cfa8a4eb2054994b7717c5bf766e12cd6e3a34a3a4a141d80afe2e1a38d68 +MISC metadata.xml 665 SHA256 2af2c9713f2c8e46eaad44fe604c5dae7c6a71a01b55bf012d6f4655b59f495f SHA512 64183ffbb33f229d4295e6fb34d98603d38da0241c6d1593704da866c17e04c9fe7f9500a1256b6e83c919eae019f71da93fdec7f09db99e073dbd809144b735 WHIRLPOOL 0a8c518c5d49917d47f80e85e446e58b306bf41586c68f2afc13e06dbb8091c5dc91b784be8b224eeaeb63d463d9f28891a57f2e234c25cf0a47545b8fffc651 diff --git a/dev-python/cmd2/cmd2-0.6.7.ebuild b/dev-python/cmd2/cmd2-0.6.7.ebuild new file mode 100644 index 000000000000..7b9f19dd3fd1 --- /dev/null +++ b/dev-python/cmd2/cmd2-0.6.7.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy ) + +inherit distutils-r1 + +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 x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=dev-python/pyparsing-2.0.1[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + cd "${BUILD_DIR}"/lib || die + "${PYTHON}" -m cmd2 -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/cmd2/cmd2-0.7.0.ebuild b/dev-python/cmd2/cmd2-0.7.0.ebuild new file mode 100644 index 000000000000..f78dccb5941f --- /dev/null +++ b/dev-python/cmd2/cmd2-0.7.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +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" + +RDEPEND=" + >=dev-python/pyparsing-2.0.1[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Disable failing test + [[ ${PV} == 0.7.0 ]] || die "Please remove the sed from python_prepare_all" + sed -i -e 's:test_input_redirection:_&:' tests/test_cmd2.py || die + distutils-r1_python_prepare_all +} + +python_test() { + py.test -vv || die + ${EPYTHON} example/example.py --test example/exampleSession.txt || die +} diff --git a/dev-python/cmd2/cmd2-0.7.5.ebuild b/dev-python/cmd2/cmd2-0.7.5.ebuild new file mode 100644 index 000000000000..ec6f08da2a32 --- /dev/null +++ b/dev-python/cmd2/cmd2-0.7.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +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 tests because pyperclip is fairly unstable... +RESTRICT="test" + +RDEPEND=" + >=dev-python/pyparsing-2.0.1[${PYTHON_USEDEP}] + dev-python/pyperclip[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_test() { + py.test -vv || die + ${EPYTHON} example/example.py --test example/exampleSession.txt || die +} diff --git a/dev-python/cmd2/metadata.xml b/dev-python/cmd2/metadata.xml new file mode 100644 index 000000000000..826d87260797 --- /dev/null +++ b/dev-python/cmd2/metadata.xml @@ -0,0 +1,20 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en"> + Extra features for standard library's cmd module + </longdescription> + <upstream> + <remote-id type="pypi">cmd2</remote-id> + <remote-id type="bitbucket">catherinedevlin/cmd2</remote-id> + <remote-id type="github">python-cmd2/cmd2</remote-id> + </upstream> +</pkgmetadata> |