diff options
author | Guillaume Horel | 2020-12-10 09:59:50 -0500 |
---|---|---|
committer | Guillaume Horel | 2020-12-10 09:59:50 -0500 |
commit | 9f33fc092c5411374a02c94adf7b22733425fe94 (patch) | |
tree | 13bd2d9e8f21205af247dde1b3ff1ce0d8d5ca89 | |
parent | ba69dc346ce6679383a0fc3c03f51ebe8f2aed31 (diff) | |
download | aur-9f33fc092c5411374a02c94adf7b22733425fe94.tar.gz |
force regenerating C files
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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() { |