summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel2020-12-10 09:59:50 -0500
committerGuillaume Horel2020-12-10 09:59:50 -0500
commit9f33fc092c5411374a02c94adf7b22733425fe94 (patch)
tree13bd2d9e8f21205af247dde1b3ff1ce0d8d5ca89
parentba69dc346ce6679383a0fc3c03f51ebe8f2aed31 (diff)
downloadaur-9f33fc092c5411374a02c94adf7b22733425fe94.tar.gz
force regenerating C files
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0def3440ca5..4656b91298d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-scikit-sparse
pkgdesc = Scikit sparse matrix package
pkgver = 0.4.4
- pkgrel = 2
+ pkgrel = 3
url = https://pypi.python.org/pypi/scikit-sparse/
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 98943fd85e0..be530783959 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pyname=scikit-sparse
pkgname=python-$_pyname
pkgver=0.4.4
-pkgrel=2
+pkgrel=3
pkgdesc='Scikit sparse matrix package'
url="https://pypi.python.org/pypi/$_pyname/"
checkdepends=('python-nose')
@@ -17,11 +17,12 @@ sha256sums=('e9e6741ab0a43f43071e123d7d6250c9d60373308e55f0a0c5488b8eec4df319')
prepare() {
cd "$srcdir/$_pyname-$pkgver"
rm -rf scikit_sparse.egg-info
+ echo -e "[build_ext]\nforce = 1" >> setup.cfg
}
build() {
cd $srcdir/$_pyname-$pkgver
- python setup.py build
+ CFLAGS="$CFLAGS" python setup.py build
}
package() {