Skip to content

Commit

Permalink
hg-git: update to 1.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
icp1994 committed Jul 5, 2022
1 parent a12a5fa commit c55c061
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
15 changes: 15 additions & 0 deletions srcpkgs/hg-git/patches/fix-encoding-test.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--- a/tests/test-encoding.t
+++ b/tests/test-encoding.t
@@ -33,10 +33,10 @@
$ . $TESTDIR/latin-1-encoding
Warning: commit message (did|does) not conform to UTF-8. (re)
You may want to amend it after fixing the message, or set the config
- variable i18n.commitencoding to the encoding your project uses.
+ variable i18n.commitEncoding to the encoding your project uses.
Warning: commit message (did|does) not conform to UTF-8. (re)
You may want to amend it after fixing the message, or set the config
- variable i18n.commitencoding to the encoding your project uses.
+ variable i18n.commitEncoding to the encoding your project uses.

$ cd ..
$ git init -q --bare repo.git
15 changes: 4 additions & 11 deletions srcpkgs/hg-git/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'hg-git'
pkgname=hg-git
version=0.9.0
revision=3
version=1.0.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-dulwich mercurial"
Expand All @@ -11,18 +11,11 @@ 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/-/blob/branch/default/NEWS.rst"
distfiles="$PYPI_SITE/h/hg-git/hg-git-$version.tar.gz"
checksum=77acbd8c322847ec109046d931e0731a91fcf13e10cfe9c183812706ec867671
checksum=3911833962eb9c899c6bea8fb49666c82f211b124d0840beb6ad95e23a4621b6

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
}

0 comments on commit c55c061

Please sign in to comment.