diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/cmd2 | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/cmd2')
-rw-r--r-- | dev-python/cmd2/Manifest | 5 | ||||
-rw-r--r-- | dev-python/cmd2/cmd2-0.7.5.ebuild | 37 | ||||
-rw-r--r-- | dev-python/cmd2/cmd2-0.7.9.ebuild | 37 | ||||
-rw-r--r-- | dev-python/cmd2/metadata.xml | 20 |
4 files changed, 99 insertions, 0 deletions
diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest new file mode 100644 index 000000000000..660824388afe --- /dev/null +++ b/dev-python/cmd2/Manifest @@ -0,0 +1,5 @@ +DIST cmd2-0.7.5.tar.gz 64939 BLAKE2B 57c8d3f4c7c94e8e2627fb5d2cf8c164da72c531808a53118f950ee79fcc2e0f431621ffbd74d275bf508c8646ded761d2d38c2b99570fdadbbaddf095e422a1 SHA512 14376ee283ac1c153ab0194a5dfa168eca36174783322ff72e190ed96b8c315518fef4f3ef09d77633851cb53b32f71fe380042ee3c0ef8ef2cbdfa16dabf704 +DIST cmd2-0.7.9.tar.gz 71298 BLAKE2B d1623e2d6a7ac66058b5a43a9688ba850962fa7b5659c3287a9aef9a7deb16338d71a2c07ef15ec72ee5e62aae0ce3cdf2f202d0d423040b734dee059f1d4876 SHA512 39086794ea57cdfdc7388aaa485770f1a76457bf2b2f58cd4703dc0c082f58a8343aa777304e833133040fdab8ef8451d85bc3c19721432514bb380330823abd +EBUILD cmd2-0.7.5.ebuild 903 BLAKE2B a70910a059ed60cc5020f02cb72edd76125ec36294086ebb54d7f228ebfe1dc68b6c0497a2a398511243bf238aa58bd75a56f74617480a244845a31fad88b0fb SHA512 e99f600e4ac11649242aa8155245e109cfee733915b59edc48f76c2eb48cbc0c6649b21781760ef5f6d006418e5e1dc6c4069d6943613881533d25a63dcdbe39 +EBUILD cmd2-0.7.9.ebuild 903 BLAKE2B e3a635d611f6545fdb75eebb9075e37fc4c1c11fe4b7abb70a0c5bfe34b3d96c5d91d8b97f83561b024fd55b44784ae19cac0b61f7f7ee36d00680caa596a75b SHA512 785cb4ab291ba9e50ba8ec94a2fa651d25f30fd636d93d35098c59782f43e9f74fbcf8249f3bb8e024bde500e0f9dd9b6f76d1cc88201e27390b6de9bd6f8804 +MISC metadata.xml 665 BLAKE2B 796824fde35499ef70bd730f7e6c6ae4b239ea278f77188215ae0fc6e062598d943b0ae42ab5b378e8777c7c6a2162b330971bc00572e6dd43c663a3da677aab SHA512 64183ffbb33f229d4295e6fb34d98603d38da0241c6d1593704da866c17e04c9fe7f9500a1256b6e83c919eae019f71da93fdec7f09db99e073dbd809144b735 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/cmd2-0.7.9.ebuild b/dev-python/cmd2/cmd2-0.7.9.ebuild new file mode 100644 index 000000000000..f5ae38965ce0 --- /dev/null +++ b/dev-python/cmd2/cmd2-0.7.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 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> |