summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Stahlberg2020-09-27 15:34:49 +0200
committerMaximilian Stahlberg2020-09-27 15:34:49 +0200
commit3ebf8b051f0a86fc6021c4855d94043d8f48896e (patch)
tree4089a2ac45b97701925b9c882bf7716601fe4e44
parent31638ea87fa94ff5754fa79b83557fc55eaacc70 (diff)
downloadaur-3ebf8b051f0a86fc6021c4855d94043d8f48896e.tar.gz
Add optional dependencies.
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD11
2 files changed, 18 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a76fe43ae0d..6a153ca6984 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-picos-git
pkgdesc = A Python interface to conic optimization solvers. Git version.
- pkgver = 2.0.r8.g7c304b3
+ pkgver = 2.0.r12.g11f96c1
pkgrel = 1
url = https://gitlab.com/picos-api/picos
arch = any
@@ -9,6 +9,13 @@ pkgbase = python-picos-git
makedepends = python-setuptools
depends = python-numpy
depends = python-cvxopt
+ optdepends = cplex: solve using CPLEX
+ optdepends = gurobi: solve using Gurobi
+ optdepends = mosek: solve using MOSEK
+ optdepends = python-ecos: solve using ECOS
+ optdepends = python-pyscipopt: solve using SCIP
+ optdepends = python-smcp: solve using SMCP
+ optdepends = python-swiglpk: solve using GLPK
conflicts = python-picos
source = picos::git+https://gitlab.com/picos-api/picos.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index d303cd7dcca..35e73d1b7ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,22 @@
# Maintainer: Maximilian Stahlberg <maximilian.stahlberg tu-berlin de>
pkgname=python-picos-git
-pkgver=2.0.r8.g7c304b3
+pkgver=2.0.r12.g11f96c1
pkgrel=1
pkgdesc='A Python interface to conic optimization solvers. Git version.'
arch=('any')
url='https://gitlab.com/picos-api/picos'
license=('GPL3')
depends=('python-numpy' 'python-cvxopt')
+optdepends=(
+ 'cplex: solve using CPLEX'
+ 'gurobi: solve using Gurobi'
+ 'mosek: solve using MOSEK'
+ 'python-ecos: solve using ECOS'
+ 'python-pyscipopt: solve using SCIP'
+ 'python-smcp: solve using SMCP'
+ 'python-swiglpk: solve using GLPK'
+)
makedepends=('git' 'python-setuptools')
conflicts=('python-picos')
source=("picos::git+https://gitlab.com/picos-api/picos.git")