diff --git a/srcpkgs/mercurial/files/tests_blacklist b/srcpkgs/mercurial/files/tests_blacklist index 25eec799be0..5de811cdcbe 100644 --- a/srcpkgs/mercurial/files/tests_blacklist +++ b/srcpkgs/mercurial/files/tests_blacklist @@ -1,3 +1,132 @@ +# based on https://gitlab.alpinelinux.org/alpine/aports/-/blob/3.22-stable/community/mercurial/blacklist.txt +test-debugcommands.t # " +test-doctest.py # abort: no repository found...; expected +test-hardlinks.t # 2 instead of 1 +test-lfs-test-server.t # object is corrupt +test-nointerrupt.t # " +test-persistent-nodemap.t # unclear +# fail with an error about address is use or unavailable +test-clonebundles.t +test-http-bad-server.t +test-http-bundle1.t +test-http-proxy.t +test-http.t +test-https.t +test-lfs-serve-access.t +# time out on x86_64 or x86 +test-bookmarks-pushpull.t +test-fix.t +test-glog-beautifygraph.t +test-glog.t +test-import.t +test-largefiles-misc.t +test-largefiles.t +test-log.t +test-merge-combination-file-content.t +test-merge-combination.t +test-mq.t +test-obsmarker-template.t +test-obsolete-bundle-strip.t +test-obsolete.t +test-revset.t +test-subrepo.t +test-template-functions.t +# time out on ppc64le +test-annotate.t +test-automv.t +test-backout.t +test-bisect.t +test-bisect2.t +test-bookmarks.t +test-branches.t +test-bundle2-exchange.t +test-censor.t +test-clone.t +test-commit-amend.t +test-commit-interactive.t +test-commit.t +test-convert-filemap.t +test-copies-chain-merge.t +test-copies-unrelated.t +test-copies.t +test-copytrace-heuristics.t +test-fileset.t +test-graft-interrupted.t +test-graft.t +test-help.t +test-hook.t +test-http-permissions.t +test-init.t +test-keyword.t +test-largefiles-update.t +test-lfs.t +test-merge-changedelete.t +test-merge-force.t test-merge-tools.t -test-status.t # ci -test-status-eacces.t # ci +test-mq-guards.t +test-mq-header-date.t +test-mq-header-from.t +test-mq-qpush-exact.t +test-mq-subrepo.t +test-mv-cp-st-diff.t +test-narrow-clone.t +test-narrow-share.t +test-narrow.t +test-obsolete-divergent.t +test-phases-exchange.t +test-push-race.t +test-push-warn.t +test-rebase-inmemory.t +test-rebase-scenario-global.t +test-remotefilelog-local.t +test-rename-merge2.t +test-resolve.t +test-revert.t +test-revset2.t +test-run-tests.t +test-shelve.t +test-shelve2.t +test-show-work.t +test-ssh-proto.t +test-strip.t +test-subrepo-deep-nested-change.t +test-subrepo-git.t +test-tag.t +test-tags.t +test-template-basic.t +test-template-keywords.t +test-template-map.t +test-transplant.t +test-treemanifest.t +test-uncommit.t +test-update-branches.t +# timed out on aarch64 +test-clone-uncompressed.t +test-lock-badness.t +test-narrow-clone-no-ellipsis.t +test-narrow-pull.t +test-remotefilelog-prefetch.t +test-rename.t +# outpput is different +test-convert-git.t +test-hghave.t +test-hgrc.t +test-mq-eol.t +test-mq-git.t +test-mq-qfold.t +test-mq-qnew.t +test-parseindex.t +test-patchbomb-tls.t +test-pathconflicts-merge.t +test-paths.t +test-remotefilelog-pull-noshallow.t +test-rename-merge1.t +test-status-tracked-key.t +test-wireproto-exchangev2-shallow.t +# fails on s390x +test-clone-stream.t +test-generaldelta.t +test-merge-halt.t +test-parseindex2.py +# fails on ppc64le +test-stdio.py # output changed and returned error code 1 diff --git a/srcpkgs/mercurial/template b/srcpkgs/mercurial/template index 9bb712e2390..60553c1c740 100644 --- a/srcpkgs/mercurial/template +++ b/srcpkgs/mercurial/template @@ -1,19 +1,19 @@ # Template file for 'mercurial' pkgname=mercurial -version=6.9 +version=7.0.3 revision=1 build_style=python3-module -hostmakedepends="python3 python3-setuptools python3-devel gettext git" +hostmakedepends="python3-devel python3-setuptools python3-setuptools_scm gettext" makedepends="python3-devel" depends="python3 ca-certificates" -checkdepends="iana-etc tar unzip which xz subversion-python python3-docutils gnupg - python3-Pygments" +checkdepends="diffutils gnupg iana-etc python3-docutils python3-pip subversion-python tar unzip which xz" short_desc="Fast, lightweight source control management system" -maintainer="Orphaned " +maintainer="Komeil Parseh " license="GPL-2.0-or-later" homepage="https://www.mercurial-scm.org/" +changelog="https://foss.heptapod.net/mercurial/hg-website/-/raw/branch/default/source/relnotes/7.0.md" distfiles="https://www.mercurial-scm.org/release/mercurial-${version}.tar.gz" -checksum=629604293df2be8171ec856bf4f8b4faa8e4305af13607dce0f89f74132836d6 +checksum=59fc84640524da6f1938ea7e4eb0cd579fc7fedaaf563a916cb4f9dac0eacf6c pre_check() { if [ "$XBPS_TARGET_LIBC" = musl ]; then @@ -37,8 +37,7 @@ post_install() { for i in doc/*.1 doc/*.8 doc/*.5 ; do vman $i done - vinstall contrib/bash_completion 644 \ - usr/share/bash-completion/completions hg - vinstall contrib/zsh_completion 644 \ - usr/share/zsh/site-functions _hg + for shell in bash zsh; do + vcompletion "contrib/${shell}_completion" $shell hg + done }