void-packages/srcpkgs/hg-git/template

21 lines
752 B
Bash

# Template file for 'hg-git'
pkgname=hg-git
version=1.1.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-dulwich mercurial"
checkdepends="$depends git unzip openssh"
short_desc="Mercurial plugin adding the ability to push and pull to/from Git"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
# https://www.mercurial-scm.org/wiki/HgGit
homepage="https://foss.heptapod.net/mercurial/hg-git"
changelog="https://foss.heptapod.net/mercurial/hg-git/-/raw/branch/default/NEWS.rst"
distfiles="$PYPI_SITE/h/hg-git/hg-git-$version.tar.gz"
checksum=6ed11a9862ea082e4f4628311db7b8f7f6e724d5469ba0b37fce7625a01d077f
do_check() {
python3 tests/run-tests.py --with-hg=/usr/bin/hg
}