[arch-commits] Commit in python-pygit2/trunk (PKGBUILD)
Lukas Fleischer
lfleischer at archlinux.org
Sun Nov 29 15:41:26 UTC 2015
Date: Sunday, November 29, 2015 @ 16:41:26
Author: lfleischer
Revision: 147917
upgpkg: python-pygit2 0.23.2-3
Use proper source tarball.
Modified:
python-pygit2/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-29 12:01:13 UTC (rev 147916)
+++ PKGBUILD 2015-11-29 15:41:26 UTC (rev 147917)
@@ -1,10 +1,10 @@
-# $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.23.2
-pkgrel=2
+pkgrel=3
pkgdesc='Python bindings for libgit2'
url="https://github.com/libgit2/pygit2"
depends=(libgit2)
@@ -11,23 +11,23 @@
makedepends=(python-cffi python2-cffi python-setuptools python2-setuptools git)
arch=(i686 x86_64)
license=('GPL2')
-#source=("$pkgbase-$pkgver.tar.gz::https://github.com/libgit2/pygit2/archive/v${pkgver}.tar.gz")
-#md5sums=('a73eaf01c42527db7673d11fb5b37654')
-source=('git+https://github.com/libgit2/pygit2.git#commit=25d02259df7b73ec220b2a0095ad4a2d7d525f96')
-sha1sums=('SKIP')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/libgit2/pygit2/archive/v${pkgver}.tar.gz")
+md5sums=('70d71d778b1a64f44bb203d9fba929ea')
package_python-pygit2() {
- cd "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() {
- cd "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