dev-python/sarge: add 1.0.6, enable tests, enable py3.{9,10}

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2021-09-07 09:15:24 +03:00
parent 62a625f802
commit 70f0e6801a
2 changed files with 27 additions and 0 deletions

View File

@@ -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

View File

@@ -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}"
}