public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/numpy: numpy-1.5.0-r2.ebuild
@ 2010-10-30  0:07 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 3+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-10-30  0:07 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/10/30 00:07:32

  Modified:             numpy-1.5.0-r2.ebuild
  Log:
  Use DOCS. Use $(python_get_sitedir) instead of usr/lib/python*/site-packages.
  
  (Portage version: 2.2.0_alpha2_p1/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  dev-python/numpy/numpy-1.5.0-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?r1=1.3&r2=1.4

Index: numpy-1.5.0-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- numpy-1.5.0-r2.ebuild	8 Oct 2010 08:32:48 -0000	1.3
+++ numpy-1.5.0-r2.ebuild	30 Oct 2010 00:07:32 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v 1.3 2010/10/08 08:32:48 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v 1.4 2010/10/30 00:07:32 arfrever Exp $
 
 EAPI="3"
 PYTHON_DEPEND="*"
@@ -33,6 +33,8 @@
 
 PYTHON_CFLAGS=("* + -fno-strict-aliasing")
 
+DOCS="COMPATIBILITY DEV_README.txt THANKS.txt"
+
 pkg_setup() {
 	python_pkg_setup
 
@@ -133,11 +135,16 @@
 
 src_install() {
 	distutils_src_install ${NUMPY_FCONFIG}
-	dodoc THANKS.txt DEV_README.txt COMPATIBILITY
-	rm -f "${ED}"usr/lib/python*/site-packages/numpy/*.txt || die
+
+	delete_txt() {
+		rm -f "${ED}"$(python_get_sitedir)/numpy/*.txt
+	}
+	python_execute_function -q delete_txt
+
 	docinto f2py
 	dodoc numpy/f2py/docs/*.txt || die "dodoc f2py failed"
 	doman numpy/f2py/f2py.1 || die "doman failed"
+
 	if use doc; then
 		insinto /usr/share/doc/${PF}
 		doins -r "${WORKDIR}"/html || die






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/numpy: numpy-1.5.0-r2.ebuild
@ 2010-11-07 17:38 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 3+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-11-07 17:38 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/11/07 17:38:36

  Modified:             numpy-1.5.0-r2.ebuild
  Log:
  Improve detection of test failures.
  
  (Portage version: 2.2.0_alpha4_p12/cvs/Linux x86_64)

Revision  Changes    Path
1.6                  dev-python/numpy/numpy-1.5.0-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?r1=1.5&r2=1.6

Index: numpy-1.5.0-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- numpy-1.5.0-r2.ebuild	7 Nov 2010 17:08:29 -0000	1.5
+++ numpy-1.5.0-r2.ebuild	7 Nov 2010 17:38:36 -0000	1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v 1.5 2010/11/07 17:08:29 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v 1.6 2010/11/07 17:38:36 arfrever Exp $
 
 EAPI="3"
 PYTHON_DEPEND="*"
@@ -126,7 +126,7 @@
 			--home="${S}/test-${PYTHON_ABI}" --no-compile || die "install test failed"
 		pushd "${S}/test-${PYTHON_ABI}/"lib* > /dev/null
 		PYTHONPATH=python "$(PYTHON)" -c "import numpy; numpy.test()" 2>&1 | tee test.log
-		grep -q '^ERROR' test.log && die "test failed"
+		grep -Eq '^(ERROR|FAIL):' test.log || return 1
 		popd > /dev/null
 		rm -fr test-${PYTHON_ABI}
 	}






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/numpy: numpy-1.5.0-r2.ebuild
@ 2010-11-07 17:41 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 3+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-11-07 17:41 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/11/07 17:41:38

  Modified:             numpy-1.5.0-r2.ebuild
  Log:
  Fix a typo.
  
  (Portage version: 2.2.0_alpha4_p12/cvs/Linux x86_64)

Revision  Changes    Path
1.7                  dev-python/numpy/numpy-1.5.0-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild?r1=1.6&r2=1.7

Index: numpy-1.5.0-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- numpy-1.5.0-r2.ebuild	7 Nov 2010 17:38:36 -0000	1.6
+++ numpy-1.5.0-r2.ebuild	7 Nov 2010 17:41:38 -0000	1.7
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v 1.6 2010/11/07 17:38:36 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.5.0-r2.ebuild,v 1.7 2010/11/07 17:41:38 arfrever Exp $
 
 EAPI="3"
 PYTHON_DEPEND="*"
@@ -126,7 +126,7 @@
 			--home="${S}/test-${PYTHON_ABI}" --no-compile || die "install test failed"
 		pushd "${S}/test-${PYTHON_ABI}/"lib* > /dev/null
 		PYTHONPATH=python "$(PYTHON)" -c "import numpy; numpy.test()" 2>&1 | tee test.log
-		grep -Eq '^(ERROR|FAIL):' test.log || return 1
+		grep -Eq '^(ERROR|FAIL):' test.log && return 1
 		popd > /dev/null
 		rm -fr test-${PYTHON_ABI}
 	}






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-07 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-30  0:07 [gentoo-commits] gentoo-x86 commit in dev-python/numpy: numpy-1.5.0-r2.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)
  -- strict thread matches above, loose matches on Subject: below --
2010-11-07 17:38 Arfrever Frehtes Taifersar Arahesis (arfrever)
2010-11-07 17:41 Arfrever Frehtes Taifersar Arahesis (arfrever)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox