diff options
Diffstat (limited to 'dev-python/pyhcl')
-rw-r--r-- | dev-python/pyhcl/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyhcl/metadata.xml | 15 | ||||
-rw-r--r-- | dev-python/pyhcl/pyhcl-0.2.3.ebuild | 30 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/pyhcl/Manifest b/dev-python/pyhcl/Manifest new file mode 100644 index 000000000000..4dd36f1f5c50 --- /dev/null +++ b/dev-python/pyhcl/Manifest @@ -0,0 +1 @@ +DIST pyhcl-0.2.3.tar.gz 21796 SHA256 99f49100162a93a746b36903afef964132949f640f5e74c0e0de9106eaf1ac53 SHA512 09cc9dd53048170ad49794d0944acaacba2c08bc5a05bb8d699bb47dc0a03eb32881ddf4dc0771e8b6ee008f7a47b5e95beed4bd77b173c88c6cc322eff4678f WHIRLPOOL 421b4167ff7a2e2e41d9441eb7a17b16b9830ae430c19c03b8c6a2a4b340e0a2039d1551c1b5fda5aefb6cbae522accd03bf2b2e3363d17db0fac78ee4ce113d diff --git a/dev-python/pyhcl/metadata.xml b/dev-python/pyhcl/metadata.xml new file mode 100644 index 000000000000..a69fa34207d0 --- /dev/null +++ b/dev-python/pyhcl/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="github">virtuald/pyhcl</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyhcl/pyhcl-0.2.3.ebuild b/dev-python/pyhcl/pyhcl-0.2.3.ebuild new file mode 100644 index 000000000000..a21ac72f71bc --- /dev/null +++ b/dev-python/pyhcl/pyhcl-0.2.3.ebuild @@ -0,0 +1,30 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="HCL configuration parser for python" +HOMEPAGE="https://github.com/virtuald/pyhcl" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=">=dev-python/ply-3.4[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_prepare_all() { + sed -i -e "s/==.*$//" requirements.txt || die + distutils-r1_python_prepare_all +} + +python_test() { + py.test -v || die +} |