diff options
author | Guillaume Horel | 2021-09-07 09:50:45 -0400 |
---|---|---|
committer | Guillaume Horel | 2021-09-07 09:50:45 -0400 |
commit | 475155b6abcaf2b1d91672e4f96fa3d7d28ab778 (patch) | |
tree | 718560a5610de13d44caf77cb76197ab44be19d0 | |
parent | a8f3eb69983a47917aad35e80cec443294e894b1 (diff) | |
download | aur-475155b6abcaf2b1d91672e4f96fa3d7d28ab778.tar.gz |
fix permission issues
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = python-scs pkgdesc = Convex cone solver via operator splitting. pkgver = 2.1.4 - pkgrel = 1 + pkgrel = 2 url = http://github.com/cvxgrp/scs/ arch = x86_64 license = MIT @@ -1,7 +1,7 @@ pkgname='python-scs' _pkgname='scs' pkgver='2.1.4' -pkgrel=1 +pkgrel=2 pkgdesc="Convex cone solver via operator splitting." url="http://github.com/cvxgrp/scs/" depends=('python' 'python-numpy' 'python-scipy') @@ -21,6 +21,7 @@ build() { package() { cd "${_pkgname}-${pkgver}" + rm -rf scs.egg-info python setup.py install --root="${pkgdir}" --optimize=1 --skip-build install -D -m644 ../LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" } @@ -28,5 +29,6 @@ package() { check() { cd "${_pkgname}-${pkgver}" python setup.py build_ext --inplace - pytest + cp src/__init__.py scs + PYTHONPATH=. pytest } |