From dfc2e6a5afd1beb8a4358a9b990697571d1fd606 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 8 Aug 2014 15:19:12 -0700 Subject: [PATCH] dev-python/parse: Add this Fig dependency (via dockerpty and behave) 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 | 9 +++++++++ dev-python/parse/Manifest | 1 + dev-python/parse/metadata.xml | 12 +++++++++++ dev-python/parse/parse-1.6.4.ebuild | 1 + dev-python/parse/parse-9999.ebuild | 31 +++++++++++++++++++++++++++++ 5 files changed, 54 insertions(+) create mode 100644 dev-python/parse/ChangeLog create mode 100644 dev-python/parse/Manifest create mode 100644 dev-python/parse/metadata.xml create mode 120000 dev-python/parse/parse-1.6.4.ebuild create mode 100644 dev-python/parse/parse-9999.ebuild diff --git a/dev-python/parse/ChangeLog b/dev-python/parse/ChangeLog new file mode 100644 index 0000000..2b3dbfe --- /dev/null +++ b/dev-python/parse/ChangeLog @@ -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 behave-9999.ebuild: + + Initial Version diff --git a/dev-python/parse/Manifest b/dev-python/parse/Manifest new file mode 100644 index 0000000..c1a0bb1 --- /dev/null +++ b/dev-python/parse/Manifest @@ -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 index 0000000..c6124e3 --- /dev/null +++ b/dev-python/parse/metadata.xml @@ -0,0 +1,12 @@ + + + + + + wking@tremily.us + W. Trevor King + + + wheel + + diff --git a/dev-python/parse/parse-1.6.4.ebuild b/dev-python/parse/parse-1.6.4.ebuild new file mode 120000 index 0000000..02ebb62 --- /dev/null +++ b/dev-python/parse/parse-1.6.4.ebuild @@ -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 index 0000000..878f5b2 --- /dev/null +++ b/dev-python/parse/parse-9999.ebuild @@ -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}" +} -- 2.26.2