Date: Thursday, January 30, 2020 @ 20:05:52
  Author: heftig
Revision: 374372

archrelease: copy trunk to extra-x86_64

Added:
  mercurial/repos/extra-x86_64/PKGBUILD
    (from rev 374370, mercurial/trunk/PKGBUILD)
  mercurial/repos/extra-x86_64/mercurial.profile
    (from rev 374370, mercurial/trunk/mercurial.profile)
Deleted:
  mercurial/repos/extra-x86_64/PKGBUILD
  mercurial/repos/extra-x86_64/mercurial.profile

-------------------+
 PKGBUILD          |  121 +++++++++++++++++++++++++++-------------------------
 mercurial.profile |    2 
 2 files changed, 64 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-01-30 20:05:48 UTC (rev 374371)
+++ PKGBUILD    2020-01-30 20:05:52 UTC (rev 374372)
@@ -1,58 +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.2.2
-pkgrel=1
-pkgdesc='A scalable distributed SCM tool'
-arch=(x86_64)
-url="https://www.mercurial-scm.org/";
-license=(GPL)
-depends=(python)
-optdepends=('tk: for the hgk GUI')
-backup=(etc/mercurial/hgrc)
-validpgpkeys=(2BCCE14F5C6725AA2EA8AEB7B9C9DC824AA5BDD5
-              3A8155163D0E20A530FCB78647A67FFAA346AACE)  
-source=(https://www.mercurial-scm.org/release/${pkgname}-${pkgver}.tar.gz{,.asc}
-        mercurial.profile)
-sha256sums=('ffc5ff47488c7b5dae6ead3d99f08ef469500d6567592a25311838320106c03b'
-            'SKIP'
-            '87427151713e689cd87dc50d50c048e0e58285815e4eb61962b50583532cbde5')
-
-build() {
-  cd $pkgname-$pkgver/contrib/chg
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python 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 374370, 
mercurial/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-01-30 20:05:52 UTC (rev 374372)
@@ -0,0 +1,63 @@
+# 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.2.2
+pkgrel=2
+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')
+backup=(etc/mercurial/hgrc)
+validpgpkeys=(2BCCE14F5C6725AA2EA8AEB7B9C9DC824AA5BDD5
+              3A8155163D0E20A530FCB78647A67FFAA346AACE)  
+source=(https://www.mercurial-scm.org/release/${pkgname}-${pkgver}.tar.gz{,.asc}
+        mercurial.profile)
+sha256sums=('ffc5ff47488c7b5dae6ead3d99f08ef469500d6567592a25311838320106c03b'
+            '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
+}
+
+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-01-30 20:05:48 UTC (rev 374371)
+++ mercurial.profile   2020-01-30 20:05:52 UTC (rev 374372)
@@ -1 +0,0 @@
-export HG=/usr/bin/hg

Copied: mercurial/repos/extra-x86_64/mercurial.profile (from rev 374370, 
mercurial/trunk/mercurial.profile)
===================================================================
--- mercurial.profile                           (rev 0)
+++ mercurial.profile   2020-01-30 20:05:52 UTC (rev 374372)
@@ -0,0 +1 @@
+export HG=/usr/bin/hg

Reply via email to