aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-pygit2/APKBUILD
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-03-24 12:32:50 +0000
committerJakub Jirutka <jakub@jirutka.cz>2018-03-31 16:22:45 +0200
commit9126598b3576c7f063209e7b425e9a95fdbfbf1b (patch)
tree582c329150493ba280ac9ab628a107303365e905 /community/py-pygit2/APKBUILD
parent5bd376eaacf20ab26883ffd6bac767d7a9d533fd (diff)
downloadaports-9126598b3576c7f063209e7b425e9a95fdbfbf1b.tar.bz2
aports-9126598b3576c7f063209e7b425e9a95fdbfbf1b.tar.xz
community/py-pygit2: upgrade to 0.26.4, improve abuild
Diffstat (limited to 'community/py-pygit2/APKBUILD')
-rw-r--r--community/py-pygit2/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/community/py-pygit2/APKBUILD b/community/py-pygit2/APKBUILD
index ce3f883638..93143e4bbe 100644
--- a/community/py-pygit2/APKBUILD
+++ b/community/py-pygit2/APKBUILD
@@ -2,17 +2,17 @@
# Maintainer:
pkgname=py-pygit2
_pkgname=pygit2
-pkgver=0.26.3
+pkgver=0.26.4
pkgrel=0
pkgdesc="Python bindings for libgit2"
url="https://github.com/libgit2/pygit2"
arch="all"
license="GPL-2.0-only-WITH-GCC-exception-2.0"
-_pydepends="py-cffi py-six"
-makedepends="$_pydepends python2-dev python3-dev py-setuptools
- libgit2-dev libssh2-dev libressl-dev"
+depends="py-cffi py-six"
+makedepends="python2-dev python3-dev py-setuptools libgit2-dev
+ libssh2-dev libressl-dev"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-source="$pkgname-$pkgver.tar.gz::https://github.com/libgit2/$_pkgname/archive/v${pkgver}.tar.gz"
+source="https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
@@ -33,12 +33,12 @@ package() {
_py2() {
replaces="$pkgname"
- depends="${_pydepends//py-/py2-}"
+ depends="${depends//py-/py2-}"
_py python2
}
_py3() {
- depends="${_pydepends//py-/py3-}"
+ depends="${depends//py-/py3-}"
_py python3
}
@@ -51,4 +51,4 @@ _py() {
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
-sha512sums="d12c4f33b8bb19b76a459cfd67413532e38198aaf1108e57f4b2f25e6572a9e36354b62799d9c35ad9f1884da6d9ba654e7bf594a853e810c0da5e6430bd4ad1 py-pygit2-0.26.3.tar.gz"
+sha512sums="e459e47bfa8137421625633a731d49882d95a52d4f2d672f2c8efe7cd6cca4b33335ee77777a353b309df4917d9b29b30c1f9a96b7e226e3e7fe0cd34bbefce6 pygit2-0.26.4.tar.gz"