# Contributor: David Demelier # Maintainer: David Demelier pkgname=py3-hg-git _pkgname="hg-git" pkgver=1.0.1 pkgrel=1 pkgdesc="Mercurial plugin to pull and push from Git" url="https://hg-git.github.io" arch="noarch" license="GPL-2.0-only" depends="py3-dulwich" makedepends=" py3-gpep517 py3-setuptools py3-setuptools_scm py3-wheel " source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" options="!check" # No tests. build() { SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver \ gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ dist/*.whl } sha512sums=" 838dbbb6bef3e066352253b0c9c61225e31418436ed41d88bafc03fae2027454e08412fa39cc514b93da5c075382cc0afa337ecb739e6bbd11b99e0b2809e69d hg-git-1.0.1.tar.gz "