summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMaximilian Stahlberg2020-07-08 10:41:47 +0200
committerMaximilian Stahlberg2020-07-08 10:41:47 +0200
commit0502d6862f188c7a866c6ca4b002ee0a6bcfd9c7 (patch)
tree9fd70819c784dc10191848606e21e998ca429142 /PKGBUILD
parent92d456a4855ceb60042bd872b8f3c303d96d109b (diff)
downloadaur-0502d6862f188c7a866c6ca4b002ee0a6bcfd9c7.tar.gz
Remove Python 2 support.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 6 insertions, 18 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1a1bf5b040b..9eab64c3e5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,20 @@
# Maintainer: Maximilian Stahlberg <maximilian.stahlberg tu-berlin de>
-pkgbase=python-picos
-pkgname=('python-picos' 'python2-picos')
+pkgname=python-picos
pkgver=2.0
-pkgrel=1
+pkgrel=2
pkgdesc='A Python interface to conic optimization solvers.'
arch=('any')
url='https://gitlab.com/picos-api/picos'
license=('GPL3')
-makedepends=('python-setuptools' 'python2-setuptools')
+depends=('python-numpy' 'python-cvxopt')
+makedepends=('python-setuptools')
+conflicts=('python-picos-git')
source=("https://gitlab.com/picos-api/picos/-/archive/v${pkgver}/picos-v${pkgver}.tar.gz")
-package_python-picos() {
- depends=('python-numpy' 'python-cvxopt')
- conflicts=('python-picos-git')
-
+package() {
cd "${srcdir}/picos-v${pkgver}"
-
python setup.py install --root=${pkgdir}
}
-package_python2-picos() {
- depends=('python2-numpy' 'python2-cvxopt')
- conflicts=('python2-picos-git')
-
- cd "${srcdir}/picos-v${pkgver}"
-
- python2 setup.py install --root=${pkgdir}
-}
-
md5sums=('3317dc2fd98202a413acae19efdc844e')