1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/py3-hglib/APKBUILD
2023-03-01 23:37:51 +00:00

34 lines
1.1 KiB
Text

# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=py3-hglib
_pkgname=python-hglib
pkgver=2.6.2
pkgrel=4
pkgdesc="fast and convenient interface to Mercurial's command server"
# hglib.error.CommandError: (255, b'', b'abort: creating obsolete markers is not enabled on this repo')
# options="!check"
url="https://pypi.org/project/python-hglib"
arch="noarch !armhf" # bus error
license="MIT"
depends="python3"
makedepends="mercurial py3-setuptools"
checkdepends="py3-nose"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-hglib" # Backwards compatibility
provides="py-hglib=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 test.py
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="be83519a11846c9389506e12d0cf4e8bfcc47dbc4013cf3260f92932f59c430930ca38f6705aba70225a62408b952ae2f6c3f074c8d1d1651142a4977ace63d4 python-hglib-2.6.2.tar.gz"