summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-02-14 01:20:29 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-02-14 01:20:29 +0000
commitcbed0cae5550d5612f4cac8c916af6da660dd935 (patch)
tree334fd349950184ef85740b0a7fe6fb444258dd2a /dev-python/sancho
parentfixing patch and ebuild, use qt3 eclass, use always our CFLAGS. (diff)
downloadhistorical-cbed0cae5550d5612f4cac8c916af6da660dd935.tar.gz
historical-cbed0cae5550d5612f4cac8c916af6da660dd935.tar.bz2
historical-cbed0cae5550d5612f4cac8c916af6da660dd935.zip
Add sancho-2.1-r1 with src_test block.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'dev-python/sancho')
-rw-r--r--dev-python/sancho/ChangeLog7
-rw-r--r--dev-python/sancho/Manifest22
-rw-r--r--dev-python/sancho/files/digest-sancho-2.1-r13
-rw-r--r--dev-python/sancho/sancho-2.1-r1.ebuild51
4 files changed, 69 insertions, 14 deletions
diff --git a/dev-python/sancho/ChangeLog b/dev-python/sancho/ChangeLog
index 56cae7c247b4..b74d70d3318e 100644
--- a/dev-python/sancho/ChangeLog
+++ b/dev-python/sancho/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/sancho
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sancho/ChangeLog,v 1.6 2006/02/13 21:21:59 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sancho/ChangeLog,v 1.7 2006/02/14 01:20:29 robbat2 Exp $
+
+*sancho-2.1-r1 (14 Feb 2006)
+
+ 14 Feb 2006; Robin H. Johnson <robbat2@gentoo.org> +sancho-2.1-r1.ebuild:
+ Add sancho-2.1-r1 with src_test block.
*sancho-0.11-r1 (13 Feb 2006)
diff --git a/dev-python/sancho/Manifest b/dev-python/sancho/Manifest
index 8adc03f82756..5a5c13687ad1 100644
--- a/dev-python/sancho/Manifest
+++ b/dev-python/sancho/Manifest
@@ -1,9 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 bb57fdef4381b55a6ae8567ee565b277 ChangeLog 1193
-RMD160 4fa0969ac6d426993123d084024d1b7ed474e84f ChangeLog 1193
-SHA256 81f739db5371ef401eb0f4551076dedb1a5545f1d095d56494a8761b75e9be11 ChangeLog 1193
+MD5 68922234501d6f9ee00bffdcfb31b3c5 ChangeLog 1341
+RMD160 e4f21fdd8e70857188cd9c562de051a676d8787f ChangeLog 1341
+SHA256 87d6828476635da711bc04f2cc0d0a6b347f51d419a1c84318b2d62b604061ec ChangeLog 1341
MD5 bca61ad6d9eb1aca0d32b522d1bd85c7 files/digest-sancho-0.11 232
RMD160 850318e6d5165b8aa70ee9a6c2907f870218386e files/digest-sancho-0.11 232
SHA256 580d4255591a58681a94cd7d5d87dd1a3b70cb7cf62294ddbcd81aa214ed1794 files/digest-sancho-0.11 232
@@ -13,6 +10,9 @@ SHA256 580d4255591a58681a94cd7d5d87dd1a3b70cb7cf62294ddbcd81aa214ed1794 files/di
MD5 2206393d3f046826d15332acd5af3a0a files/digest-sancho-2.1 226
RMD160 a0466f4e55236c0291010d7bb1a17fcc4cd99512 files/digest-sancho-2.1 226
SHA256 71bb9afe9be424498af64b16e976f071b73f573d1a1a53c373971ed8c9ead856 files/digest-sancho-2.1 226
+MD5 2206393d3f046826d15332acd5af3a0a files/digest-sancho-2.1-r1 226
+RMD160 a0466f4e55236c0291010d7bb1a17fcc4cd99512 files/digest-sancho-2.1-r1 226
+SHA256 71bb9afe9be424498af64b16e976f071b73f573d1a1a53c373971ed8c9ead856 files/digest-sancho-2.1-r1 226
MD5 3228eaf8c0618baf8dce32f9fe76a937 files/sancho-0.11-rename-package.patch 1815
RMD160 78528d75e2ba9f87250e14473d9840ddc866208d files/sancho-0.11-rename-package.patch 1815
SHA256 cbe7b5fa77d9a79130a140ed25bf7ab99b911b3d64e1598ecc43ffc44d6d3e17 files/sancho-0.11-rename-package.patch 1815
@@ -25,13 +25,9 @@ SHA256 12976206b13fc4f0db63e59afa46f1ef866afc747d5f4786878ad4e42f421cd3 sancho-0
MD5 529d47d4f5fd9cd78152e6e54ede3aad sancho-0.11.ebuild 673
RMD160 1cffccad9c59bd6d170e27bc8fe81a8663ecd267 sancho-0.11.ebuild 673
SHA256 8e49bab4e1035e9485051c46db7c5110d5617d99cc3d18b7a2b0f4e8ad7c0a58 sancho-0.11.ebuild 673
+MD5 c8bba2fcb4466c5651f1f80873d75afb sancho-2.1-r1.ebuild 1293
+RMD160 0e1dbed4f834f7391f1df4d4fae79abc1c64fa0e sancho-2.1-r1.ebuild 1293
+SHA256 6e568824112084d3bd6c79ff4492291a143b1c86e93582a217b3903af4cbabac sancho-2.1-r1.ebuild 1293
MD5 d51137f14b233b01d99e5bb759124609 sancho-2.1.ebuild 630
RMD160 b11c1b5afbb5dc3ddc31efaaf4ab2d3b4f09341a sancho-2.1.ebuild 630
SHA256 69f30365f8e4e8815d6c54335970e736380c23021d96940b0102636c486563fc sancho-2.1.ebuild 630
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFD8PiIW78445TWHXcRAo+6AKCK6Usb1H17bV82NmZ6zZyetuchtwCfTZNq
-H5qLDpnyt03LUrMOTxk/AQ0=
-=GA+c
------END PGP SIGNATURE-----
diff --git a/dev-python/sancho/files/digest-sancho-2.1-r1 b/dev-python/sancho/files/digest-sancho-2.1-r1
new file mode 100644
index 000000000000..89fd279702da
--- /dev/null
+++ b/dev-python/sancho/files/digest-sancho-2.1-r1
@@ -0,0 +1,3 @@
+MD5 19ae84f0d90af7efdb5d473ab2122b80 Sancho-2.1.tar.gz 8372
+RMD160 52096c125d65df22ef20665b4bf40d1868809746 Sancho-2.1.tar.gz 8372
+SHA256 c12596b8bff18644439c3c25a7f61c7fe6423c17f8133f0fb4e8d525fceb7e4c Sancho-2.1.tar.gz 8372
diff --git a/dev-python/sancho/sancho-2.1-r1.ebuild b/dev-python/sancho/sancho-2.1-r1.ebuild
new file mode 100644
index 000000000000..33bcaa43e335
--- /dev/null
+++ b/dev-python/sancho/sancho-2.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sancho/sancho-2.1-r1.ebuild,v 1.1 2006/02/14 01:20:29 robbat2 Exp $
+
+inherit distutils
+
+MY_P=${P/s/S}
+DESCRIPTION="Sancho is a unit testing framework"
+HOMEPAGE="http://www.mems-exchange.org/software/sancho/"
+SRC_URI="http://www.mems-exchange.org/software/files/${PN}/${MY_P}.tar.gz"
+
+LICENSE="CNRI"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+DEPEND=">=dev-lang/python-2.3"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ mydoc="CHANGES.txt README.txt"
+ distutils_src_install
+}
+
+src_test() {
+ einfo "Setting up test env."
+ mkdir "${T}/tests"
+ "${python}" setup.py install --home="${T}/tests" "$@" \
+ || die "Failed to install tests"
+ pushd "${T}/tests"
+ einfo "Running"
+ failcount=0
+ for tst in ${S}/test/*.py ; do
+ b="$(basename ${tst})"
+ o=${T}/tests/output-${b}
+ ebegin "Testing ${b}"
+ PYTHONPATH=lib/python "${python}" ${tst} >>${o}
+ egrep -qv "^.*/${b}: .*:\$" ${o}
+ rcv=$?
+ eend $rc
+ if [ $rcv -eq 0 ]; then
+ let failcount=${failcount}+1
+ eerror "Failure output for ${b}"
+ cat ${o}
+ fi
+ done;
+ [ $failcount -gt 0 ] && die "${failcount} tests failed"
+ einfo "Cleaning up test env."
+ popd
+ #rm -rf "${T}/tests"
+}