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

Lukas Fleischer lfleischer at archlinux.org
Fri Feb 21 08:09:23 UTC 2020


    Date: Friday, February 21, 2020 @ 08:09:23
  Author: lfleischer
Revision: 577483

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 577482, python-pygit2/trunk/PKGBUILD)

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

Copied: python-pygit2/repos/community-staging-x86_64/PKGBUILD (from rev 577482, python-pygit2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-02-21 08:09:23 UTC (rev 577483)
@@ -0,0 +1,27 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+
+pkgname=python-pygit2
+pkgver=1.0.3
+pkgrel=2
+pkgdesc='Python bindings for libgit2'
+arch=('x86_64')
+url="https://github.com/libgit2/pygit2"
+license=('GPL2')
+depends=('libgit2>=1:0.27.0' 'python-cffi' 'python-six')
+makedepends=('python-cffi' 'python-setuptools' 'git' 'python-six')
+source=("$pkgname-$pkgver.tar.gz"::https://github.com/libgit2/pygit2/archive/v$pkgver.tar.gz
+        https://github.com/libgit2/pygit2/commit/0328605c855a1a52bde4bd41d507f161cf7b224f.patch)
+sha256sums=('d6428fd4cd5263c76842675519b85874cfbb79db02bc32523eb784573c328a5b'
+            '20ac8232a3aea678aaa9271304643fc1d767a545b7849ed9ef14a18cbeab5da7')
+
+prepare() {
+	cd "pygit2-$pkgver"
+	patch -p1 -i ../0328605c855a1a52bde4bd41d507f161cf7b224f.patch
+}
+
+package() {
+	cd "pygit2-$pkgver"
+	LANG=en_US.UTF8 python setup.py install --root="${pkgdir}" --optimize=1
+}



More information about the arch-commits mailing list