[arch-commits] Commit in python-pykerberos/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sat Dec 24 17:40:08 UTC 2016
Date: Saturday, December 24, 2016 @ 17:40:07
Author: bpiotrowski
Revision: 201667
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
python-pykerberos/repos/community-staging-i686/
python-pykerberos/repos/community-staging-i686/PKGBUILD
(from rev 201665, python-pykerberos/trunk/PKGBUILD)
python-pykerberos/repos/community-staging-x86_64/
python-pykerberos/repos/community-staging-x86_64/PKGBUILD
(from rev 201666, python-pykerberos/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
Copied: python-pykerberos/repos/community-staging-i686/PKGBUILD (from rev 201665, python-pykerberos/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-24 17:40:07 UTC (rev 201667)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pykerberos
+pkgname=('python-pykerberos' 'python2-pykerberos')
+pkgver=1.1.13
+pkgrel=2
+pkgdesc="High-level interface to Kerberos"
+arch=('i686' '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')
+
+prepare() {
+ cp -a pykerberos{,-py2}
+}
+
+build() {
+ cd "$srcdir"/pykerberos
+ python setup.py build
+
+ cd "$srcdir"/pykerberos-py2
+ python2 setup.py build
+}
+
+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"
+}
+
+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"
+}
Copied: python-pykerberos/repos/community-staging-x86_64/PKGBUILD (from rev 201666, python-pykerberos/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-12-24 17:40:07 UTC (rev 201667)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pykerberos
+pkgname=('python-pykerberos' 'python2-pykerberos')
+pkgver=1.1.13
+pkgrel=2
+pkgdesc="High-level interface to Kerberos"
+arch=('i686' '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')
+
+prepare() {
+ cp -a pykerberos{,-py2}
+}
+
+build() {
+ cd "$srcdir"/pykerberos
+ python setup.py build
+
+ cd "$srcdir"/pykerberos-py2
+ python2 setup.py build
+}
+
+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"
+}
+
+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"
+}
More information about the arch-commits
mailing list