diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-27 18:09:26 -0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-05-28 00:24:13 +0300 |
commit | 5ac12acf6c0b70eacf3f9c4196fa02fb8e29cc85 (patch) | |
tree | 00bdd7eaac5ef4a67e7bc514177644e222bec999 /community/py-pygit2 | |
parent | 31ab57a781ed0fcb95cfd79ed64599f2bdc6c1bb (diff) | |
download | aports-5ac12acf6c0b70eacf3f9c4196fa02fb8e29cc85.tar.bz2 aports-5ac12acf6c0b70eacf3f9c4196fa02fb8e29cc85.tar.xz |
community/py3-pygit2: rename from py-pygit2
Diffstat (limited to 'community/py-pygit2')
-rw-r--r-- | community/py-pygit2/APKBUILD | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/community/py-pygit2/APKBUILD b/community/py-pygit2/APKBUILD deleted file mode 100644 index 0138e6b194..0000000000 --- a/community/py-pygit2/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Contributor: Pierre-Gildas MILLON <pgmillon@gmail.com> -# Maintainer: Drew DeVault <sir@cmpwn.com> -pkgname=py-pygit2 -_pkgname=pygit2 -pkgver=0.28.1 -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" -depends="py-cffi py-six" -makedepends="python2-dev python3-dev py-setuptools libgit2-dev" -subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" -source="https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - cd "$builddir" - python2 setup.py build - python3 setup.py build -} - -check() { - cd "$builddir" - python2 setup.py check - python3 setup.py check -} - -package() { - mkdir -p "$pkgdir" -} - -_py2() { - replaces="$pkgname" - depends="${depends//py-/py2-}" - _py python2 -} - -_py3() { - depends="${depends//py-/py3-}" - _py python3 -} - -_py() { - local python="$1" - pkgdesc="$pkgdesc (for $python)" - install_if="$pkgname=$pkgver-r$pkgrel $python" - - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -sha512sums="46bb9d6150b7413311f26ea1aeae15cdcd22a2d5c4cafa17bd8a1c02dbf0c9a630cf89583e77a07be5c74334ac28a672de31290ba986476ded25e8a19abf7f3b pygit2-0.28.1.tar.gz" |