summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Mattern2018-08-31 02:45:55 +0200
committerPeter Mattern2018-08-31 02:45:55 +0200
commit82bfdc3a98158e3e0b9d8f76cf452cef662ed467 (patch)
tree666de223d21a6811ab24385ae82345b8511f73f3
parentd259aebff972e4ee6c1bd03c59c7733eab540589 (diff)
downloadaur-82bfdc3a98158e3e0b9d8f76cf452cef662ed467.tar.gz
Separate Python 3/2 in /usr/bin
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a990e2425cf7..0d6ef34ec78b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-pyjwkest
pkgdesc = Implementation of JWT, JWS, JWE and JWK.
pkgver = 1.4.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/rohe/pyjwkest
arch = any
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index a756e49a2f72..ddae8b474dd3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase=python-pyjwkest
pkgname=($pkgbase 'python2-pyjwkest')
pkgver=1.4.0
-pkgrel=1
+pkgrel=2
pkgdesc='Implementation of JWT, JWS, JWE and JWK.'
arch=('any')
url='https://github.com/rohe/pyjwkest'
@@ -42,5 +42,6 @@ package_python2-pyjwkest() {
cd pyjwkest-$pkgver-python2
python2 setup.py install --root $pkgdir
+ rename '.py' '2.py' ${pkgdir}/usr/bin/*
}