summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2012-11-06 04:21:27 +0000
committerIan Delaney <idella4@gentoo.org>2012-11-06 04:21:27 +0000
commit20d52d17e15cce50cfbee319316ccf4591ee03b3 (patch)
treeff6894fb49308f654f42f39175db288ca46154d8 /dev-python/traits
parentPYTHONPATH set in test phase, fixes Bug #420055 (diff)
downloadhistorical-20d52d17e15cce50cfbee319316ccf4591ee03b3.tar.gz
historical-20d52d17e15cce50cfbee319316ccf4591ee03b3.tar.bz2
historical-20d52d17e15cce50cfbee319316ccf4591ee03b3.zip
PYTHONPATH set in test phase subsequent to Bug #420055
Package-Manager: portage-2.1.11.30/cvs/Linux x86_64
Diffstat (limited to 'dev-python/traits')
-rw-r--r--dev-python/traits/ChangeLog5
-rw-r--r--dev-python/traits/Manifest4
-rw-r--r--dev-python/traits/traits-4.2.0.ebuild15
3 files changed, 19 insertions, 5 deletions
diff --git a/dev-python/traits/ChangeLog b/dev-python/traits/ChangeLog
index 84167334a5a3..c4def68aa788 100644
--- a/dev-python/traits/ChangeLog
+++ b/dev-python/traits/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/traits
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.32 2012/11/06 04:16:00 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.33 2012/11/06 04:21:05 idella4 Exp $
+
+ 06 Nov 2012; Ian Delaney <idella4@gentoo.org> traits-4.2.0.ebuild:
+ PYTHONPATH set in test phase subsequent to Bug #420055
06 Nov 2012; Ian Delaney <idella4@gentoo.org> traits-4.1.0.ebuild:
PYTHONPATH set in test phase, fixes Bug #420055
diff --git a/dev-python/traits/Manifest b/dev-python/traits/Manifest
index 3eb7469ae7ef..8edb5e3cff4f 100644
--- a/dev-python/traits/Manifest
+++ b/dev-python/traits/Manifest
@@ -5,6 +5,6 @@ DIST traits-4.2.0.tar.gz 4838020 SHA256 ca90fe98f0cf33db8fec0d696cfe624e690907a6
EBUILD traits-3.6.0.ebuild 1537 SHA256 f2978ca6b48b363c7cf284a2ee65c3b41f2d8060ea58c8dcfd2f96bfdb854329 SHA512 93680939304aa4d223cc24d8173673657c87a57cda3476f1ad855a84902822033611cdda61884579abdcbfe01412d03cec783d11fd3a95501dcb16d06d4b766a WHIRLPOOL 9720ebd2b3566a49c80cb0ce55bed4e56d6cfc6db8dfe287c5860cd22d74e16a2556f21e6efc4eeda97cfad8f1d06f665c58d1fd7afa7d7eb471eb5d6917a5ca
EBUILD traits-4.0.0.ebuild 1395 SHA256 4bb4e21be1f680f5517d7b84dc1b424ab32d5bb1a65ec2a66720b5cac71317d2 SHA512 46537261bfd3791a05bb6284b5694c94a5909132dd36e9a176adfe2c87031d8af0a2f9162e34572c7d21e0efb7e983e2c57fce0a18224bad9ca9e96aa107e0c3 WHIRLPOOL b531df69bf28dc50275fb9b9c070b11c8ff5d5aa03725ddf388a5b923be5f32bf10ee19356ca27a1a4dde6fb96ebc63139e4d5308047f2c694877f58a4c84ad2
EBUILD traits-4.1.0.ebuild 1367 SHA256 81856cee234739fd2d64c4aa7bfbc2bc2c06d6bc72bc91321f38c4c6879c3e1a SHA512 f0075d8880536ee07e09165b28a46bca4cfabcef81f9453dff8eb1af7342205d8d7b2ee75936bd67adef3acb3046acd5ee6a3839de3fd82816a995fa351fee1f WHIRLPOOL 1da4dae472c5d1fcf23617a38f6cc02c6b7b6cd1b132fcbbe36dc746e21b86a561d6d0c00100371c12565d7030b3ed324bd896eaaa74220ba3922283c3bc4d80
-EBUILD traits-4.2.0.ebuild 1127 SHA256 226d2b3abd731305ff3539018e169a6cebd16d0a416a71a2e7c91710d6067f33 SHA512 235091557889e0b1a5a6353802d75eff9aa658bc6cb57d706e79c1e4a7d652c83b0f98445eed711a4b8fe77028ae4742b9cf943573fe92d78a6014fc0abf48f6 WHIRLPOOL 055d1cc4b3d9ad4872c6d7f1bb624204a098db96f7ef920cf2826cbb6096fa8b553fdb2b6b955052e5c0f9e30d92e9c52a391339797e3f1243bccf32a275bde3
-MISC ChangeLog 4007 SHA256 36e0c9705785b5d04883d6f7ff9a38acc1eb287927df47d1ab79e18b3538775b SHA512 f73a5d1683c55fc1f6e60a8cede15b0f2eb7ee19adb815faa2c3c3430bcbaaa3f7fa0bdfbe2748f097da05a4a08d11a150058d4b6cd4a5ac37c8a83775e63385 WHIRLPOOL e77d41e89a895e8ce9d20634187cc03a4f78482346ded1eaa3e2ee0126a6c8c71cafa27bfe9d6b6511ff166b9ea6f1786740b92df4cc2c98f518826b9fbe07dc
+EBUILD traits-4.2.0.ebuild 1453 SHA256 99b8244d49695d492f3c2ef1125fda059805e4459500a0d6d3ce76ab431c1be8 SHA512 4fde75b5018b09bdff85635d981b9be4c81c4a28e5a0fe9a994ad4fd657e561067b0f64fb449c25ad502e20012a9700b3182a9d475bb208848d2c74d77613481 WHIRLPOOL ca34a27f90b61244f57ee9c05c836797717714879cac719911b7d42b0b5acc52aa2e8cb9eb70d1ecaa0f9bb7d3dc1cc391af3aff2949c75b7660626a268c16c9
+MISC ChangeLog 4134 SHA256 e7bb46f4083ac2aa289370b05e71167358a6060a452c00b308836018157548b0 SHA512 759a5bf773593c54aaa72114c960327ad600b8c2d15f9ffdd8bbacd8e43459c9aaa38b05b38e22707bdac87565b6ef6865b9db58b8569bfbea637768861de7ec WHIRLPOOL 5288a7ec06cc84d973d62c86dc75e8893d79c48c939c36a279cc72738104a5ae9a6515e5a4a2fe3f51797fa5f250180a515429944ac153bf75bad27b09820b70
MISC metadata.xml 893 SHA256 9d3429d85f4fcfe0abbfff888ea41c1d0b930fee06a3d89c7960b23c12309c26 SHA512 fd05f7d1e7e4e81d18ae5e3149ab8e88c304c627e58cc65464523e089f8dbdee360a8286846d59e56cacee2ca7ebe1c3563d68b494c2d8c7dd3978c9a4afa998 WHIRLPOOL 87c73326eaf1372f702c2109dc7f9713a5752eb8b3e426e530594098aeff78d876d0f588aa733cb3708c87c3db147711c20d874cadcc8c12719e4d9dfeec914d
diff --git a/dev-python/traits/traits-4.2.0.ebuild b/dev-python/traits/traits-4.2.0.ebuild
index 6ebfb34ebfac..2fcadda8677e 100644
--- a/dev-python/traits/traits-4.2.0.ebuild
+++ b/dev-python/traits/traits-4.2.0.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-4.2.0.ebuild,v 1.1 2012/10/09 13:31:29 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-4.2.0.ebuild,v 1.2 2012/11/06 04:21:05 idella4 Exp $
EAPI=4
SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
+RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx
@@ -35,6 +35,17 @@ src_compile() {
use doc && virtualmake -C docs html
}
+src_test() {
+ testing() {
+ local exit_status=0
+ pushd $(find build-${PYTHON_ABI}/ -name "${PN}") > /dev/null
+ PYTHONPATH=. nosetests -v tests || exit_status=1
+ popd > /dev/null
+ return $exit_status
+ }
+ python_execute_function testing
+}
+
src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install