summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel2018-11-23 18:07:54 -0500
committerGuillaume Horel2018-11-23 18:09:01 -0500
commit2bf508140b26c0f27414d13641cf524a1908f966 (patch)
tree8d4de274691cbcda5aa06dfc0449381e8fcf4c82
parent130ecee8c37d6559400e1086104cbc6583f44685 (diff)
downloadaur-2bf508140b26c0f27414d13641cf524a1908f966.tar.gz
version bump
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48a2d2c4477..51d7f171d2c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,9 +12,9 @@ pkgbase = python-ecos
depends = python-scipy
depends = ecos
depends = suitesparse
- source = https://github.com/embotech/ecos-python/archive/2.0.7rc2.tar.gz
+ source = https://github.com/embotech/ecos-python/archive/2.0.7.tar.gz
source = use_external_ecos.patch
- sha256sums = aba90a898da8a3f679e6169ee02c8d604960e721a6ff591671d2695efc5bab20
+ sha256sums = 5cec19d5647b2bf8f07c7c06c7005d2113c44a911dd7832a4955b228af19982c
sha256sums = c929cbe71cf8a109a66cbc681c6c501c42517b44e63f88440c36e5c7ca9e3be9
pkgname = python-ecos
diff --git a/PKGBUILD b/PKGBUILD
index 447a1b72b08..2253dee86e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,6 @@
pkgname=('python-ecos')
_module='ecos-python'
pkgver='2.0.7'
-_pkgver="${pkgver}rc2"
pkgrel=1
pkgdesc="Python interface for ECOS."
url="https://github.com/embotech/ecos-python"
@@ -15,28 +14,29 @@ makedepends=('python-setuptools')
checkdepends=('python-nose')
license=('GPL3')
arch=('x86_64')
-source=("https://github.com/embotech/ecos-python/archive/${_pkgver}.tar.gz"
+source=("https://github.com/embotech/ecos-python/archive/${pkgver}.tar.gz"
"use_external_ecos.patch")
-sha256sums=('aba90a898da8a3f679e6169ee02c8d604960e721a6ff591671d2695efc5bab20'
+sha256sums=('5cec19d5647b2bf8f07c7c06c7005d2113c44a911dd7832a4955b228af19982c'
'c929cbe71cf8a109a66cbc681c6c501c42517b44e63f88440c36e5c7ca9e3be9')
prepare() {
- cd "${srcdir}/${_module}-${_pkgver}"
+ cd "${srcdir}/${_module}-${pkgver}"
patch -p1 < ../use_external_ecos.patch
}
build() {
- cd "${srcdir}/${_module}-${_pkgver}"
+ cd "${srcdir}/${_module}-${pkgver}"
+ make version
python setup.py build
}
check() {
- cd "${srcdir}/${_module}-${_pkgver}"
+ cd "${srcdir}/${_module}-${pkgver}"
python setup.py build_ext --inplace
nosetests
}
package() {
- cd "${srcdir}/${_module}-${_pkgver}"
+ cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}