<pre style='margin:0'>
Dan Villiom Podlaski Christiansen (danchr) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ca577f5a4f68723362a651a9c40480ad2a0e8f2a">https://github.com/macports/macports-ports/commit/ca577f5a4f68723362a651a9c40480ad2a0e8f2a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ca577f5a4f6 hg-git: update to 1.0.0
</span>ca577f5a4f6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ca577f5a4f68723362a651a9c40480ad2a0e8f2a
</span>Author: Dan Villiom Podlaski Christiansen <danchr@macports.org>
AuthorDate: Sun Apr 3 16:46:43 2022 +0200
<span style='display:block; white-space:pre;color:#404040;'> hg-git: update to 1.0.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * remove openmaintainer as I am also an upstream maintainer
</span><span style='display:block; white-space:pre;color:#404040;'> * add configuration for running tests
</span>---
devel/hg-git/Portfile | 33 +++++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/hg-git/Portfile b/devel/hg-git/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 920829fd1fc..6324d83c49e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/hg-git/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/hg-git/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,14 +4,14 @@ PortSystem 1.0
</span> PortGroup python 1.0
name hg-git
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.10.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.0.0
</span> revision 0
categories devel
license GPL-2
platforms darwin
supported_archs noarch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {danchr @danchr} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {danchr @danchr}
</span>
homepage https://www.mercurial-scm.org/wiki/HgGit
description Push to and pull from a Git server repository from Mercurial.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,20 +21,25 @@ long_description This is the Hg-Git plugin for Mercurial, adding the abil
</span> or use a Git server as a collaboration point for a team with \
developers using both Git and Mercurial.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 619befa41882493e87df455918a1b18c9deba227 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 82e265226f473d380ac39720feceeb1524ff72b0177cfc46606799c4427e85cc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 150247
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 131ec8b947d808252541320dbd516a8a0e8a8834 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 3911833962eb9c899c6bea8fb49666c82f211b124d0840beb6ad95e23a4621b6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 204272
</span>
python.default_version 310
python.pep517 yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:py${python.version}-setuptools_scm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:mercurial port:py${python.version}-dulwich
# used by urllib3 for better compression when cloning using HTTP, e.g.
# from Github
depends_lib-append port:py${python.version}-brotli
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_test-append port:git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_test-append port:git port:gnupg2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pygments \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pyflakes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:dash
</span>
notes "
To enable hggit, add the following to your ~/.hgrc:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,6 +48,18 @@ To enable hggit, add the following to your ~/.hgrc:
</span> hggit =
"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-test {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "${python.bin} ./tests/run-tests.py -j ${build.jobs}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # output some useful diagnostics
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set -x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hg debuginstall
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ hg --config extensions.hggit=./hggit version -v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.cmd ${python.bin} ./run-tests.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.args -j ${build.jobs} --shell=${prefix}/bin/dash
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.dir ${worksrcpath}/tests
</span></pre><pre style='margin:0'>
</pre>