[arch-commits] Commit in python-pygit2/repos (2 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sun Apr 5 13:00:11 UTC 2020
Date: Sunday, April 5, 2020 @ 13:00:10
Author: jlichtblau
Revision: 611840
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 611839, python-pygit2/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-pygit2/repos/community-staging-x86_64/PKGBUILD (from rev 611839, python-pygit2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-05 13:00:10 UTC (rev 611840)
@@ -0,0 +1,31 @@
+# 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.2.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' 'python-cffi' 'python-six' 'python-cached-property')
+makedepends=('python-cffi' 'python-setuptools' 'git' 'python-six')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz"::https://github.com/libgit2/pygit2/archive/v$pkgver.tar.gz)
+sha256sums=('30f92d0f54c194e9e59c48513376555897f083fa7abf7e0fecd6143b3aed6f2b')
+
+build() {
+ cd "pygit2-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "pygit2-$pkgver"
+ python setup.py pytest
+}
+
+package() {
+ cd "pygit2-$pkgver"
+ LANG=en_US.UTF8 python setup.py install --root="${pkgdir}" --optimize=1
+}
More information about the arch-commits
mailing list