diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2018-09-25 22:21:43 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-09-27 01:01:13 +0200 |
commit | 00921f8ed3b4e9442a8e899e2e87db8007f6d846 (patch) | |
tree | 5c1680735c95add93b134686b417e1a6545edcbe /dev-python/toml | |
parent | dev-libs/librelp: bump to v1.2.18 (diff) | |
download | gentoo-00921f8ed3b4e9442a8e899e2e87db8007f6d846.tar.gz gentoo-00921f8ed3b4e9442a8e899e2e87db8007f6d846.tar.bz2 gentoo-00921f8ed3b4e9442a8e899e2e87db8007f6d846.zip |
dev-python/toml: new package.
toml is a Python library for Tom's Obvious Minimal Language.
Closes: https://bugs.gentoo.org/662698
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-python/toml')
-rw-r--r-- | dev-python/toml/Manifest | 1 | ||||
-rw-r--r-- | dev-python/toml/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/toml/toml-0.9.6.ebuild | 28 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/toml/Manifest b/dev-python/toml/Manifest new file mode 100644 index 000000000000..396b35e761c1 --- /dev/null +++ b/dev-python/toml/Manifest @@ -0,0 +1 @@ +DIST toml-0.9.6.tar.gz 14074 BLAKE2B 758dbde35e1afacad8456cfac42354f3205d2d1ae79ceeea1803fe253472e3299ba171ce9435529f64fd8a31adc7cc1c05282a76a47118b7aa0e3ed61ccacc25 SHA512 9f2804daebae0744c3a00bfb27b2f1efd73c96e7e5a14316d492200d63ba546167f669a187297c76daca5ef35b7adb6f309c1f6129302b6f41e6b7673bdb43b6 diff --git a/dev-python/toml/metadata.xml b/dev-python/toml/metadata.xml new file mode 100644 index 000000000000..c071751e0471 --- /dev/null +++ b/dev-python/toml/metadata.xml @@ -0,0 +1,11 @@ +<?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="github">uiri/toml</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/toml/toml-0.9.6.ebuild b/dev-python/toml/toml-0.9.6.ebuild new file mode 100644 index 000000000000..875843eb94ff --- /dev/null +++ b/dev-python/toml/toml-0.9.6.ebuild @@ -0,0 +1,28 @@ +# 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 ) + +inherit distutils-r1 + +DESCRIPTION="Python library for handling TOML files" +HOMEPAGE="https://github.com/uiri/toml" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + )" + +python_test() { + "${EPYTHON}" "${S}/setup.py" test || die +} |