void-packages/srcpkgs/hg-git/template

22 lines
761 B
Bash

# Template file for 'hg-git'
pkgname=hg-git
version=1.0.0
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools python3-setuptools_scm"
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=3911833962eb9c899c6bea8fb49666c82f211b124d0840beb6ad95e23a4621b6
do_check() {
cd tests
python3 run-tests.py --with-hg=/usr/bin/hg
}