summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD15
2 files changed, 17 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 19bb6183b8e..d355ae03821 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-picos
pkgdesc = A Python interface to conic optimization solvers.
- pkgver = 2.0
- pkgrel = 3
+ pkgver = 2.1
+ pkgrel = 1
url = https://gitlab.com/picos-api/picos
arch = any
license = GPL3
@@ -16,8 +16,10 @@ pkgbase = python-picos
optdepends = python-smcp: solve using SMCP
optdepends = python-swiglpk: solve using GLPK
conflicts = python-picos-git
- source = https://gitlab.com/picos-api/picos/-/archive/v2.0/picos-v2.0.tar.gz
- md5sums = 3317dc2fd98202a413acae19efdc844e
+ source = https://gitlab.com/picos-api/picos/-/archive/v2.1/picos-v2.1.tar.gz
+ source = https://gitlab.com/picos-api/picos/-/raw/bb51b369/setup.py
+ md5sums = 41ce633ae2afe1bf63753d519f75ec9e
+ md5sums = 65309df6473e3a9b641da9744d51bdd1
pkgname = python-picos
diff --git a/PKGBUILD b/PKGBUILD
index 33f0df28b2e..fd2845500f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Maximilian Stahlberg <maximilian.stahlberg tu-berlin de>
pkgname=python-picos
-pkgver=2.0
-pkgrel=3
+pkgver=2.1
+pkgrel=1
pkgdesc='A Python interface to conic optimization solvers.'
arch=('any')
url='https://gitlab.com/picos-api/picos'
@@ -19,11 +19,18 @@ optdepends=(
)
makedepends=('python-setuptools')
conflicts=('python-picos-git')
-source=("https://gitlab.com/picos-api/picos/-/archive/v${pkgver}/picos-v${pkgver}.tar.gz")
+source=("https://gitlab.com/picos-api/picos/-/archive/v${pkgver}/picos-v${pkgver}.tar.gz"
+ "https://gitlab.com/picos-api/picos/-/raw/bb51b369/setup.py")
+
+prepare() {
+ # Work around a bug in setup.py that's fixed in version 2.1.1.
+ mv "${srcdir}/setup.py" "${srcdir}/picos-v${pkgver}/"
+}
package() {
cd "${srcdir}/picos-v${pkgver}"
python setup.py install --root=${pkgdir}
}
-md5sums=('3317dc2fd98202a413acae19efdc844e')
+md5sums=('41ce633ae2afe1bf63753d519f75ec9e'
+ '65309df6473e3a9b641da9744d51bdd1')