summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-09-07 09:15:24 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-09-07 09:15:24 +0300
commit70f0e6801a2f2eabd002baa04a01330e59113dac (patch)
treea7396a56f4b15409ce6ec91c00249fa9e4f353a7 /dev-python/sarge
parentdev-python/sarge: fix DISTUTILS_USE_SETUPTOOLS (diff)
downloadgentoo-70f0e6801a2f2eabd002baa04a01330e59113dac.tar.gz
gentoo-70f0e6801a2f2eabd002baa04a01330e59113dac.tar.bz2
gentoo-70f0e6801a2f2eabd002baa04a01330e59113dac.zip
dev-python/sarge: add 1.0.6, enable tests, enable py3.{9,10}
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/sarge')
-rw-r--r--dev-python/sarge/Manifest1
-rw-r--r--dev-python/sarge/sarge-0.1.6.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/sarge/Manifest b/dev-python/sarge/Manifest
index 35fcf876f7a8..92bd9c04981e 100644
--- a/dev-python/sarge/Manifest
+++ b/dev-python/sarge/Manifest
@@ -1 +1,2 @@
DIST sarge-0.1.5.post0.tar.gz 17860 BLAKE2B 484a5498a34a1e5ffa313ba012271898fd7634faf42a4574fad86c8252005ee91511f7c7e2c34c8836daa4e07f5558afcf88473ef7cb8d90c3a8e2b03ff32e30 SHA512 b2bef7bc3d5b4f5540f77cd3ed26342106557498b556ffbcac6aa74e69b719bc2f132ebc6f99d6539c1ce539ca3c7c45bf0735960b8a25ea6237a4a1a8d65a72
+DIST sarge-0.1.6.bb.tar.gz 55320 BLAKE2B 2a641f43ea57ee3b22668dedcfa15fa5e07e8b8d8630e3764739254fb109d61eaedfe8e6e059c43bd22760d822a8cf251616108a6662e9daa2e79a0e35443cb4 SHA512 8cf77141f516297cfc029b6255618f497ab94453214e61ef280dd571019a40f461d81ab9bb793b08de2dae89832e50aaf687205814b22c305e03883b9dc3bfea
diff --git a/dev-python/sarge/sarge-0.1.6.ebuild b/dev-python/sarge/sarge-0.1.6.ebuild
new file mode 100644
index 000000000000..72f8684fde47
--- /dev/null
+++ b/dev-python/sarge/sarge-0.1.6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=no
+inherit distutils-r1
+
+COMMIT="81dc3347651b"
+
+DESCRIPTION="wrapper for subprocess which provides command pipeline functionality"
+HOMEPAGE="https://sarge.readthedocs.org/"
+SRC_URI="
+ https://bitbucket.org/vinay.sajip/sarge/get/${PV}.tar.gz
+ -> ${P}.bb.tar.gz
+"
+S="${WORKDIR}/vinay.sajip-${PN}-${COMMIT}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+python_test() {
+ "${EPYTHON}" test_sarge.py -v || die "Tests failed with ${EPYTHON}"
+}