aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-06-12 19:25:14 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-12 19:49:23 +0000
commit5e9caca0815372e3bddbc3bd65c5295bf61bf8cc (patch)
tree09f4d56cd68ed7be0e7a5a1981f5550626489b1d /testing
parent0fbbed84732bfd5b5b65263e0f931b0d1cdd121a (diff)
downloadaports-5e9caca0815372e3bddbc3bd65c5295bf61bf8cc.tar.bz2
aports-5e9caca0815372e3bddbc3bd65c5295bf61bf8cc.tar.xz
community/py-hglib: move from testing
Diffstat (limited to 'testing')
-rw-r--r--testing/py-hglib/APKBUILD45
1 files changed, 0 insertions, 45 deletions
diff --git a/testing/py-hglib/APKBUILD b/testing/py-hglib/APKBUILD
deleted file mode 100644
index 042c68d03d..0000000000
--- a/testing/py-hglib/APKBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# Contributor: André Klitzing <aklitzing@gmail.com>
-# Maintainer: André Klitzing <aklitzing@gmail.com>
-pkgname=py-hglib
-_pkgname=python-hglib
-pkgver=2.4
-pkgrel=0
-pkgdesc="A fast and convenient interface to Mercurial's command server"
-url="https://pypi.python.org/pypi/python-hglib"
-arch="noarch"
-license="MIT"
-makedepends="mercurial python2-dev py-setuptools python3-dev"
-subpackages="py3-${pkgname#py-}:_py3 py2-${pkgname#py-}:_py2"
-source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
-
-build() {
- cd "$builddir"
- python2 setup.py build || return 1
- python3 setup.py build || return 1
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- depends="$python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
-
- cd "$builddir"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-_py2() {
- replaces="$pkgname"
- _py python2
-}
-
-_py3() {
- _py python3
-}
-
-sha512sums="91fff5b5badb798aa0a5a25d8544718afe545a53d1b4f5725abbf46a07a81fbbea12e3a8b05c874b4693668e3fc57362100844d7387ed3dc6dc7b50d3a7e8c52 python-hglib-2.4.tar.gz"