summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel2018-05-24 10:10:19 -0400
committerGuillaume Horel2018-05-24 10:10:19 -0400
commit6378598b0c3e7c49145a266a1053dacbb93c0f44 (patch)
tree3d2c380dba99e06a8de1a0427db0a396e21f536f
parent39c42912490249e72a956adb47ff8c8c9b561596 (diff)
downloadaur-6378598b0c3e7c49145a266a1053dacbb93c0f44.tar.gz
version bump
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 15 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9573a65eb3f..56bd13b302f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = python-scs
pkgdesc = Convex cone solver via operator splitting.
- pkgver = 1.2.7
+ pkgver = 2.0.1
pkgrel = 1
url = http://github.com/cvxgrp/scs/
- arch = i686
arch = x86_64
license = MIT
+ checkdepends = python-nose
makedepends = python-setuptools
depends = python
- source = https://pypi.org/packages/source/s/scs/scs-1.2.7.tar.gz
+ source = https://pypi.org/packages/source/s/scs/scs-2.0.1.tar.gz
source = LICENSE.txt
- sha256sums = e284517e31bd8aac2e1e022376c46bade26d55ce4ef078cf796a9e70ab2b2433
+ sha256sums = 4e319356af8b9682cfa431e89533d199e3b0c79e63f0417eee9190bfc7e59489
sha256sums = 47d0bba3f33546d08d9dea012d70b1362d2e917553bb751183fcf046519fd868
pkgname = python-scs
diff --git a/PKGBUILD b/PKGBUILD
index ecd84c0bdd1..f0e7a5c9512 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
pkgname=('python-scs')
_pkgname='scs'
-pkgver='1.2.7'
+pkgver='2.0.1'
pkgrel=1
pkgdesc="Convex cone solver via operator splitting."
url="http://github.com/cvxgrp/scs/"
depends=('python')
makedepends=('python-setuptools')
+checkdepends=('python-nose')
license=('MIT')
-arch=('i686' 'x86_64')
+arch=('x86_64')
source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
"LICENSE.txt")
-sha256sums=('e284517e31bd8aac2e1e022376c46bade26d55ce4ef078cf796a9e70ab2b2433'
+sha256sums=('4e319356af8b9682cfa431e89533d199e3b0c79e63f0417eee9190bfc7e59489'
'47d0bba3f33546d08d9dea012d70b1362d2e917553bb751183fcf046519fd868')
build() {
@@ -23,3 +24,10 @@ package() {
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -D -m644 ../../LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}
+
+check() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py build_ext --inplace
+ cp src/__init__.py scs
+ nosetests
+}