# Template file for 'hg-git' pkgname=hg-git version=0.9.0 revision=2 build_style=python3-module hostmakedepends="python3-setuptools" 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 " license="GPL-2.0-only" # https://www.mercurial-scm.org/wiki/HgGit homepage="https://foss.heptapod.net/mercurial/hg-git" distfiles="$PYPI_SITE/h/hg-git/hg-git-$version.tar.gz" checksum=77acbd8c322847ec109046d931e0731a91fcf13e10cfe9c183812706ec867671 do_check() { cd tests rm -f test-branch-bookmark-suffix.t # Git 2.28 appends merge into master, Git 2.29 reverts that change rm -f test-merge.t test-octopus.t test-pull.t # test hg serve, bind to localhost instead * rm -f test-http.t # Differ in warning, which is new in Git 2.28 rm -f test-subrepos.t python3 run-tests.py --with-hg=/usr/bin/hg }