summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Stahlberg2020-07-08 10:47:49 +0200
committerMaximilian Stahlberg2020-07-08 10:47:49 +0200
commit31638ea87fa94ff5754fa79b83557fc55eaacc70 (patch)
tree7d1c8515c857ff729515e2f74be0c8dafd1e3138
parente51594610bc75285afcfb9e3e46512e273ede34d (diff)
downloadaur-31638ea87fa94ff5754fa79b83557fc55eaacc70.tar.gz
Remove Python 2 support.
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD22
2 files changed, 10 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ce34ee6a8c3..a76fe43ae0d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,17 @@
pkgbase = python-picos-git
pkgdesc = A Python interface to conic optimization solvers. Git version.
- pkgver = 2.0.r0.gebcea28
+ pkgver = 2.0.r8.g7c304b3
pkgrel = 1
url = https://gitlab.com/picos-api/picos
arch = any
license = GPL3
makedepends = git
makedepends = python-setuptools
- makedepends = python2-setuptools
- source = picos::git+https://gitlab.com/picos-api/picos.git
- md5sums = SKIP
-
-pkgname = python-picos-git
depends = python-numpy
depends = python-cvxopt
conflicts = python-picos
+ source = picos::git+https://gitlab.com/picos-api/picos.git
+ md5sums = SKIP
-pkgname = python2-picos-git
- depends = python2-numpy
- depends = python2-cvxopt
- conflicts = python2-picos
+pkgname = python-picos-git
diff --git a/PKGBUILD b/PKGBUILD
index 37d57e2a7a6..d303cd7dcca 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')