[arch-commits] Commit in python-pygit2/repos (2 files)

Jaroslav Lichtblau jlichtblau at archlinux.org
Wed Apr 4 20:43:04 UTC 2018


    Date: Wednesday, April 4, 2018 @ 20:43:03
  Author: jlichtblau
Revision: 314282

archrelease: copy trunk to community-staging-x86_64

Added:
  python-pygit2/repos/community-staging-x86_64/
  python-pygit2/repos/community-staging-x86_64/PKGBUILD
    (from rev 314281, python-pygit2/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-pygit2/repos/community-staging-x86_64/PKGBUILD (from rev 314281, python-pygit2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-04-04 20:43:03 UTC (rev 314282)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+
+pkgbase=python-pygit2
+pkgname=('python-pygit2' 'python2-pygit2')
+pkgver=0.27.0
+pkgrel=1
+pkgdesc='Python bindings for libgit2'
+arch=('x86_64')
+url="https://github.com/libgit2/pygit2"
+license=('GPL2')
+depends=('libgit2>=1:0.27.0')
+makedepends=('python-cffi' 'python2-cffi' 'python-setuptools' 'python2-setuptools' 'git' 'python-six' 'python2-six')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/libgit2/pygit2/archive/v${pkgver}.tar.gz")
+sha256sums=('146b6d0a90d2bcaf463cd00fbae748e08d21b3f593272d5f3dc51e5b27ed2491')
+
+package_python-pygit2() {
+  depends+=('python-cffi' 'python-six')
+  replaces=('python-libgit2')
+  conflicts=('python-libgit2')
+
+  cd "pygit2-$pkgver"
+  LANG=en_US.UTF8 python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-pygit2() {
+  depends+=('python2-cffi' 'python2-six')
+  replaces=('python2-libgit2')
+  conflicts=('python2-libgit2')
+
+  cd "pygit2-$pkgver"
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list