dev-python/parse: Add this Fig dependency (via dockerpty and behave)
authorW. Trevor King <wking@tremily.us>
Fri, 8 Aug 2014 22:19:12 +0000 (15:19 -0700)
committerW. Trevor King <wking@tremily.us>
Fri, 8 Aug 2014 23:53:11 +0000 (16:53 -0700)
With a symlink to the most recent version (1.6.4, uploaded to PyPI on
2014-05-02) for folks who don't want a floating ebuild.

dev-python/parse/ChangeLog [new file with mode: 0644]
dev-python/parse/Manifest [new file with mode: 0644]
dev-python/parse/metadata.xml [new file with mode: 0644]
dev-python/parse/parse-1.6.4.ebuild [new symlink]
dev-python/parse/parse-9999.ebuild [new file with mode: 0644]

diff --git a/dev-python/parse/ChangeLog b/dev-python/parse/ChangeLog
new file mode 100644 (file)
index 0000000..2b3dbfe
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/behave
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*behave-9999 (08 Aug 2014)
+
+  08 Aug 2014; W. Trevor King <wking@tremily.us> behave-9999.ebuild:
+
+  Initial Version
diff --git a/dev-python/parse/Manifest b/dev-python/parse/Manifest
new file mode 100644 (file)
index 0000000..c1a0bb1
--- /dev/null
@@ -0,0 +1 @@
+DIST parse-1.6.4.tar.gz 24025 SHA256 a7cccad221632f1e2553d585b428b20d362738311e6f58933ef46b4389c16054 SHA512 2848e3331f1b2604bb5f1a8a0084ff0b7e0f12b2d3832395461f4b76729637783250d18a134048106ffa6768794f38fc51534dbe5a88db303f0426530587dcee WHIRLPOOL 2c3b91ec933ac206aaf2c2201b3108bb291a448f458d79aa2e6db5cdee676e05c200f1bf60f3f9810161e126c7ae4633efe498276fb2d1b270b10ebc4ca2047c
diff --git a/dev-python/parse/metadata.xml b/dev-python/parse/metadata.xml
new file mode 100644 (file)
index 0000000..c6124e3
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd></herd>
+       <maintainer>
+               <email>wking@tremily.us</email>
+               <name>W. Trevor King</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">wheel</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/dev-python/parse/parse-1.6.4.ebuild b/dev-python/parse/parse-1.6.4.ebuild
new file mode 120000 (symlink)
index 0000000..02ebb62
--- /dev/null
@@ -0,0 +1 @@
+parse-9999.ebuild
\ No newline at end of file
diff --git a/dev-python/parse/parse-9999.ebuild b/dev-python/parse/parse-9999.ebuild
new file mode 100644 (file)
index 0000000..878f5b2
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Parse strings using a specification based on the Python format() syntax."
+HOMEPAGE="https://github.com/r1chardj0n3s/parse http://pypi.python.org/pypi/parse"
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-2
+       EGIT_REPO_URI="git://github.com/r1chardj0n3s/parse.git"
+       SRC_URI=""
+else
+       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+DOCS="README.rst"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+python_test() {
+       "${PYTHON}" test_parse.py || die "Tests failed with ${EPYTHON}"
+}