Date: Thursday, November 19, 2015 @ 04:43:49 Author: fyan Revision: 147120
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: python-pygit2/repos/community-staging-i686/ python-pygit2/repos/community-staging-i686/PKGBUILD (from rev 147119, python-pygit2/trunk/PKGBUILD) python-pygit2/repos/community-staging-x86_64/ python-pygit2/repos/community-staging-x86_64/PKGBUILD (from rev 147119, python-pygit2/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) Copied: python-pygit2/repos/community-staging-i686/PKGBUILD (from rev 147119, python-pygit2/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-11-19 03:43:49 UTC (rev 147120) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Daniel Micay <danielmi...@gmail.com> + +pkgbase=python-pygit2 +pkgname=(python-pygit2 python2-pygit2) +pkgver=0.23.2 +pkgrel=2 +pkgdesc='Python bindings for libgit2' +url="https://github.com/libgit2/pygit2" +depends=(libgit2) +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') + +package_python-pygit2() { + cd "pygit2" + depends+=(python python-cffi) + replaces=(python-libgit2) + conflicts=(python-libgit2) + 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) + python2 setup.py install --root="$pkgdir" --optimize=1 +} Copied: python-pygit2/repos/community-staging-x86_64/PKGBUILD (from rev 147119, python-pygit2/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-11-19 03:43:49 UTC (rev 147120) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Daniel Micay <danielmi...@gmail.com> + +pkgbase=python-pygit2 +pkgname=(python-pygit2 python2-pygit2) +pkgver=0.23.2 +pkgrel=2 +pkgdesc='Python bindings for libgit2' +url="https://github.com/libgit2/pygit2" +depends=(libgit2) +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') + +package_python-pygit2() { + cd "pygit2" + depends+=(python python-cffi) + replaces=(python-libgit2) + conflicts=(python-libgit2) + 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) + python2 setup.py install --root="$pkgdir" --optimize=1 +}