summaryrefslogtreecommitdiff
path: root/dev-python/optcomplete
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/optcomplete
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/optcomplete')
-rw-r--r--dev-python/optcomplete/Manifest5
-rw-r--r--dev-python/optcomplete/metadata.xml20
-rw-r--r--dev-python/optcomplete/optcomplete-1.2-r1.ebuild25
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/optcomplete/Manifest b/dev-python/optcomplete/Manifest
new file mode 100644
index 000000000000..19e383ceb835
--- /dev/null
+++ b/dev-python/optcomplete/Manifest
@@ -0,0 +1,5 @@
+DIST optcomplete-1.2.tar.bz2 15358 SHA256 628481e3908d1f78faae34380b1873cecb3027ce40a18f94a98a2fe8de11e71a SHA512 2b2a902755eae0da0d362e6c504bd007fd13309ac515e6b68d6b2d177648645b7bd9c73d172c5eb2d0473caf261d8d60583a8f83779c901d50c304c03811e7ea WHIRLPOOL 7e1e57958afc9b514c781f47f06dc629bb294ccd48c0f8a936636df11b4b4f51829d29dac71340e254efb5b2b5b520f68cccbc76ef0a2e2d4fec8eabe46e6fd7
+EBUILD optcomplete-1.2-r1.ebuild 616 SHA256 577e14b5abcb050e3d0241f6f718fde64dda3ac1e1acc566df12ea264c24ce93 SHA512 7fe724e6d0f6bfa3e0ebc1eb2ed0dad0b6921e2f5dba3e18aa70f07bcce743ed9d8a5b4db825588deef8800e3b0cba4557ead280fbb208bb6caff53b54dde03f WHIRLPOOL 1ad16c0dd4f6b7793ee6122e34cb89233ac6b758e0883e37abbe62dbabceb5eae16543ff06fbd8c2637b446c8963e8f8df28a1176e3e3fda19ca12a7e15a8993
+MISC ChangeLog 2591 SHA256 faf1f454d7f1d3e3295519f268048113d6db16feb9e5edfc118cdf2cc9851f45 SHA512 8acc547cbc3cdbb7347e28c13973492640d7444f5ee93322231b832b08326919c87b4f2af1474a3dbc45c7be08785df65733751da1e0349247ada4128d0745d0 WHIRLPOOL d7bb8152fbc7ffda1cb352530d9acd2cb6e0db9600dedef161e89580a730346011e2563d35343be6e322795234d39e58e4576c15a0a08b29f0a31d4969156084
+MISC ChangeLog-2015 2304 SHA256 3c8d57462194a3d8a0a8f6c1d43877458af80d68317e1506d75343d1562e3a07 SHA512 eef43ebac052d6d2e5f0fe36c33dd28063bb2b2072e76dd0f9f7ffa0fe89e28a2ae6f0a7cec7cef130142dc96c58b7b2a35fe0dee429fc9e63f49ef11c3c84a5 WHIRLPOOL 8390bc514c7ac4ef34767917696bd92a893d3fea83c51844946652065b09c30eda28f093bee0cd7b6c4763b7e1ed5d4a9c36cc3233b53e6e6de2962c93c9d87f
+MISC metadata.xml 892 SHA256 f456f0ae9988fdaabc91c1b38e9009e8392dd14b6c0206eb68c11d318ac1e6c1 SHA512 5ccd2ef13a6d0a76497e3e1cdf15f819ea456271a269dfed87681111c5fb590e48669291054978aefc83eaa2332d8eb08532278d990a483b61883abb1a4ca4e4 WHIRLPOOL 62b4e822cbf8413bc86830f865ba066d762939bc7e0fe844b6acd6ccfd81c802af7087df3c3b1a2c63da4b2f3d3ace0f1e0fd93e9d99e5deac0d51d0b1b66fd0
diff --git a/dev-python/optcomplete/metadata.xml b/dev-python/optcomplete/metadata.xml
new file mode 100644
index 000000000000..3620338c02cf
--- /dev/null
+++ b/dev-python/optcomplete/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="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ This Python module aims at providing almost automatically shell completion
+ for any Python program that already uses the optparse module.
+
+ This module aims at placing the shell completion routine and the option
+ parsing code in a single location: in the program itself.
+
+ The logic is that since a program already knows about its options, and in
+ Python we have a standard module to specify them programmatically since
+ Python-2.3 (optparse), the program itself is in the best position to suggest
+ completions for an incomplete command-line to a shell that invokes it.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-python/optcomplete/optcomplete-1.2-r1.ebuild b/dev-python/optcomplete/optcomplete-1.2-r1.ebuild
new file mode 100644
index 000000000000..da4dc461f8e3
--- /dev/null
+++ b/dev-python/optcomplete/optcomplete-1.2-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Shell completion self-generator for Python"
+HOMEPAGE="http://furius.ca/optcomplete/ https://pypi.python.org/pypi/optcomplete"
+SRC_URI="http://furius.ca/downloads/${PN}/releases/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-linux"
+IUSE="doc examples"
+
+DEPEND=""
+RDEPEND=""
+
+python_install_all() {
+ use examples && local EXAMPLES=( bin/. )
+ use doc && local HTML_DOCS=( doc/. )
+ distutils-r1_python_install_all
+}