dev-python/toml: new package.
authorPatrice Clement <monsieurp@gentoo.org>
Tue, 25 Sep 2018 20:21:43 +0000 (22:21 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 26 Sep 2018 23:01:13 +0000 (01:01 +0200)
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

dev-python/toml/Manifest [new file with mode: 0644]
dev-python/toml/metadata.xml [new file with mode: 0644]
dev-python/toml/toml-0.9.6.ebuild [new file with mode: 0644]

diff --git a/dev-python/toml/Manifest b/dev-python/toml/Manifest
new file mode 100644 (file)
index 0000000..396b35e
--- /dev/null
@@ -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 (file)
index 0000000..c071751
--- /dev/null
@@ -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 (file)
index 0000000..875843e
--- /dev/null
@@ -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
+}