diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2018-07-23 10:37:47 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-07-25 19:27:33 +0200 |
commit | dda50c7edb662e34bfa203bf9659b7b7de221076 (patch) | |
tree | e287007d6b59e894d82d2b5991a5445e23198152 /dev-python/pytoml/pytoml-0.1.18.ebuild | |
parent | sys-libs/compiler-rt-sanitizers: Unrestrict test fixed in -9999 (diff) | |
download | gentoo-dda50c7edb662e34bfa203bf9659b7b7de221076.tar.gz gentoo-dda50c7edb662e34bfa203bf9659b7b7de221076.tar.bz2 gentoo-dda50c7edb662e34bfa203bf9659b7b7de221076.zip |
dev-python/pytoml: version bump.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-python/pytoml/pytoml-0.1.18.ebuild')
-rw-r--r-- | dev-python/pytoml/pytoml-0.1.18.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
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 +} |