diff options
Diffstat (limited to 'dev-python/pytoml')
-rw-r--r-- | dev-python/pytoml/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytoml/pytoml-0.1.18.ebuild | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/pytoml/Manifest b/dev-python/pytoml/Manifest index 4583c860d30b..fa29c646b78f 100644 --- a/dev-python/pytoml/Manifest +++ b/dev-python/pytoml/Manifest @@ -1,2 +1,3 @@ DIST pytoml-0.1.14.tar.gz 7679 BLAKE2B 071ea5f91f9bfb07b55ce08a5d055b9ecb5425534380f16074452dab9a740aceabc7cb50c290cad388e1ce3854b561572577c50f4fe1ac47b7baca8f7233cd6e SHA512 1a608dfa563ebf979bd72b7fad755d3c02afbda6cff99a0ed9a36ca8eecaaea5f89b7b39ff1f5204dd7302e8957c8304dbc4c221e56589c7654edc0fe93f3178 +DIST pytoml-0.1.18.tar.gz 8110 BLAKE2B b3c68b20abc919b1c2f9849f8f754d1e9e2df1832a573a8b660d665dc05d0ce1f7501ef898b96e56e1136b19953386fb0386c4551b5e25c5c5f3cce16ee6a702 SHA512 659fcb9ad14e11dc5f6dc8a9a74e8d88b1b712f889e4ca35a014b4743950e81aa468eef536e159ae26b9fceeea8c2da5f6b0c5db083f467a929b3308daa3bf2f DIST toml-test-fa9501a192b7c46b82059caddaef978e3de883dc.tar.gz 16627 BLAKE2B 8cfa6fbee59f6482e22a03034ea0c37751fce337b7b7f652d959365c05201826344c1096f0a696aa84c0cd2f79fa3df6dbac73c1bf32f86d5e84db77a46c3fc6 SHA512 fea37ebf547633016a83c8e59e7d01a8df2e2795fdb8954246d10e4763675474e112fc52adfed38d3d8ce25bb5a60ef820f798aec2477b0fb7755f1cd6a66a98 diff --git a/dev-python/pytoml/pytoml-0.1.18.ebuild b/dev-python/pytoml/pytoml-0.1.18.ebuild new file mode 100644 index 000000000000..d08273e5ccc0 --- /dev/null +++ b/dev-python/pytoml/pytoml-0.1.18.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 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 +} |