diff options
Diffstat (limited to 'dev-python/tappy')
-rw-r--r-- | dev-python/tappy/Manifest | 3 | ||||
-rw-r--r-- | dev-python/tappy/metadata.xml | 15 | ||||
-rw-r--r-- | dev-python/tappy/tappy-2.4.ebuild | 37 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/tappy/Manifest b/dev-python/tappy/Manifest new file mode 100644 index 000000000000..7f9f634aeecb --- /dev/null +++ b/dev-python/tappy/Manifest @@ -0,0 +1,3 @@ +DIST tap.py-2.4.tar.gz 145440 BLAKE2B 1c6effe086c50cb8b11355db0439207330446a245c42420a948e1c3ff8caf917d9a76ea00f231199a5bd79e7396bcd2a904b764ffa1db611c57947274095a0b9 SHA512 7c843c40f0029bb122fdafec0f5416164b77fac69142c2308a6d815f2f409cddb33c5a08547409e278f06036e21cb2a53cbd3263c23f59c6618c12c201b8209c +EBUILD tappy-2.4.ebuild 992 BLAKE2B c597c7998eb08596ec0f2336e6c54b5db7716e2b6f87dd97ecd0c16c30e5ebb3d94b3aeb0ecccd2e3d6c65fe86a5ad9564d628c3b3e6cd200cbc447c8be404b5 SHA512 7093caeebbe16d38783036f19a5ea88ab29edab56bb977d34cd099ad7710f7c8269aa1a32a5955c1c5e4964094e40627098f4df32bbf5e2f81bb6ddb3b71dd72 +MISC metadata.xml 466 BLAKE2B e3ae71b2ade021aa7dac05316df1b14e1a483245103cff6aea76b6663735f5f9b2d772a7d75c6bd539da8bd1728f82639e324822fe86e1a5895b6729f455f8a5 SHA512 d43be4cc82a9795c36d9d39b37c92bd810148551a635879b802aee0fa87f833492a4c67c5e12c7b9d2cb800295242faf4157ae0cfa04269261a1b438a305262b diff --git a/dev-python/tappy/metadata.xml b/dev-python/tappy/metadata.xml new file mode 100644 index 000000000000..2cf31a2dbdc0 --- /dev/null +++ b/dev-python/tappy/metadata.xml @@ -0,0 +1,15 @@ +<?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> + </maintainer> + <use> + <flag name='yaml'>Pull dependencies needed to support YAML + blocks associated with test results.</flag> + </use> + <upstream> + <remote-id type="github">python-tap/tappy</remote-id> + <remote-id type="pypi">tap.py</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/tappy/tappy-2.4.ebuild b/dev-python/tappy/tappy-2.4.ebuild new file mode 100644 index 000000000000..7c1e42f927b7 --- /dev/null +++ b/dev-python/tappy/tappy-2.4.ebuild @@ -0,0 +1,37 @@ +# 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,7} ) +inherit distutils-r1 + +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" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="test yaml" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + yaml? ( + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + )" +DEPEND="dev-python/Babel[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + virtual/python-unittest-mock[${PYTHON_USEDEP}] + )" + +S=${WORKDIR}/${MY_PN}-${PV} + +python_test() { + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} |