mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +03:00
34 lines
1 KiB
Text
34 lines
1 KiB
Text
# Contributor: André Klitzing <aklitzing@gmail.com>
|
|
# Maintainer: André Klitzing <aklitzing@gmail.com>
|
|
pkgname=py3-hglib
|
|
_pkgname=python-hglib
|
|
pkgver=2.6.1
|
|
pkgrel=3
|
|
pkgdesc="A 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.python.org/pypi/python-hglib"
|
|
arch="noarch"
|
|
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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="3895c38d07cf3d66c711ad37d312535d233430938c536c6e8e548c34bbe3deb5a1f3cc5ad05151e28cac86657d7cdb4bc0a55a1ea5f78aa42856b694cfbe8c97 python-hglib-2.6.1.tar.gz"
|