summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-04-23 13:17:40 +0200
committerMichał Górny <mgorny@gentoo.org>2020-04-23 13:23:34 +0200
commitcf8d2513ba474d5fb9e1407f83f504d7b2f6fa67 (patch)
tree77d59d59894f295c71914b0c46668b123f2ed87c /dev-python/tappy
parentdev-python/tappy: Fix pyyaml usage (diff)
downloadgentoo-cf8d2513ba474d5fb9e1407f83f504d7b2f6fa67.tar.gz
gentoo-cf8d2513ba474d5fb9e1407f83f504d7b2f6fa67.tar.bz2
gentoo-cf8d2513ba474d5fb9e1407f83f504d7b2f6fa67.zip
dev-python/tappy: Bump to 3.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/tappy')
-rw-r--r--dev-python/tappy/Manifest1
-rw-r--r--dev-python/tappy/tappy-3.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/tappy/Manifest b/dev-python/tappy/Manifest
index 002a652cb68a..0badd7a79486 100644
--- a/dev-python/tappy/Manifest
+++ b/dev-python/tappy/Manifest
@@ -1 +1,2 @@
DIST tap.py-2.4.tar.gz 145440 BLAKE2B 1c6effe086c50cb8b11355db0439207330446a245c42420a948e1c3ff8caf917d9a76ea00f231199a5bd79e7396bcd2a904b764ffa1db611c57947274095a0b9 SHA512 7c843c40f0029bb122fdafec0f5416164b77fac69142c2308a6d815f2f409cddb33c5a08547409e278f06036e21cb2a53cbd3263c23f59c6618c12c201b8209c
+DIST tap.py-3.0.tar.gz 141764 BLAKE2B 0d65d9c0691deef31475cf6db172e41340e112cacda240d32a55338665632613f09c98d0c7dcfbf28be997079f789054d71f1059fb74228507041163df9710a1 SHA512 58b0928dd28ba525d9bb5edfab5606cb67af15e75a5f03d2648280d30377e2aa23b314ed41dba3b09b7dfa1aefead53674df43b6087e552b9aa937472838e7db
diff --git a/dev-python/tappy/tappy-3.0.ebuild b/dev-python/tappy/tappy-3.0.ebuild
new file mode 100644
index 000000000000..8143c4ab1f2c
--- /dev/null
+++ b/dev-python/tappy/tappy-3.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} )
+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"
+S=${WORKDIR}/${MY_PN}-${PV}
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="yaml"
+
+RDEPEND="
+ yaml? (
+ dev-python/more-itertools[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ )"
+DEPEND="dev-python/Babel[${PYTHON_USEDEP}]
+ test? (
+ dev-python/more-itertools[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/mock[${PYTHON_USEDEP}]
+ ' -2)
+ )"
+
+distutils_enable_tests unittest