summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel2017-01-20 13:09:03 -0500
committerGuillaume Horel2017-01-20 13:09:03 -0500
commited1db6062e4b49d56e196809c03ee3e13fb8a99d (patch)
treed6633f376b29ff0dcc9ab8ac3c219afb6f5d4665
downloadaur-ed1db6062e4b49d56e196809c03ee3e13fb8a99d.tar.gz
initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..de453124606
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python-scs
+ pkgdesc = Convex cone solver via operator splitting.
+ pkgver = 1.2.6
+ pkgrel = 1
+ url = http://github.com/cvxgrp/cvxpy/
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ source = https://github.com/cvxgrp/scs/archive/v1.2.6.tar.gz
+ sha256sums = b4bebb43a1257b6e88a5f97c855c0559d6c8a8c0548d3156fc5a28d82bb9533f
+
+pkgname = python-scs
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4f869205950
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+pkgname=('python-scs')
+_module='scs'
+pkgver='1.2.6'
+pkgrel=1
+pkgdesc="Convex cone solver via operator splitting."
+url="http://github.com/cvxgrp/cvxpy/"
+depends=('python')
+makedepends=('python-setuptools')
+license=('MIT')
+arch=('i686' 'x86_64')
+source=("https://github.com/cvxgrp/scs/archive/v${pkgver}.tar.gz")
+sha256sums=('b4bebb43a1257b6e88a5f97c855c0559d6c8a8c0548d3156fc5a28d82bb9533f')
+
+build() {
+ cd "${srcdir}/${_module}-${pkgver}/python"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT"
+ cd "python"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}