summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMaximilian Stahlberg2020-07-08 10:47:49 +0200
committerMaximilian Stahlberg2020-07-08 10:47:49 +0200
commit31638ea87fa94ff5754fa79b83557fc55eaacc70 (patch)
tree7d1c8515c857ff729515e2f74be0c8dafd1e3138 /PKGBUILD
parente51594610bc75285afcfb9e3e46512e273ede34d (diff)
downloadaur-31638ea87fa94ff5754fa79b83557fc55eaacc70.tar.gz
Remove Python 2 support.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 6 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 37d57e2a7a6c..d303cd7dccab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,15 @@
# Maintainer: Maximilian Stahlberg <maximilian.stahlberg tu-berlin de>
-pkgbase=python-picos-git
-pkgname=('python-picos-git' 'python2-picos-git')
-pkgver=2.0.r0.gebcea28
+pkgname=python-picos-git
+pkgver=2.0.r8.g7c304b3
pkgrel=1
pkgdesc='A Python interface to conic optimization solvers. Git version.'
arch=('any')
url='https://gitlab.com/picos-api/picos'
license=('GPL3')
-makedepends=('git' 'python-setuptools' 'python2-setuptools')
+depends=('python-numpy' 'python-cvxopt')
+makedepends=('git' 'python-setuptools')
+conflicts=('python-picos')
source=("picos::git+https://gitlab.com/picos-api/picos.git")
pkgver() {
@@ -16,20 +17,9 @@ pkgver() {
./version.py --aur
}
-package_python-picos-git() {
- depends=('python-numpy' 'python-cvxopt')
- conflicts=('python-picos')
-
+package() {
cd picos
python setup.py install --root=${pkgdir}
}
-package_python2-picos-git() {
- depends=('python2-numpy' 'python2-cvxopt')
- conflicts=('python2-picos')
-
- cd picos
- python2 setup.py install --root=${pkgdir}
-}
-
md5sums=('SKIP')