diff --git a/mingw-w64-cython/PKGBUILD b/mingw-w64-cython/PKGBUILD index c77c5b446f..b031e0deab 100644 --- a/mingw-w64-cython/PKGBUILD +++ b/mingw-w64-cython/PKGBUILD @@ -1,11 +1,11 @@ # Contributor: Runar Tenfjord < runar dot tenfjord at gmail dot com > -_pkgname=cython +_realname=cython pkgname=("${MINGW_PACKAGE_PREFIX}-cython" "${MINGW_PACKAGE_PREFIX}-cython2") pkgver=0.21 -pkgrel=2 +pkgrel=1 pkgdesc="C-Extensions for Python (mingw-w64)" -arch=(x86_64) +arch=('any') groups=("${MINGW_PACKAGE_PREFIX}") url="http://www.cython.org" license=('APACHE') @@ -18,24 +18,20 @@ source=("http://cython.org/release/Cython-$pkgver.tar.gz") md5sums=('6c9c4d19ba485fe8cd88e23b57ac7886') prepare() { - cp -a $_pkgname-$pkgver $_pkgname-py2-$pkgver + cp -a $_realname-$pkgver $_realname-py2-$pkgver } package_cython() { - depends=( - "${MINGW_PACKAGE_PREFIX}-python3-setuptools" - ) - cd $_pkgname-$pkgver + depends=("${MINGW_PACKAGE_PREFIX}-python3-setuptools") + cd $_realname-$pkgver MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ ${MINGW_PREFIX}/bin/python3 setup.py install --prefix=${MINGW_PREFIX} \ --root="${pkgdir}" --optimize=1 } package_cython2() { - depends=( - "${MINGW_PACKAGE_PREFIX}-python2-setuptools" - ) - cd $_pkgname-py2-$pkgver + depends=("${MINGW_PACKAGE_PREFIX}-python2-setuptools") + cd $_realname-py2-$pkgver MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ ${MINGW_PREFIX}/bin/python3 setup.py install --prefix=${MINGW_PREFIX} \ --root="${pkgdir}" --optimize=1 diff --git a/mingw-w64-openblas/PKGBUILD b/mingw-w64-openblas/PKGBUILD index 20ce406ae6..55e5b958c3 100644 --- a/mingw-w64-openblas/PKGBUILD +++ b/mingw-w64-openblas/PKGBUILD @@ -6,7 +6,7 @@ pkgname="${MINGW_PACKAGE_PREFIX}-openblas" pkgver=0.2.11 pkgrel=1 pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD, providing optimized blas, lapack, and cblas. (mingw-w64)" -arch=('i686' 'x86_64') +arch=('any') url="http://xianyi.github.com/OpenBLAS/" license=('BSD') groups=("${MINGW_PACKAGE_PREFIX}") diff --git a/mingw-w64-python-matplotlib/PKGBUILD b/mingw-w64-python-matplotlib/PKGBUILD index bf9a40c7bb..273ac1c0f3 100644 --- a/mingw-w64-python-matplotlib/PKGBUILD +++ b/mingw-w64-python-matplotlib/PKGBUILD @@ -5,7 +5,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python2-$_realname" "${MINGW_PACKAGE_PREFIX}-p pkgver=1.4.0 pkgrel=2 pkgdesc="A python plotting library, making publication quality plots (mingw-w64)" -arch=('i686' 'x86_64') +arch=('any') url='http://matplotlib.org' license=('custom') makedepends=( diff --git a/mingw-w64-python-scipy/PKGBUILD b/mingw-w64-python-scipy/PKGBUILD index dae802ed7c..e4d89f2f40 100644 --- a/mingw-w64-python-scipy/PKGBUILD +++ b/mingw-w64-python-scipy/PKGBUILD @@ -5,7 +5,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python2-$_pkgname" "${MINGW_PACKAGE_PREFIX}-py pkgver=0.14.0 pkgrel=1 pkgdesc="SciPy is open-source software for mathematics, science, and engineering. (mingw-w64)" -arch=('i686' 'x86_64') +arch=('any') url="http://www.scipy.org/" license=('BSD') makedepends=(