mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
dev-python/sancho: remove last-rited pkg
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST Sancho-2.4.tar.gz 7962 BLAKE2B 10e57286834276c6ca37638f4e550d676f5a31f2fa7fb567dfcceb492111c92ffa5aa313886f1d0803048f612aad905f0fd4ebcbcb41838942af083ea1dec2c7 SHA512 49230ee8a05dbc5bf3d7b3900504f47a3a47f013878e75f93c277610e4d22f9714b9a58a41a779e25b0ddb9c24ff351508c0b72c78fe146b8371024345629e21
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>robbat2@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="Sancho-${PV}"
|
||||
|
||||
DESCRIPTION="Sancho is a unit testing framework"
|
||||
HOMEPAGE="https://www.mems-exchange.org/software/sancho/"
|
||||
SRC_URI="https://www.mems-exchange.org/software/files/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="CNRI"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_test() {
|
||||
cd test
|
||||
local test test_failure test_failure_count=0
|
||||
for test in *.py; do
|
||||
test_failure="0"
|
||||
ebegin "Testing ${test}"
|
||||
"${PYTHON}" "${test}" > "${test}.output"
|
||||
grep -Eqv "^${test}: .*:$" "${test}.output" && test_failure="1"
|
||||
eend "${test_failure}"
|
||||
if [[ "${test_failure}" == "1" ]]; then
|
||||
((test_failure_count++))
|
||||
eerror "Failure output for ${test}"
|
||||
cat "${test}.output"
|
||||
fi
|
||||
done
|
||||
if [[ "${test_failure_count}" -gt "0" ]]; then
|
||||
die "${test_failure_count} tests failed"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user