Date: Saturday, March 7, 2020 @ 23:58:30 Author: arojas Revision: 376922
archrelease: copy trunk to extra-x86_64 Added: mercurial/repos/extra-x86_64/PKGBUILD (from rev 376921, mercurial/trunk/PKGBUILD) mercurial/repos/extra-x86_64/mercurial.profile (from rev 376921, mercurial/trunk/mercurial.profile) Deleted: mercurial/repos/extra-x86_64/PKGBUILD mercurial/repos/extra-x86_64/mercurial.profile -------------------+ PKGBUILD | 140 ++++++++++++++++++++++++++-------------------------- mercurial.profile | 2 2 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-07 23:58:00 UTC (rev 376921) +++ PKGBUILD 2020-03-07 23:58:30 UTC (rev 376922) @@ -1,70 +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.3 -pkgrel=1 -pkgdesc='A scalable distributed SCM tool' -arch=(x86_64) -url="https://www.mercurial-scm.org/" -license=(GPL) -depends=(python2) -optdepends=('tk: for the hgk GUI') -checkdepends=('breezy' 'cvs' 'git' 'git-lfs' 'python2-docutils' 'subversion' 'unzip') -backup=(etc/mercurial/hgrc) -validpgpkeys=(2BCCE14F5C6725AA2EA8AEB7B9C9DC824AA5BDD5 - 3A8155163D0E20A530FCB78647A67FFAA346AACE) -source=(https://www.mercurial-scm.org/release/${pkgname}-${pkgver}.tar.gz{,.asc} - mercurial.profile) -sha256sums=('e57ff61d6b67695149dd451922b40aa455ab02e01711806a131a1e95c544f9b9' - 'SKIP' - '87427151713e689cd87dc50d50c048e0e58285815e4eb61962b50583532cbde5') - -prepare() { - cd $pkgname-$pkgver - sed -i -e 's#env python#env python2#' mercurial/lsprof.py contrib/hg-ssh -} - -build() { - cd $pkgname-$pkgver/contrib/chg - make -} - -check() { - cd $pkgname-$pkgver/tests - # TODO - python2 run-tests.py -j16 || : -} - -package() { - cd $pkgname-$pkgver - python2 setup.py install --root="$pkgdir" --optimize=1 - - install -d "$pkgdir/usr/share/man/"{man1,man5} - install -m644 doc/hg.1 "$pkgdir/usr/share/man/man1" - install -m644 doc/{hgrc.5,hgignore.5} "$pkgdir/usr/share/man/man5" - 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 376921, mercurial/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-07 23:58:30 UTC (rev 376922) @@ -0,0 +1,70 @@ +# 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.3.1 +pkgrel=1 +pkgdesc='A scalable distributed SCM tool' +arch=(x86_64) +url="https://www.mercurial-scm.org/" +license=(GPL) +depends=(python2) +optdepends=('tk: for the hgk GUI') +checkdepends=('breezy' 'cvs' 'git' 'git-lfs' 'python2-docutils' 'subversion' 'unzip') +backup=(etc/mercurial/hgrc) +validpgpkeys=(2BCCE14F5C6725AA2EA8AEB7B9C9DC824AA5BDD5 + 3A8155163D0E20A530FCB78647A67FFAA346AACE) +source=(https://www.mercurial-scm.org/release/${pkgname}-${pkgver}.tar.gz{,.asc} + mercurial.profile) +sha256sums=('f7c1f96de2199d6b38593ea865f08c0521fbd8e2fd52bd332414bf9fe5bf72d9' + 'SKIP' + '87427151713e689cd87dc50d50c048e0e58285815e4eb61962b50583532cbde5') + +prepare() { + cd $pkgname-$pkgver + sed -i -e 's#env python#env python2#' mercurial/lsprof.py contrib/hg-ssh +} + +build() { + cd $pkgname-$pkgver/contrib/chg + make +} + +check() { + cd $pkgname-$pkgver/tests + # TODO + python2 run-tests.py -j16 || : +} + +package() { + cd $pkgname-$pkgver + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -d "$pkgdir/usr/share/man/"{man1,man5} + install -m644 doc/hg.1 "$pkgdir/usr/share/man/man1" + install -m644 doc/{hgrc.5,hgignore.5} "$pkgdir/usr/share/man/man5" + 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 2020-03-07 23:58:00 UTC (rev 376921) +++ mercurial.profile 2020-03-07 23:58:30 UTC (rev 376922) @@ -1 +0,0 @@ -export HG=/usr/bin/hg Copied: mercurial/repos/extra-x86_64/mercurial.profile (from rev 376921, mercurial/trunk/mercurial.profile) =================================================================== --- mercurial.profile (rev 0) +++ mercurial.profile 2020-03-07 23:58:30 UTC (rev 376922) @@ -0,0 +1 @@ +export HG=/usr/bin/hg