diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-02-19 15:34:06 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-02-19 15:34:06 +0000 |
commit | 216e97e1783d1564cfbfb87cb45980bb80e32d48 (patch) | |
tree | 2f80119a16c719cd5324a427b0c2a2aba03df5e8 /dev-python/numpy | |
parent | Patch to enable mic mute led in thinkpads. Patch for Zero copy for infiniband... (diff) | |
download | gentoo-2-216e97e1783d1564cfbfb87cb45980bb80e32d48.tar.gz gentoo-2-216e97e1783d1564cfbfb87cb45980bb80e32d48.tar.bz2 gentoo-2-216e97e1783d1564cfbfb87cb45980bb80e32d48.zip |
dev-python/numpy: Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'dev-python/numpy')
-rw-r--r-- | dev-python/numpy/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/numpy/numpy-1.6.2-r2.ebuild | 10 | ||||
-rw-r--r-- | dev-python/numpy/numpy-1.6.2.ebuild | 12 |
3 files changed, 16 insertions, 12 deletions
diff --git a/dev-python/numpy/ChangeLog b/dev-python/numpy/ChangeLog index 00323cee7474..b49ad0d80fa5 100644 --- a/dev-python/numpy/ChangeLog +++ b/dev-python/numpy/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/numpy # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/ChangeLog,v 1.186 2013/02/18 00:54:23 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/ChangeLog,v 1.187 2013/02/19 15:34:06 jlec Exp $ + + 19 Feb 2013; Justin Lecher <jlec@gentoo.org> numpy-1.6.2.ebuild, + numpy-1.6.2-r2.ebuild: + Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config 18 Feb 2013; Zac Medico <zmedico@gentoo.org> numpy-1.6.2-r2.ebuild: Add ~arm-linux keyword. diff --git a/dev-python/numpy/numpy-1.6.2-r2.ebuild b/dev-python/numpy/numpy-1.6.2-r2.ebuild index 13e51cabcac5..321c57272f24 100644 --- a/dev-python/numpy/numpy-1.6.2-r2.ebuild +++ b/dev-python/numpy/numpy-1.6.2-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.6.2-r2.ebuild,v 1.3 2013/02/18 00:54:23 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.6.2-r2.ebuild,v 1.4 2013/02/19 15:34:06 jlec Exp $ EAPI=5 @@ -45,17 +45,17 @@ src_unpack() { } pc_incdir() { - pkg-config --cflags-only-I $@ | \ + $(tc-getPKG_CONFIG) --cflags-only-I $@ | \ sed -e 's/^-I//' -e 's/[ ]*-I/:/g' } pc_libdir() { - pkg-config --libs-only-L $@ | \ + $(tc-getPKG_CONFIG) --libs-only-L $@ | \ sed -e 's/^-L//' -e 's/[ ]*-L/:/g' } pc_libs() { - pkg-config --libs-only-l $@ | \ + $(tc-getPKG_CONFIG) --libs-only-l $@ | \ sed -e 's/[ ]-l*\(pthread\|m\)[ ]*//g' \ -e 's/^-l//' -e 's/[ ]*-l/,/g' } @@ -64,7 +64,7 @@ python_prepare_all() { epatch "${FILESDIR}"/${PN}-1.6.1-atlas.patch if use lapack; then - append-ldflags "$(pkg-config --libs-only-other cblas lapack)" + append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-other cblas lapack)" local libdir="${EPREFIX}"/usr/$(get_libdir) # make sure _dotblas.so gets built sed -i -e '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py || die diff --git a/dev-python/numpy/numpy-1.6.2.ebuild b/dev-python/numpy/numpy-1.6.2.ebuild index 2476de4984d1..47baf933fda6 100644 --- a/dev-python/numpy/numpy-1.6.2.ebuild +++ b/dev-python/numpy/numpy-1.6.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.6.2.ebuild,v 1.14 2012/12/29 17:45:46 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.6.2.ebuild,v 1.15 2013/02/19 15:34:06 jlec Exp $ EAPI=4 @@ -73,17 +73,17 @@ src_unpack() { } pc_incdir() { - pkg-config --cflags-only-I $@ | \ + $(tc-getPKG_CONFIG) --cflags-only-I $@ | \ sed -e 's/^-I//' -e 's/[ ]*-I/:/g' } pc_libdir() { - pkg-config --libs-only-L $@ | \ + $(tc-getPKG_CONFIG) --libs-only-L $@ | \ sed -e 's/^-L//' -e 's/[ ]*-L/:/g' } pc_libs() { - pkg-config --libs-only-l $@ | \ + $(tc-getPKG_CONFIG) --libs-only-l $@ | \ sed -e 's/[ ]-l*\(pthread\|m\)[ ]*//g' \ -e 's/^-l//' -e 's/[ ]*-l/,/g' } @@ -92,7 +92,7 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-1.6.1-atlas.patch if use lapack; then - append-ldflags "$(pkg-config --libs-only-other cblas lapack)" + append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-other cblas lapack)" local libdir="${EPREFIX}"/usr/$(get_libdir) # make sure _dotblas.so gets built sed -i -e '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py || die |