blob: 8ce81fe4c29614591fa1a138e0ca2edd314f874c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Maximilian Stahlberg <maximilian.stahlberg tu-berlin de>
pkgbase=('python-smcp')
pkgname=('python-smcp' 'python2-smcp')
pkgdesc="A Python solver for sparse matrix cone programs."
pkgver=0.4.4
pkgrel=1
arch=('any')
url='http://smcp.readthedocs.io'
license=('gpl3')
source=("https://github.com/cvxopt/smcp/archive/v${pkgver}.tar.gz")
package_python-smcp() {
makedepends+=('python-setuptools')
depends+=('python-cvxopt' 'python-chompack')
cd "${srcdir}/smcp-${pkgver}"
# Install the Python library.
python setup.py install --root="${pkgdir}" --optimize=1
}
package_python2-smcp() {
makedepends+=('python2-setuptools')
depends+=('python2-cvxopt' 'python-chompack')
cd "${srcdir}/smcp-${pkgver}"
# Install the Python 2 library.
python2 setup.py install --root="${pkgdir}" --optimize=1
}
md5sums=('e48826e02994edc0885fd01888ea6684')
|