summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Hron <jaroslav.hron@gmail.com>2011-08-11 11:39:49 +0200
committerJaroslav Hron <jaroslav.hron@gmail.com>2011-08-11 11:39:49 +0200
commitedf24aa16c45fd703a1552613e3134fa47639227 (patch)
tree14619557a5d9d083e079cf657f1358af0303c467 /dev-python
parentset repo name (diff)
downloadjxh-edf24aa16c45fd703a1552613e3134fa47639227.tar.gz
jxh-edf24aa16c45fd703a1552613e3134fa47639227.tar.bz2
jxh-edf24aa16c45fd703a1552613e3134fa47639227.zip
initial check-in
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/numpy/Manifest13
-rw-r--r--dev-python/numpy/files/numpy-1.1.0-f2py.patch36
-rw-r--r--dev-python/numpy/files/numpy-1.3.0-alpha.patch24
-rw-r--r--dev-python/numpy/files/numpy-1.3.0-arm-sh.patch50
-rw-r--r--dev-python/numpy/files/numpy-1.3.0-darwin-no-arch.patch83
-rw-r--r--dev-python/numpy/files/numpy-1.3.0-fenv-freebsd.patch28
-rw-r--r--dev-python/numpy/files/numpy-1.3.0-parisc.patch12
-rw-r--r--dev-python/numpy/files/numpy-1.4.0-interix.patch15
-rw-r--r--dev-python/numpy/numpy-1.5.0.ebuild140
-rw-r--r--dev-python/python-poppler/Manifest3
10 files changed, 404 insertions, 0 deletions
diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest
new file mode 100644
index 0000000..cd2a6c4
--- /dev/null
+++ b/dev-python/numpy/Manifest
@@ -0,0 +1,13 @@
+AUX numpy-1.1.0-f2py.patch 1123 RMD160 ff90313cbe8282ac37b0cb98effa0ff6a03760c2 SHA1 5c37ea9be68782e533c7c2d64ca00e8e8ae648ea SHA256 cc67bc8ab7dba2febb91ba15cc51933021743a286c980e0068afd6fabdd065e7
+AUX numpy-1.3.0-alpha.patch 1210 RMD160 d92ca3fa7d671da1ff8e3e2e1a6b64469cf7142b SHA1 0a8740710d7b2e40b1a8899771b641999440558b SHA256 ea0da717e694338a1bca72f1b635309be15af2cdee206b50de4b38ce95701c64
+AUX numpy-1.3.0-arm-sh.patch 2166 RMD160 cc60f574ab7fe29968ebc56f9018c2427f01f6cc SHA1 59b4751c26abf837a69d8bd637bd9abb89344f72 SHA256 9b373c5b8886df971c350c44766ccdf165ffec6c2082f68704121965ad7a2f37
+AUX numpy-1.3.0-darwin-no-arch.patch 3016 RMD160 a35968a68fac400e14d5eeafb44e058825c17ed5 SHA1 35b3fa3b0ed149f2f9f906e7a81d7f3cd0260d58 SHA256 9058cb30c54314e4e8dc5e4c0e4be3178664067d1ae71b0bee9576293f8cd71d
+AUX numpy-1.3.0-fenv-freebsd.patch 1177 RMD160 78a84e18836472bd9c657771c43a44e417ec3e19 SHA1 4dba898255df4784eac9e52633307991c12029de SHA256 2fa3ed9fdeb9dc529d51da4ba8a3a7ea4cc4bb9998fffa66426b1606f2c637b5
+AUX numpy-1.3.0-parisc.patch 474 RMD160 682971d65894aeb2e87de5f8eac717a8f7803318 SHA1 da6067bd782604119111d69fce06b7536d59f6ca SHA256 413af76d3b5518d2f544c4497110a3401d40a7ea713a7449ea8826facddbf225
+AUX numpy-1.4.0-interix.patch 478 RMD160 9a0290253238e09b824069d0026a5d2f00c90a8f SHA1 261e45c3feb068f033eed9b6468f5115ea418ca5 SHA256 4d6adcc1c66aa1399871c37f57e94ae7138c157ee5575945e83224a36c98c142
+DIST numpy-1.3-html.zip 3303495 RMD160 bd35c66c78574e6225de59a47cf161f3623c5119 SHA1 10799530be334cd7b1120a0b46f3c6f5deae5110 SHA256 933724b83300c9fc0779a579dad212ca8dcee230f1d892a56b977f3854d87c7e
+DIST numpy-1.3-ref.pdf 3907485 RMD160 54fe28c711b49ccc160dceed05bafa4e605aec36 SHA1 1edc6a3467bb36c5f395c2ed4dc066394180c6f8 SHA256 c8420df5d25e7fd76e7662477787184d068f43fc340b6975fa1db9ec06c773e7
+DIST numpy-1.3-user.pdf 461480 RMD160 a8aa36e6a0c03784fa3147cc0f0967c7f3c726d6 SHA1 059eee01d65ea401e47f978e2d5ebf5f67973723 SHA256 ab99f999d33eb1d1100ddb5c995ba525edaa64efce51a1f06b65a8285779d636
+DIST numpy-1.5.0.tar.gz 2276377 RMD160 6c6a8ce32d32705b66966c7a58359a0f2f404549 SHA1 5e3c40e1dde20bd8fda7a2131cb1259af7689295 SHA256 06d2181c884c5937c7c475103dd55de4fe4842a9d91bab1ed0965dd973a4661a
+EBUILD numpy-1.5.0.ebuild 4744 RMD160 dc53bc0e19db57d7f6e976a130af21f3604aa813 SHA1 d01051a577b21a8880383eda5ed406e7ec61ac0d SHA256 ea42e1b32c9659d5b12c2d45875867bbd528c3340f6cca0c5f18383fcaf58781
+MISC numpy-1.5.0.ebuild~ 4623 RMD160 75f44412f06549fb014cdea30a070a42cc4dc332 SHA1 31e05cf081da6c7e857e0fcdd0e372955c2d6a3b SHA256 aa56a999fda21c671601dc0b64d29e27eadd6061e45d5694199b6f98dc8e7fa4
diff --git a/dev-python/numpy/files/numpy-1.1.0-f2py.patch b/dev-python/numpy/files/numpy-1.1.0-f2py.patch
new file mode 100644
index 0000000..1ec18a9
--- /dev/null
+++ b/dev-python/numpy/files/numpy-1.1.0-f2py.patch
@@ -0,0 +1,36 @@
+diff -Nur numpy/f2py/f2py.1 numpy/f2py.new/f2py.1
+--- numpy/f2py/f2py.1 2006-07-26 21:04:19.000000000 +0100
++++ numpy/f2py.new/f2py.1 2007-02-14 12:16:47.000000000 +0000
+@@ -184,7 +184,7 @@
+
+ Optional Numarray 0.9 or higher partially supported.
+
+-numpy_distutils from Scipy (can be downloaded from F2PY homepage)
++numpy_distutils from Numpy (can be downloaded from F2PY homepage)
+ .SH "SEE ALSO"
+ python(1)
+ .SH BUGS
+@@ -200,10 +200,8 @@
+
+ Mailing list: http://cens.ioc.ee/mailman/listinfo/f2py-users/
+
+-Scipy website: http://www.numpy.org
++Numpy website: http://numeric.numpy.org
+ .SH COPYRIGHT
+ Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005 Pearu Peterson
+ .SH LICENSE
+ NumPy License
+-.SH VERSION
+-2.45.241
+diff -Nur numpy/f2py/setup.py numpy/f2py.new/setup.py
+--- numpy/f2py/setup.py 2006-10-03 05:35:22.000000000 +0100
++++ numpy/f2py.new/setup.py 2007-02-14 12:16:41.000000000 +0000
+@@ -35,8 +35,7 @@
+
+ config.add_data_files('src/fortranobject.c',
+ 'src/fortranobject.h',
+- 'f2py.1'
+ )
+
+ config.make_svn_version_py()
+
diff --git a/dev-python/numpy/files/numpy-1.3.0-alpha.patch b/dev-python/numpy/files/numpy-1.3.0-alpha.patch
new file mode 100644
index 0000000..3aa5fe4
--- /dev/null
+++ b/dev-python/numpy/files/numpy-1.3.0-alpha.patch
@@ -0,0 +1,24 @@
+diff -ur numpy-1.3.0.orig/numpy/core/include/numpy/npy_cpu.h numpy-1.3.0/numpy/core/include/numpy/npy_cpu.h
+--- numpy-1.3.0.orig/numpy/core/include/numpy/npy_cpu.h 2009-07-22 16:22:51.000000000 +0200
++++ numpy-1.3.0/numpy/core/include/numpy/npy_cpu.h 2009-07-22 16:23:18.000000000 +0200
+@@ -44,6 +44,8 @@
+ #define NPY_CPU_IA64
+ #elif defined(__hppa__)
+ #define NPY_CPU_PARISC
++#elif defined(__alpha__)
++ #define NPY_CPU_ALPHA
+ #else
+ #error Unknown CPU, please report this to numpy maintainers with \
+ information about your platform (OS, CPU and compiler)
+diff -ur numpy-1.3.0.orig/numpy/core/include/numpy/npy_endian.h numpy-1.3.0/numpy/core/include/numpy/npy_endian.h
+--- numpy-1.3.0.orig/numpy/core/include/numpy/npy_endian.h 2009-07-22 16:22:51.000000000 +0200
++++ numpy-1.3.0/numpy/core/include/numpy/npy_endian.h 2009-07-22 16:23:04.000000000 +0200
+@@ -22,7 +22,7 @@
+ #include "npy_cpu.h"
+
+ #if defined(NPY_CPU_X86) || defined(NPY_CPU_AMD64)\
+- || defined(NPY_CPU_IA64)
++ || defined(NPY_CPU_IA64) || defined(NPY_CPU_ALPHA)
+ #define NPY_LITTLE_ENDIAN
+ #define NPY_BYTE_ORDER 1234
+ #elif defined(NPY_CPU_PPC) || defined(NPY_CPU_SPARC)\ \ No newline at end of file
diff --git a/dev-python/numpy/files/numpy-1.3.0-arm-sh.patch b/dev-python/numpy/files/numpy-1.3.0-arm-sh.patch
new file mode 100644
index 0000000..798eebb
--- /dev/null
+++ b/dev-python/numpy/files/numpy-1.3.0-arm-sh.patch
@@ -0,0 +1,50 @@
+diff -urNp numpy-1.3.0-old/numpy/core/include/numpy/npy_cpu.h numpy-1.3.0-new/numpy/core/include/numpy/npy_cpu.h
+--- numpy-1.3.0-old/numpy/core/include/numpy/npy_cpu.h 2009-08-16 17:49:39.000000000 +0530
++++ numpy-1.3.0-new/numpy/core/include/numpy/npy_cpu.h 2009-08-16 17:49:19.000000000 +0530
+@@ -9,6 +9,10 @@
+ * NPY_CPU_S390
+ * NPY_CPU_IA64
+ * NPY_CPU_PARISC
++ * NPY_CPU_ARMEL
++ * NPY_CPU_ARMEB
++ * NPY_CPU_SH_LE
++ * NPY_CPU_SH_BE
+ */
+ #ifndef _NPY_CPUARCH_H_
+ #define _NPY_CPUARCH_H_
+@@ -46,6 +50,14 @@
+ #define NPY_CPU_PARISC
+ #elif defined(__alpha__)
+ #define NPY_CPU_ALPHA
++#elif defined(__arm__) && defined(__ARMEL__)
++ #define NPY_CPU_ARMEL
++#elif defined(__arm__) && defined(__ARMEB__)
++ #define NPY_CPU_ARMEB
++#elif defined(__sh__) && defined(__LITTLE_ENDIAN__)
++ #define NPY_CPU_SH_LE
++#elif defined(__sh__) && defined(__BIG_ENDIAN__)
++ #define NPY_CPU_SH_BE
+ #else
+ #error Unknown CPU, please report this to numpy maintainers with \
+ information about your platform (OS, CPU and compiler)
+diff -urNp numpy-1.3.0-old/numpy/core/include/numpy/npy_endian.h numpy-1.3.0-new/numpy/core/include/numpy/npy_endian.h
+--- numpy-1.3.0-old/numpy/core/include/numpy/npy_endian.h 2009-08-16 17:49:46.000000000 +0530
++++ numpy-1.3.0-new/numpy/core/include/numpy/npy_endian.h 2009-08-16 17:48:39.000000000 +0530
+@@ -22,11 +22,15 @@
+ #include "npy_cpu.h"
+
+ #if defined(NPY_CPU_X86) || defined(NPY_CPU_AMD64)\
+- || defined(NPY_CPU_IA64) || defined(NPY_CPU_ALPHA)
++ || defined(NPY_CPU_IA64) || defined(NPY_CPU_ALPHA)\
++ || defined(NPY_CPU_ARMEL)\
++ || defined(NPY_CPU_SH_LE)
+ #define NPY_LITTLE_ENDIAN
+ #define NPY_BYTE_ORDER 1234
+ #elif defined(NPY_CPU_PPC) || defined(NPY_CPU_SPARC)\
+- || defined(NPY_CPU_S390) || defined(NPY_CPU_PARISC)
++ || defined(NPY_CPU_S390) || defined(NPY_CPU_PARISC)\
++ || defined(NPY_CPU_ARMEB)\
++ || defined(NPY_CPU_SH_BE)
+ #define NPY_BIG_ENDIAN
+ #define NPY_BYTE_ORDER 4321
+ #else
diff --git a/dev-python/numpy/files/numpy-1.3.0-darwin-no-arch.patch b/dev-python/numpy/files/numpy-1.3.0-darwin-no-arch.patch
new file mode 100644
index 0000000..e96611d
--- /dev/null
+++ b/dev-python/numpy/files/numpy-1.3.0-darwin-no-arch.patch
@@ -0,0 +1,83 @@
+gfortran -v happily accepts any -arch X argument, but also happily dies
+during compilation that it doesn't understand -arch argument. Hence,
+testing if -arch is supported like this is kind of not working well.
+
+Since Apple does not officially ship fortran support (any), I wonder how
+universal support could have crept into this piece of code all. They
+don't even have an Apple GCC compiler with fortran support (like we do
+with Gentoo Prefix).
+
+http://projects.scipy.org/numpy/ticket/1087
+
+
+--- numpy/distutils/fcompiler/gnu.py
++++ numpy/distutils/fcompiler/gnu.py
+@@ -12,13 +12,6 @@
+
+ TARGET_R = re.compile("Target: ([a-zA-Z0-9_\-]*)")
+
+-# XXX: do we really need to check for target ? If the arch is not supported,
+-# the return code should be != 0
+-_R_ARCHS = {"ppc": r"^Target: (powerpc-.*)$",
+- "i686": r"^Target: (i686-.*)$",
+- "x86_64": r"^Target: (i686-.*)$",
+- "ppc64": r"^Target: (powerpc-.*)$",}
+-
+ class GnuFCompiler(FCompiler):
+ compiler_type = 'gnu'
+ compiler_aliases = ('g77',)
+@@ -215,6 +208,7 @@
+ # OS X: GNU Fortran 95 (GCC) 4.1.0
+ # GNU Fortran 95 (GCC) 4.2.0 20060218 (experimental)
+ # GNU Fortran (GCC) 4.3.0 20070316 (experimental)
++ # GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5574)
+
+ possible_executables = ['gfortran', 'f95']
+ executables = {
+@@ -241,46 +235,6 @@
+
+ g2c = 'gfortran'
+
+- # Note that this is here instead of GnuFCompiler as gcc < 4 uses a
+- # different output format (which isn't as useful) than gcc >= 4,
+- # and we don't have to worry about g77 being universal (as it can't be).
+- def _can_target(self, cmd, arch):
+- """Return true is the compiler support the -arch flag for the given
+- architecture."""
+- newcmd = cmd[:]
+- newcmd.extend(["-arch", arch, "-v"])
+- st, out = exec_command(" ".join(newcmd))
+- if st == 0:
+- for line in out.splitlines():
+- m = re.search(_R_ARCHS[arch], line)
+- if m:
+- return True
+- return False
+-
+- def _universal_flags(self, cmd):
+- """Return a list of -arch flags for every supported architecture."""
+- if not sys.platform == 'darwin':
+- return []
+- arch_flags = []
+- for arch in ["ppc", "i686"]:
+- if self._can_target(cmd, arch):
+- arch_flags.extend(["-arch", arch])
+- return arch_flags
+-
+- def get_flags(self):
+- flags = GnuFCompiler.get_flags(self)
+- arch_flags = self._universal_flags(self.compiler_f90)
+- if arch_flags:
+- flags[:0] = arch_flags
+- return flags
+-
+- def get_flags_linker_so(self):
+- flags = GnuFCompiler.get_flags_linker_so(self)
+- arch_flags = self._universal_flags(self.linker_so)
+- if arch_flags:
+- flags[:0] = arch_flags
+- return flags
+-
+ def get_library_dirs(self):
+ opt = GnuFCompiler.get_library_dirs(self)
+ if sys.platform == 'win32':
diff --git a/dev-python/numpy/files/numpy-1.3.0-fenv-freebsd.patch b/dev-python/numpy/files/numpy-1.3.0-fenv-freebsd.patch
new file mode 100644
index 0000000..629fc76
--- /dev/null
+++ b/dev-python/numpy/files/numpy-1.3.0-fenv-freebsd.patch
@@ -0,0 +1,28 @@
+--- numpy/core/include/numpy/ufuncobject.h.orig 2009-07-28 15:04:42 -0400
++++ numpy/core/include/numpy/ufuncobject.h 2009-07-28 15:05:58 -0400
+@@ -318,8 +318,10 @@
+
+ #elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
+
+-#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__) || defined(__FreeBSD__)
++#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
+ #include <fenv.h>
++#elif defined(__FreeBSD__)
++#include "fenv/fenv.h"
+ #elif defined(__CYGWIN__)
+ #include "fenv/fenv.c"
+ #endif
+--- numpy/numarray/_capi.c.orig 2009-07-28 15:18:13 -0400
++++ numpy/numarray/_capi.c 2009-07-28 15:19:04 -0400
+@@ -8,8 +8,10 @@
+ #include <sys/param.h>
+ #endif
+
+-#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
++#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
+ #include <fenv.h>
++#elif (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
++#include "numpy/fenv/fenv.h"
+ #elif defined(__CYGWIN__)
+ #include "numpy/fenv/fenv.h"
+ #include "numpy/fenv/fenv.c"
diff --git a/dev-python/numpy/files/numpy-1.3.0-parisc.patch b/dev-python/numpy/files/numpy-1.3.0-parisc.patch
new file mode 100644
index 0000000..fd95f28
--- /dev/null
+++ b/dev-python/numpy/files/numpy-1.3.0-parisc.patch
@@ -0,0 +1,12 @@
+--- numpy-1.3.0/numpy/core/include/numpy/npy_cpu.h.orig 2009-04-05 10:09:20.000000000 +0200
++++ numpy-1.3.0/numpy/core/include/numpy/npy_cpu.h 2009-07-15 17:13:35.000000000 +0200
+@@ -42,8 +42,7 @@
+ #define NPY_CPU_S390
+ #elif defined(__ia64)
+ #define NPY_CPU_IA64
+-#elif defined(__parisc__)
+- /* XXX: Not sure about this one... */
++#elif defined(__hppa__)
+ #define NPY_CPU_PARISC
+ #else
+ #error Unknown CPU, please report this to numpy maintainers with \
diff --git a/dev-python/numpy/files/numpy-1.4.0-interix.patch b/dev-python/numpy/files/numpy-1.4.0-interix.patch
new file mode 100644
index 0000000..b755867
--- /dev/null
+++ b/dev-python/numpy/files/numpy-1.4.0-interix.patch
@@ -0,0 +1,15 @@
+Reported [2010.01.18]: http://projects.scipy.org/numpy/ticket/1365
+
+diff -ru numpy-1.4.0.orig/numpy/core/setup.py numpy-1.4.0/numpy/core/setup.py
+--- numpy-1.4.0.orig/numpy/core/setup.py 2010-01-15 16:49:14 +0100
++++ numpy-1.4.0/numpy/core/setup.py 2010-01-15 17:02:27 +0100
+@@ -169,6 +169,9 @@
+ priv = []
+ pub = []
+
++ if os.uname()[0] == "Interix":
++ return priv, pub
++
+ # Check for complex support
+ st = config.check_header('complex.h')
+ if st:
diff --git a/dev-python/numpy/numpy-1.5.0.ebuild b/dev-python/numpy/numpy-1.5.0.ebuild
new file mode 100644
index 0000000..1620c75
--- /dev/null
+++ b/dev-python/numpy/numpy-1.5.0.ebuild
@@ -0,0 +1,140 @@
+# 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.ebuild,v 1.1 2010/09/02 13:25:02 djc Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils eutils flag-o-matic toolchain-funcs versionator
+
+NP="${PN}-1.3"
+
+DESCRIPTION="Fast array and numerical python library"
+HOMEPAGE="http://numpy.scipy.org/ http://pypi.python.org/pypi/numpy"
+SRC_URI="mirror://sourceforge/numpy/${P}.tar.gz
+ doc? (
+ http://docs.scipy.org/doc/${NP}.x/numpy-html.zip -> ${NP}-html.zip
+ http://docs.scipy.org/doc/${NP}.x/numpy-ref.pdf -> ${NP}-ref.pdf
+ http://docs.scipy.org/doc/${NP}.x/numpy-user.pdf -> ${NP}-user.pdf
+ )"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -ppc -ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="doc lapack test"
+
+RDEPEND="dev-python/setuptools
+ lapack? ( virtual/cblas virtual/lapack )"
+DEPEND="${RDEPEND}
+ lapack? ( dev-util/pkgconfig )
+ test? ( >=dev-python/nose-0.10 )
+ doc? ( app-arch/unzip )"
+
+pkg_setup() {
+ # See progress in http://projects.scipy.org/scipy/numpy/ticket/573
+ # with the subtle difference that we don't want to break Darwin where
+ # -shared is not a valid linker argument
+ if [[ ${CHOST} != *-darwin* ]] ; then
+ append-ldflags -shared
+ fi
+
+ # only one fortran to link with:
+ # linking with cblas and lapack library will force
+ # autodetecting and linking to all available fortran compilers
+ use lapack || return
+ [[ -z ${FC} ]] && FC=$(tc-getFC)
+ # when fortran flags are set, pic is removed.
+ FFLAGS="${FFLAGS} -fPIC"
+ NUMPY_FCONFIG="config_fc --noopt --noarch"
+ # workaround bug 335908
+ [[ ${FC} == *gfortran* ]] && NUMPY_FCONFIG="${NUMPY_FCONFIG} --fcompiler=gnu95"
+ export NUMPY_FCONFIG
+}
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${NP}-html.zip -d html || die
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.1.0-f2py.patch
+ epatch "${FILESDIR}"/${PN}-1.3.0-fenv-freebsd.patch # bug 279487
+
+ # Gentoo patch for ATLAS library names
+ sed -i \
+ -e "s:'f77blas':'blas':g" \
+ -e "s:'ptf77blas':'blas':g" \
+ -e "s:'ptcblas':'cblas':g" \
+ -e "s:'lapack_atlas':'lapack':g" \
+ numpy/distutils/system_info.py \
+ || die "sed system_info.py failed"
+
+ if use lapack; then
+ append-ldflags "$(pkg-config --libs-only-other cblas lapack)"
+ sed -i -e '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py || die
+ local libdir="${EPREFIX}"/usr/$(get_libdir)
+ cat >> site.cfg <<-EOF
+ [atlas]
+ include_dirs = $(pkg-config --cflags-only-I \
+ cblas | sed -e 's/^-I//' -e 's/ -I/:/g')
+ library_dirs = $(pkg-config --libs-only-L \
+ cblas blas lapack | sed -e 's/^-L//' -e 's/ -L/:/g' -e 's/ //g'):${libdir}
+ atlas_libs = $(pkg-config --libs-only-l \
+ cblas blas | sed -e 's/^-l//' -e 's/ -l/, /g' -e 's/,.pthread//g')
+ lapack_libs = $(pkg-config --libs-only-l \
+ lapack | sed -e 's/^-l//' -e 's/ -l/, /g' -e 's/,.pthread//g')
+ [blas_opt]
+ include_dirs = $(pkg-config --cflags-only-I \
+ cblas | sed -e 's/^-I//' -e 's/ -I/:/g')
+ library_dirs = $(pkg-config --libs-only-L \
+ cblas blas | sed -e 's/^-L//' -e 's/ -L/:/g' -e 's/ //g'):${libdir}
+ libraries = $(pkg-config --libs-only-l \
+ cblas blas | sed -e 's/^-l//' -e 's/ -l/, /g' -e 's/,.pthread//g')
+ [lapack_opt]
+ library_dirs = $(pkg-config --libs-only-L \
+ lapack | sed -e 's/^-L//' -e 's/ -L/:/g' -e 's/ //g'):${libdir}
+ libraries = $(pkg-config --libs-only-l \
+ lapack | sed -e 's/^-l//' -e 's/ -l/, /g' -e 's/,.pthread//g')
+ EOF
+ else
+ export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
+ fi
+
+ epatch "${FILESDIR}"/${PN}-1.4.0-interix.patch
+}
+
+src_compile() {
+ distutils_src_compile ${NUMPY_FCONFIG}
+}
+
+src_test() {
+ testing() {
+ "$(PYTHON)" setup.py ${NUMPY_FCONFIG} build -b "build-${PYTHON_ABI}" install \
+ --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"
+ popd > /dev/null
+ rm -fr test-${PYTHON_ABI}
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ [[ -z ${ED} ]] && local ED=${D}
+ distutils_src_install ${NUMPY_FCONFIG}
+ dodoc THANKS.txt DEV_README.txt COMPATIBILITY
+ rm -f "${ED}"/usr/lib/python*/site-packages/numpy/*.txt || die
+ 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
+ doins "${DISTDIR}"/${NP}*pdf || die
+ fi
+}
diff --git a/dev-python/python-poppler/Manifest b/dev-python/python-poppler/Manifest
new file mode 100644
index 0000000..91892a5
--- /dev/null
+++ b/dev-python/python-poppler/Manifest
@@ -0,0 +1,3 @@
+DIST pypoppler-0.10.0.tar.gz 292043 RMD160 f7a2616d84dc5438559775a1c5b3338149aafd9f SHA1 a442c3f06ce5d23e78658c6ba0962cfb8b0539e3 SHA256 1c09814a457375da607aa400cd8774b98c016c760ea513e3a22357cf4fca63b1
+EBUILD python-poppler-0.10.0.ebuild 841 RMD160 646dad0f12bb19165cac47181141d5d51f06a53b SHA1 7c16489214cfc6be6e329b98e84d7b47374bef19 SHA256 474ae3fa6e48104cb25bedb1dd259346f189710dde7b2d8c3c48b3f6f8edf4d7
+MISC python-poppler-0.10.0.ebuild~ 806 RMD160 35dd7fcd43e65916d96ae63254c98c06daa8b779 SHA1 22943cfc43285895715feef8cb54964bfae52a92 SHA256 64e384b81531b65b88c25c87e904b1c8236a1612c8c248345b2458024705abc0