diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pytoml | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pytoml')
-rw-r--r-- | dev-python/pytoml/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pytoml/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pytoml/pytoml-0.1.14.ebuild | 26 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pytoml/Manifest b/dev-python/pytoml/Manifest new file mode 100644 index 000000000000..cc9c4e5f237f --- /dev/null +++ b/dev-python/pytoml/Manifest @@ -0,0 +1,4 @@ +DIST pytoml-0.1.14.tar.gz 7679 BLAKE2B 071ea5f91f9bfb07b55ce08a5d055b9ecb5425534380f16074452dab9a740aceabc7cb50c290cad388e1ce3854b561572577c50f4fe1ac47b7baca8f7233cd6e SHA512 1a608dfa563ebf979bd72b7fad755d3c02afbda6cff99a0ed9a36ca8eecaaea5f89b7b39ff1f5204dd7302e8957c8304dbc4c221e56589c7654edc0fe93f3178 +DIST toml-test-fa9501a192b7c46b82059caddaef978e3de883dc.tar.gz 16627 BLAKE2B 8cfa6fbee59f6482e22a03034ea0c37751fce337b7b7f652d959365c05201826344c1096f0a696aa84c0cd2f79fa3df6dbac73c1bf32f86d5e84db77a46c3fc6 SHA512 fea37ebf547633016a83c8e59e7d01a8df2e2795fdb8954246d10e4763675474e112fc52adfed38d3d8ce25bb5a60ef820f798aec2477b0fb7755f1cd6a66a98 +EBUILD pytoml-0.1.14.ebuild 761 BLAKE2B 2ad1fc738d3424daf9b89bd3c15461a13cdb3dedfc85e07b5dca7e7caac513417830fa78890f8a3a34b004ec043d318431112f27d4e5637b7344e9a1e5ecce39 SHA512 f2d2b977649851808b3929aff22580e8108ad1d46e903b272e8a09976066585a3990b673a20462a42bbbc9785a02d64df121256f4ed258a8ccb22620767abff0 +MISC metadata.xml 362 BLAKE2B fade23ceaa3b73c711e020a55500ce06c2b948a3dbafc1d39900c813a19716a8c3688ee1c83e500427b361559b6cec31f354a33f8ee72669ddb1e46ab6ffe45d SHA512 6122e392ec59d0c033d04e9b5855c28f81993755a1be2b688608a4efecbb6fd3f61fb5a6d41b3af294b1c0beacfd8edec39a454ff2a34ed0db088399301bdc0a diff --git a/dev-python/pytoml/metadata.xml b/dev-python/pytoml/metadata.xml new file mode 100644 index 000000000000..0b02f1b3ec21 --- /dev/null +++ b/dev-python/pytoml/metadata.xml @@ -0,0 +1,12 @@ +<?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">avakar/pytoml</remote-id> + <remote-id type="pypi">pytoml</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytoml/pytoml-0.1.14.ebuild b/dev-python/pytoml/pytoml-0.1.14.ebuild new file mode 100644 index 000000000000..4fbf49311c5f --- /dev/null +++ b/dev-python/pytoml/pytoml-0.1.14.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +inherit distutils-r1 + +TOML_TEST_COMMIT="fa9501a192b7c46b82059caddaef978e3de883dc" + +DESCRIPTION="A TOML-0.4.0 parser/writer for Python" +HOMEPAGE="https://github.com/avakar/pytoml" +SRC_URI="https://github.com/avakar/pytoml/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/avakar/toml-test/archive/${TOML_TEST_COMMIT}.tar.gz -> toml-test-${TOML_TEST_COMMIT}.tar.gz )" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + cp -R ../toml-test-${TOML_TEST_COMMIT}/* test/toml-test/ || die + ${EPYTHON} test/test.py || die +} |