diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-05-16 21:51:49 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-05-16 21:58:06 +0300 |
commit | c35677ddbe58640cefee33c311f94e870320bc68 (patch) | |
tree | 781d99e805097fffe05d0a1396f5dfc9602357c7 /dev-python/tappy | |
parent | dev-python/tinycss: enable py3.11 (diff) | |
download | gentoo-c35677ddbe58640cefee33c311f94e870320bc68.tar.gz gentoo-c35677ddbe58640cefee33c311f94e870320bc68.tar.bz2 gentoo-c35677ddbe58640cefee33c311f94e870320bc68.zip |
dev-python/tappy: PEP517
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/tappy')
-rw-r--r-- | dev-python/tappy/tappy-3.1-r1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/tappy/tappy-3.1-r1.ebuild b/dev-python/tappy/tappy-3.1-r1.ebuild new file mode 100644 index 000000000000..129eb09f6c2d --- /dev/null +++ b/dev-python/tappy/tappy-3.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 optfeature + +MY_PN=tap.py +DESCRIPTION="Test Anything Protocol (TAP) tools" +HOMEPAGE="https://github.com/python-tap/tappy https://pypi.org/project/tap.py/" +SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +S=${WORKDIR}/${MY_PN}-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + dev-python/Babel[${PYTHON_USEDEP}] + test? ( + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + )" + +distutils_enable_tests unittest +distutils_enable_sphinx docs + +pkg_postinst() { + optfeature "YAML blocks associated with test results" \ + "dev-python/more-itertools dev-python/pyyaml" +} |