diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-08 20:11:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-08 20:11:47 +0100 |
commit | f625b9919a60a30f1bd860f7d1b2eac183ced593 (patch) | |
tree | 7543f00925ff7277e31881de0a87801681f6f92f /dev-python/roman/roman-3.0.ebuild | |
parent | e3872864be25f7421015bef2732fa57c0c9fb726 (diff) |
gentoo resync : 08.08.2018
Diffstat (limited to 'dev-python/roman/roman-3.0.ebuild')
-rw-r--r-- | dev-python/roman/roman-3.0.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/roman/roman-3.0.ebuild b/dev-python/roman/roman-3.0.ebuild new file mode 100644 index 000000000000..deedd46e8b51 --- /dev/null +++ b/dev-python/roman/roman-3.0.ebuild @@ -0,0 +1,29 @@ +# 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="An Integer to Roman numerals converter" +HOMEPAGE="https://pypi.org/project/roman/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + !<dev-python/docutils-0.9[${PYTHON_USEDEP}]" + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + cp "${S}/src/tests.py" . || die "copying test file failed" + esetup.py test +} |