summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 11 insertions, 4 deletions
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')