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/argcomplete | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/argcomplete')
-rw-r--r-- | dev-python/argcomplete/Manifest | 5 | ||||
-rw-r--r-- | dev-python/argcomplete/argcomplete-1.4.1.ebuild | 38 | ||||
-rw-r--r-- | dev-python/argcomplete/argcomplete-1.9.4.ebuild | 33 | ||||
-rw-r--r-- | dev-python/argcomplete/metadata.xml | 12 |
4 files changed, 88 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest new file mode 100644 index 000000000000..d6dd186df8b1 --- /dev/null +++ b/dev-python/argcomplete/Manifest @@ -0,0 +1,5 @@ +DIST argcomplete-1.4.1.tar.gz 37219 BLAKE2B eff9c8b8a2996d2d57ca99516071a1c831f9e64be4efd72bf930dfe7fb2404db2aa03546e761ae73b5d22f8ebe683728c433ab837eee5c073616e7d32fa32010 SHA512 3e9fa64fca93baf14fddd653947ff0269004e8783de0567931dafb9e4d0dfff2e2450ef6df331a4d648f5ce1d817a422f52d8d30b94315cd54fd82102467ded5 +DIST argcomplete-1.9.4.tar.gz 47471 BLAKE2B ba64acc1fb2ae336166504db3dd991227c4e2a04abc6909ecf6723c1d2ce82ea65453ca2dde97316da9eaaa5b60026a6c8e4f3d658f1ed8122ca4fd00723fca1 SHA512 831958dffc75c65e2a63918d1e6f5e1fa47ec753b913c978e8d1d30d430ab8fedf66c99d8df23b2abc547b42c27335ccf47811224322994316ca2225c85ce346 +EBUILD argcomplete-1.4.1.ebuild 966 BLAKE2B 3a049b2c11a5dd77b7734f7fd2dd10dce8feb20bb2453ec66c687ad7791d72edac3f56f247d2c7e39e77b7f393edb397bd0d4102b28d89d8c73a9de292c42e59 SHA512 29ac20e6a8ba868066bbb203e82fa30496cc5a117a5ec5719fab3b0f347128b0fc3ffa1241e42af08e87df7ba3df50e78466683a10e15899b452919460bcfd25 +EBUILD argcomplete-1.9.4.ebuild 778 BLAKE2B 46c160b6c5493842a52e8c07a0146f33f7528624b552e957923af489acecd6fe4fcd46ce59135f0538b6dc4b69888b87f11d1c823c5d32a36e9766e7ade8fad9 SHA512 434b6b83b2a961542ae355a3fa23016d7d3fd855988b5ea1ff22233d93f265e43cc7639ce818f1990e065e8e350b0118d627cc176e6f72ade785b59484ef5b94 +MISC metadata.xml 385 BLAKE2B d552f29df1805f58bef2bbaf91166ef43daebf78d36a079c9b93bee54a8165d33576e1f9c238e7070f64253e0ff71c9b6a18c63b3321b5a400f8d287b10e4a82 SHA512 125cccb9f83bacb68944c893b76905ca6db26c41f0e843bc3b2ed4fd8b18df4247696c0fb34acff77c41bd57fce517669878e071db6dcdcedde42f85cc012e5d diff --git a/dev-python/argcomplete/argcomplete-1.4.1.ebuild b/dev-python/argcomplete/argcomplete-1.4.1.ebuild new file mode 100644 index 000000000000..04c2e025dc40 --- /dev/null +++ b/dev-python/argcomplete/argcomplete-1.4.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 bash-completion-r1 + +DESCRIPTION="Bash tab completion for argparse" +HOMEPAGE="https://pypi.org/project/argcomplete/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_prepare_all() { + # purge test folder to avoid file collisions + sed -e "s:find_packages():find_packages(exclude=['test','test.*']):" -i setup.py || die + distutils-r1_python_prepare_all +} + +python_test() { + ${EPYTHON} test/test.py || die +} + +python_install_all() { + sed \ + -e "/complete /d" \ + -i argcomplete/bash_completion.d/python-argcomplete.sh || die + + distutils-r1_python_install_all + newbashcomp "${S}"/${PN}/bash_completion.d/python-argcomplete.sh python-${PN} +} diff --git a/dev-python/argcomplete/argcomplete-1.9.4.ebuild b/dev-python/argcomplete/argcomplete-1.9.4.ebuild new file mode 100644 index 000000000000..03a25240d56c --- /dev/null +++ b/dev-python/argcomplete/argcomplete-1.9.4.ebuild @@ -0,0 +1,33 @@ +# 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 pypy3 ) + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Bash tab completion for argparse" +HOMEPAGE="https://pypi.org/project/argcomplete/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + app-shells/tcsh + )" + +python_test() { + "${EPYTHON}" test/test.py || die +} + +python_install_all() { + distutils-r1_python_install_all + newbashcomp "${S}"/${PN}/bash_completion.d/python-argcomplete.sh python-${PN} +} diff --git a/dev-python/argcomplete/metadata.xml b/dev-python/argcomplete/metadata.xml new file mode 100644 index 000000000000..ae11391891a7 --- /dev/null +++ b/dev-python/argcomplete/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">argcomplete</remote-id> + <remote-id type="github">kislyuk/argcomplete</remote-id> + </upstream> +</pkgmetadata> |