Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/numpy: numpy-1.3.0-r2.ebuild
Date: Mon, 28 Dec 2009 02:34:07
Message-Id: E1NP5Qm-0007eH-LL@stork.gentoo.org
1 arfrever 09/12/28 02:34:00
2
3 Modified: numpy-1.3.0-r2.ebuild
4 Log:
5 Update HOMEPAGE.
6 (Portage version: 15152-svn/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.3 dev-python/numpy/numpy-1.3.0-r2.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/numpy/numpy-1.3.0-r2.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/numpy/numpy-1.3.0-r2.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/numpy/numpy-1.3.0-r2.ebuild?r1=1.2&r2=1.3
14
15 Index: numpy-1.3.0-r2.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.3.0-r2.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- numpy-1.3.0-r2.ebuild 20 Nov 2009 20:03:39 -0000 1.2
22 +++ numpy-1.3.0-r2.ebuild 28 Dec 2009 02:34:00 -0000 1.3
23 @@ -1,10 +1,8 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.3.0-r2.ebuild,v 1.2 2009/11/20 20:03:39 bicatali Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.3.0-r2.ebuild,v 1.3 2009/12/28 02:34:00 arfrever Exp $
28
29 EAPI="2"
30 -
31 -NEED_PYTHON="2.4"
32 SUPPORT_PYTHON_ABIS="1"
33
34 inherit distutils eutils flag-o-matic toolchain-funcs versionator
35 @@ -12,6 +10,7 @@
36 NP="${PN}-$(get_version_component_range 1-2)"
37
38 DESCRIPTION="Fast array and numerical python library"
39 +HOMEPAGE="http://numpy.scipy.org/ http://pypi.python.org/pypi/numpy"
40 SRC_URI="mirror://sourceforge/numpy/${P}.tar.gz
41 doc? (
42 http://docs.scipy.org/doc/${NP}.x/numpy-html.zip -> ${NP}-html.zip
43 @@ -19,7 +18,10 @@
44 http://docs.scipy.org/doc/${NP}.x/numpy-user.pdf -> ${NP}-user.pdf
45 )"
46
47 -HOMEPAGE="http://numpy.scipy.org/"
48 +LICENSE="BSD"
49 +SLOT="0"
50 +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"
51 +IUSE="doc lapack test"
52
53 RDEPEND="dev-python/setuptools
54 lapack? ( virtual/cblas virtual/lapack )"
55 @@ -27,25 +29,14 @@
56 lapack? ( dev-util/pkgconfig )
57 test? ( >=dev-python/nose-0.10 )
58 doc? ( app-arch/unzip )"
59 -
60 -IUSE="doc lapack test"
61 -SLOT="0"
62 -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"
63 -LICENSE="BSD"
64 -
65 -RESTRICT_PYTHON_ABIS="3*"
66 +RESTRICT_PYTHON_ABIS="3.*"
67
68 pkg_setup() {
69 - # whatever LDFLAGS set will break linking
70 - # see progress in http://projects.scipy.org/scipy/numpy/ticket/573
71 + # See progress in http://projects.scipy.org/scipy/numpy/ticket/573
72 # with the subtle difference that we don't want to break Darwin where
73 # -shared is not a valid linker argument
74 if [[ ${CHOST} != *-darwin* ]] ; then
75 - if [[ -n "${LDFLAGS}" ]]; then
76 - append-ldflags -shared
77 - else
78 - LDFLAGS="-shared"
79 - fi
80 + append-ldflags -shared
81 fi
82
83 # only one fortran to link with: