* [gentoo-commits] gentoo-x86 commit in dev-python/numpy: numpy-1.5.0-r2.ebuild
@ 2010-10-30 0:07 99% Arfrever Frehtes Taifersar Arahesis (arfrever)
0 siblings, 0 replies; 1+ results
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 [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-10-30 0:07 99% [gentoo-commits] gentoo-x86 commit in dev-python/numpy: numpy-1.5.0-r2.ebuild 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