python-numpy rebuild for correct replaces

This commit is contained in:
abveritas 2012-11-12 18:29:10 +00:00
parent b49bb6bd82
commit cad2ef5239
2 changed files with 13 additions and 11 deletions

View File

@ -1,29 +1,28 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=pygtk
pkgver=2.22.0
pkgrel=4
pkgrel=5
pkgdesc="Python bindings for the GTK widget set"
arch=('i686' 'x86_64')
arch=('x86_64')
license=('LGPL')
depends=('libglade>=2.6.4' 'python2-cairo>=1.10.0' 'python2-gobject>=2.28.6')
depends=('libglade' 'python2-cairo>=1.10.0' 'python2-gobject>=2.28.6')
makedepends=('python-numpy')
optdepends=('python-numpy')
options=('!libtool')
url="http://www.pygtk.org/"
source=(http://ftp.gnome.org/pub/gnome/sources/pygtk/2.22/${pkgname}-${pkgver}.tar.bz2
python27.patch)
source=("http://ftp.gnome.org/pub/gnome/sources/pygtk/2.22/${pkgname}-${pkgver}.tar.bz2"
'python27.patch')
sha256sums=('4acf0ef2bde8574913c40ee4a43d9c4f43bb77b577b67147271b534501a54cc8'
'39a30456cba055a452bb55c74ef1ff2f5f7bfaad22855b4dd569ab009b56b682')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
#https://bugzilla.gnome.org/show_bug.cgi?id=623965
patch -Np1 -i "${srcdir}/python27.patch"
patch -p1 -i "${srcdir}/python27.patch"
PYTHON=python2 ./configure --prefix=/usr
make
}

View File

@ -5,15 +5,18 @@
pkgname=python-numpy
pkgver=1.6.2
pkgrel=1
pkgrel=2
pkgdesc="Scientific tools for Python"
arch=('i686' 'x86_64')
arch=('x86_64')
license=('custom')
url="http://numpy.scipy.org/"
depends=('blas' 'lapack' 'python2')
makedepends=('python2-nose' 'gcc-fortran')
optdepends=('python2-nose: test suite')
source=(http://downloads.sourceforge.net/numpy/numpy-${pkgver}.tar.gz)
provides=('python-numeric')
conflicts=('python-numeric')
replaces=('python-numeric')
source=("http://downloads.sourceforge.net/numpy/numpy-${pkgver}.tar.gz")
md5sums=('95ed6c9dcc94af1fc1642ea2a33c1bba')
build() {