[arch-commits] Commit in python-pykerberos/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Dec 22 05:31:40 UTC 2017
Date: Friday, December 22, 2017 @ 05:31:39
Author: felixonmars
Revision: 275284
upgpkg: python-pykerberos 1.2.1-1
Modified:
python-pykerberos/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-22 05:30:15 UTC (rev 275283)
+++ PKGBUILD 2017-12-22 05:31:39 UTC (rev 275284)
@@ -3,25 +3,25 @@
pkgbase=python-pykerberos
pkgname=('python-pykerberos' 'python2-pykerberos')
-pkgver=1.1.14
+pkgver=1.2.1
pkgrel=1
pkgdesc="High-level interface to Kerberos"
arch=('x86_64')
license=('Apache')
url="https://github.com/02strich/pykerberos"
-makedepends=('python-setuptools' 'python2-setuptools' 'krb5' 'git')
-source=("git+https://github.com/02strich/pykerberos.git#tag=v$pkgver")
-sha512sums=('SKIP')
+makedepends=('python-setuptools' 'python2-setuptools' 'krb5')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/02strich/pykerberos/archive/v$pkgver.tar.gz")
+sha512sums=('1926a531e9aaa3ee71c3cb97f1bdf12b64478b96d9206d01b140db079cb9222a7e5f6dd39309eb6074ce4b86a4311162293537d1365c30b2d8ea0e6df0b44404')
prepare() {
- cp -a pykerberos{,-py2}
+ cp -a pykerberos-$pkgver{,-py2}
}
build() {
- cd "$srcdir"/pykerberos
+ cd "$srcdir"/pykerberos-$pkgver
python setup.py build
- cd "$srcdir"/pykerberos-py2
+ cd "$srcdir"/pykerberos-$pkgver-py2
python2 setup.py build
}
@@ -28,15 +28,15 @@
package_python-pykerberos() {
depends=('python' 'krb5')
- cd pykerberos
- python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd pykerberos-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
package_python2-pykerberos() {
depends=('python2' 'krb5')
- cd pykerberos-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd pykerberos-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list