diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = python-ecos pkgdesc = Python interface for ECOS. - pkgver = 2.0.10 + pkgver = 2.0.11 pkgrel = 1 url = https://github.com/embotech/ecos-python arch = x86_64 @@ -11,9 +11,9 @@ pkgbase = python-ecos depends = python-scipy depends = ecos depends = suitesparse - source = python-ecos-2.0.10.tar.gz::https://github.com/embotech/ecos-python/archive/v2.0.10.tar.gz + source = python-ecos-2.0.11.tar.gz::https://github.com/embotech/ecos-python/archive/v2.0.11.tar.gz source = use_external_ecos.patch - sha256sums = fc22c5cc7883c4a446283d28dc051c9ba0f899d497f75468fcd0bb2f29139726 + sha256sums = 01ebd3fc8a54822e035c5d69f750fc577001754a057a6a023b68e736c43a7823 sha256sums = c929cbe71cf8a109a66cbc681c6c501c42517b44e63f88440c36e5c7ca9e3be9 pkgname = python-ecos @@ -1,7 +1,7 @@ # Maintainer: Guillaume Horel <guillaume.horel@gmail.com> pkgname='python-ecos' _module='ecos-python' -pkgver='2.0.10' +pkgver='2.0.11' pkgrel=1 pkgdesc="Python interface for ECOS." url="https://github.com/embotech/ecos-python" @@ -15,27 +15,27 @@ license=('GPL3') arch=('x86_64') source=("$pkgname-$pkgver.tar.gz::https://github.com/embotech/ecos-python/archive/v${pkgver}.tar.gz" "use_external_ecos.patch") -sha256sums=('fc22c5cc7883c4a446283d28dc051c9ba0f899d497f75468fcd0bb2f29139726' +sha256sums=('01ebd3fc8a54822e035c5d69f750fc577001754a057a6a023b68e736c43a7823' 'c929cbe71cf8a109a66cbc681c6c501c42517b44e63f88440c36e5c7ca9e3be9') prepare() { - cd "${srcdir}/${_module}-${pkgver}" + cd "${_module}-${pkgver}" patch -p1 < ../use_external_ecos.patch } build() { - cd "${srcdir}/${_module}-${pkgver}" + cd "${_module}-${pkgver}" make version python setup.py build } check() { - cd "${srcdir}/${_module}-${pkgver}" + cd "${_module}-${pkgver}" python setup.py build_ext --inplace nosetests } package() { - cd "${srcdir}/${_module}-${pkgver}" + cd "${_module}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build } |