[arch-commits] Commit in python-pygit2/repos (4 files)
Felix Yan
fyan at archlinux.org
Sun Sep 20 09:47:04 UTC 2015
Date: Sunday, September 20, 2015 @ 11:47:04
Author: fyan
Revision: 141217
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
python-pygit2/repos/community-staging-i686/
python-pygit2/repos/community-staging-i686/PKGBUILD
(from rev 141216, python-pygit2/trunk/PKGBUILD)
python-pygit2/repos/community-staging-x86_64/
python-pygit2/repos/community-staging-x86_64/PKGBUILD
(from rev 141216, python-pygit2/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
Copied: python-pygit2/repos/community-staging-i686/PKGBUILD (from rev 141216, python-pygit2/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-20 09:47:04 UTC (rev 141217)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+
+pkgbase=python-pygit2
+pkgname=(python-pygit2 python2-pygit2)
+pkgver=0.23.0
+pkgrel=2
+pkgdesc='Python bindings for libgit2'
+url="https://github.com/libgit2/pygit2"
+depends=(libgit2)
+makedepends=(python-cffi python2-cffi python-setuptools python2-setuptools git)
+arch=(i686 x86_64)
+license=('GPL2')
+#source=("$pkgbase-$pkgver.tar.gz::https://github.com/libgit2/pygit2/archive/v${pkgver}.tar.gz")
+#md5sums=('a73eaf01c42527db7673d11fb5b37654')
+source=('git+https://github.com/libgit2/pygit2.git#commit=25d02259df7b73ec220b2a0095ad4a2d7d525f96')
+sha1sums=('SKIP')
+
+package_python-pygit2() {
+ cd "pygit2"
+ depends+=(python python-cffi)
+ replaces=(python-libgit2)
+ conflicts=(python-libgit2)
+ LANG=en_US.UTF8 python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-pygit2() {
+ cd "pygit2"
+ depends+=(python2 python2-cffi)
+ replaces=(python2-libgit2)
+ conflicts=(python2-libgit2)
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
Copied: python-pygit2/repos/community-staging-x86_64/PKGBUILD (from rev 141216, python-pygit2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-20 09:47:04 UTC (rev 141217)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+
+pkgbase=python-pygit2
+pkgname=(python-pygit2 python2-pygit2)
+pkgver=0.23.0
+pkgrel=2
+pkgdesc='Python bindings for libgit2'
+url="https://github.com/libgit2/pygit2"
+depends=(libgit2)
+makedepends=(python-cffi python2-cffi python-setuptools python2-setuptools git)
+arch=(i686 x86_64)
+license=('GPL2')
+#source=("$pkgbase-$pkgver.tar.gz::https://github.com/libgit2/pygit2/archive/v${pkgver}.tar.gz")
+#md5sums=('a73eaf01c42527db7673d11fb5b37654')
+source=('git+https://github.com/libgit2/pygit2.git#commit=25d02259df7b73ec220b2a0095ad4a2d7d525f96')
+sha1sums=('SKIP')
+
+package_python-pygit2() {
+ cd "pygit2"
+ depends+=(python python-cffi)
+ replaces=(python-libgit2)
+ conflicts=(python-libgit2)
+ LANG=en_US.UTF8 python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-pygit2() {
+ cd "pygit2"
+ depends+=(python2 python2-cffi)
+ replaces=(python2-libgit2)
+ conflicts=(python2-libgit2)
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list