[arch-commits] Commit in python-pygit2/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 19:54:06 UTC 2020
Date: Thursday, November 12, 2020 @ 19:54:05
Author: foutrelis
Revision: 753675
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 753674, python-pygit2/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-pygit2/repos/community-staging-x86_64/PKGBUILD (from rev 753674, python-pygit2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-12 19:54:05 UTC (rev 753675)
@@ -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.4.0
+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' '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=('d433234582af86b0733f33d27779d24cf2249c09b21f574ce7872b330241420c')
+
+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