Date: Wednesday, September 1, 2021 @ 12:48:45 Author: arojas Revision: 422843
archrelease: copy trunk to extra-x86_64 Added: mercurial/repos/extra-x86_64/PKGBUILD (from rev 422842, mercurial/trunk/PKGBUILD) mercurial/repos/extra-x86_64/mercurial.profile (from rev 422842, mercurial/trunk/mercurial.profile) Deleted: mercurial/repos/extra-x86_64/PKGBUILD mercurial/repos/extra-x86_64/mercurial.profile -------------------+ PKGBUILD | 150 ++++++++++++++++++++++++++-------------------------- mercurial.profile | 2 2 files changed, 76 insertions(+), 76 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-01 12:48:33 UTC (rev 422842) +++ PKGBUILD 2021-09-01 12:48:45 UTC (rev 422843) @@ -1,75 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: Giovanni Scafora <giova...@archlinux.org> -# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> - -pkgname=mercurial -pkgver=5.8.1 -pkgrel=1 -pkgdesc='A scalable distributed SCM tool' -arch=(x86_64) -url="https://www.mercurial-scm.org/" -license=(GPL) -depends=(python) -makedepends=('python-docutils') -optdepends=('tk: for the hgk GUI') -#checkdepends=('breezy' 'cvs' 'git' 'git-lfs' 'python-docutils' 'subversion' 'unzip') - -# ToDo: -# check included contrib/packaging/mercurial.spec and how BLFS/Gentoo/Debian/Fedora do it -# the following should be either makedepends or checkdepends when running tests -# 'python-gnupg' 'python-pygments' 'python-pyflakes' 'python-pyopenssl' -# 'openssh' 'rust' 'subversion' 'breezy' 'cvs' 'git') - -backup=(etc/mercurial/hgrc) -validpgpkeys=(2BCCE14F5C6725AA2EA8AEB7B9C9DC824AA5BDD5 - 3A8155163D0E20A530FCB78647A67FFAA346AACE - EB851395B4223EE2F7BA0B28DA54740BF08732BA - 818D87CD1AC180C394C86E633A33DE460D9EC39F) # Pulkit Goyal <7895pul...@gmail.com> -source=(https://www.mercurial-scm.org/release/${pkgname}-${pkgver}.tar.gz{,.asc} - mercurial.profile) -sha512sums=('d17c809fc48c55d646b677ad23b5cf4a1755f5a81790988109cd50ac259acc230edad7bf5ccc7a6384a490aeba4a7492327bb9878a541d5fa7207e2c378be966' - 'SKIP' - '710dcddb24d928efc97370e869d9caa083107929ed9a1086dd2a3ae0caaf2c71e2f29060597e29315b6b15b1616251c42412e268ce737109c48ae4d7aa1b9555') - -build() { - cd $pkgname-$pkgver - export PYTHONHASHSEED=0 - make - make -C contrib/chg -} - -check() { - cd $pkgname-$pkgver/tests - # TODO - disabled for now - to many tests fail - #python run-tests.py # -j48 || : -} - -package() { - cd $pkgname-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - make DESTDIR="${pkgdir}" PREFIX=/usr install - - install -m644 -D contrib/zsh_completion "$pkgdir/usr/share/zsh/site-functions/_hg" - install -m644 -D contrib/bash_completion "$pkgdir/usr/share/bash-completion/completions/hg" - - make -C contrib/chg DESTDIR="$pkgdir" PREFIX=/usr install - install -m755 contrib/hg-ssh "$pkgdir/usr/bin" - install -m755 contrib/hgk "$pkgdir/usr/bin" - - install -d "$pkgdir/usr/share/emacs/site-lisp" - install -m644 contrib/{mq.el,mercurial.el} "$pkgdir/usr/share/emacs/site-lisp" - - install -Dm644 contrib/vim/HGAnnotate.vim \ - "$pkgdir/usr/share/vim/vimfiles/syntax/HGAnnotate.vim" - - # set some variables - install -m755 -d "$pkgdir/etc/profile.d" - install -m755 "$srcdir/mercurial.profile" "$pkgdir/etc/profile.d/mercurial.sh" - - # FS#38825 - Add certs config to package - install -m755 -d "$pkgdir/etc/mercurial" - cat <<-EOF > "$pkgdir/etc/mercurial/hgrc" - [web] - cacerts = /etc/ssl/certs/ca-certificates.crt - EOF -} Copied: mercurial/repos/extra-x86_64/PKGBUILD (from rev 422842, mercurial/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-01 12:48:45 UTC (rev 422843) @@ -0,0 +1,75 @@ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> + +pkgname=mercurial +pkgver=5.9.1 +pkgrel=1 +pkgdesc='A scalable distributed SCM tool' +arch=(x86_64) +url="https://www.mercurial-scm.org/" +license=(GPL) +depends=(python) +makedepends=('python-docutils') +optdepends=('tk: for the hgk GUI') +#checkdepends=('breezy' 'cvs' 'git' 'git-lfs' 'python-docutils' 'subversion' 'unzip') + +# ToDo: +# check included contrib/packaging/mercurial.spec and how BLFS/Gentoo/Debian/Fedora do it +# the following should be either makedepends or checkdepends when running tests +# 'python-gnupg' 'python-pygments' 'python-pyflakes' 'python-pyopenssl' +# 'openssh' 'rust' 'subversion' 'breezy' 'cvs' 'git') + +backup=(etc/mercurial/hgrc) +validpgpkeys=(2BCCE14F5C6725AA2EA8AEB7B9C9DC824AA5BDD5 + 3A8155163D0E20A530FCB78647A67FFAA346AACE + EB851395B4223EE2F7BA0B28DA54740BF08732BA + 818D87CD1AC180C394C86E633A33DE460D9EC39F) # Pulkit Goyal <7895pul...@gmail.com> +source=(https://www.mercurial-scm.org/release/${pkgname}-${pkgver}.tar.gz{,.asc} + mercurial.profile) +sha512sums=('2fe734ff707a73d2537af0b0c98e1142fa52b41f7ec4d5572cc5a8479f2d081e69de8b3dd136915d84cde4283f239e0519435c1dfd861824e3021c4c78cd305f' + 'SKIP' + '710dcddb24d928efc97370e869d9caa083107929ed9a1086dd2a3ae0caaf2c71e2f29060597e29315b6b15b1616251c42412e268ce737109c48ae4d7aa1b9555') + +build() { + cd $pkgname-$pkgver + export PYTHONHASHSEED=0 + make + make -C contrib/chg +} + +check() { + cd $pkgname-$pkgver/tests + # TODO - disabled for now - to many tests fail + #python run-tests.py # -j48 || : +} + +package() { + cd $pkgname-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + make DESTDIR="${pkgdir}" PREFIX=/usr install + + install -m644 -D contrib/zsh_completion "$pkgdir/usr/share/zsh/site-functions/_hg" + install -m644 -D contrib/bash_completion "$pkgdir/usr/share/bash-completion/completions/hg" + + make -C contrib/chg DESTDIR="$pkgdir" PREFIX=/usr install + install -m755 contrib/hg-ssh "$pkgdir/usr/bin" + install -m755 contrib/hgk "$pkgdir/usr/bin" + + install -d "$pkgdir/usr/share/emacs/site-lisp" + install -m644 contrib/{mq.el,mercurial.el} "$pkgdir/usr/share/emacs/site-lisp" + + install -Dm644 contrib/vim/HGAnnotate.vim \ + "$pkgdir/usr/share/vim/vimfiles/syntax/HGAnnotate.vim" + + # set some variables + install -m755 -d "$pkgdir/etc/profile.d" + install -m755 "$srcdir/mercurial.profile" "$pkgdir/etc/profile.d/mercurial.sh" + + # FS#38825 - Add certs config to package + install -m755 -d "$pkgdir/etc/mercurial" + cat <<-EOF > "$pkgdir/etc/mercurial/hgrc" + [web] + cacerts = /etc/ssl/certs/ca-certificates.crt + EOF +} Deleted: mercurial.profile =================================================================== --- mercurial.profile 2021-09-01 12:48:33 UTC (rev 422842) +++ mercurial.profile 2021-09-01 12:48:45 UTC (rev 422843) @@ -1 +0,0 @@ -export HG=/usr/bin/hg Copied: mercurial/repos/extra-x86_64/mercurial.profile (from rev 422842, mercurial/trunk/mercurial.profile) =================================================================== --- mercurial.profile (rev 0) +++ mercurial.profile 2021-09-01 12:48:45 UTC (rev 422843) @@ -0,0 +1 @@ +export HG=/usr/bin/hg