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

Jaroslav Lichtblau jlichtblau at archlinux.org
Wed Apr 6 18:48:59 UTC 2016


    Date: Wednesday, April 6, 2016 @ 20:48:58
  Author: jlichtblau
Revision: 169594

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: python-pygit2/repos/community-testing-x86_64/PKGBUILD (from rev 169593, python-pygit2/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-04-06 18:48:58 UTC (rev 169594)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+
+pkgbase=python-pygit2
+pkgname=(python-pygit2 python2-pygit2)
+pkgver=0.24.0
+pkgrel=1
+pkgdesc='Python bindings for libgit2'
+arch=('i686' 'x86_64')
+url="https://github.com/libgit2/pygit2"
+license=('GPL2')
+depends=('libgit2')
+makedepends=('python-cffi' 'python2-cffi' 'python-setuptools' 'python2-setuptools' 'git')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/libgit2/pygit2/archive/v${pkgver}.tar.gz")
+md5sums=('135adc1c70129d904ec89315b91cc26a')
+
+package_python-pygit2() {
+  depends+=('python' 'python-cffi')
+  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' 'python2-cffi')
+  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