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
This commit is contained in:
Patrice Clement
2018-09-25 22:21:43 +02:00
parent 4aee5b11ef
commit 00921f8ed3
3 changed files with 40 additions and 0 deletions

1
dev-python/toml/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST toml-0.9.6.tar.gz 14074 BLAKE2B 758dbde35e1afacad8456cfac42354f3205d2d1ae79ceeea1803fe253472e3299ba171ce9435529f64fd8a31adc7cc1c05282a76a47118b7aa0e3ed61ccacc25 SHA512 9f2804daebae0744c3a00bfb27b2f1efd73c96e7e5a14316d492200d63ba546167f669a187297c76daca5ef35b7adb6f309c1f6129302b6f41e6b7673bdb43b6

View File

@@ -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>

View File

@@ -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
}