[arch-commits] Commit in mercurial/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Wed Jan 15 14:07:33 UTC 2020


    Date: Wednesday, January 15, 2020 @ 14:07:32
  Author: bpiotrowski
Revision: 373509

5.2.2-1

Modified:
  mercurial/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-15 13:22:10 UTC (rev 373508)
+++ PKGBUILD	2020-01-15 14:07:32 UTC (rev 373509)
@@ -3,13 +3,13 @@
 # Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
 
 pkgname=mercurial
-pkgver=5.2.1
+pkgver=5.2.2
 pkgrel=1
 pkgdesc='A scalable distributed SCM tool'
 arch=(x86_64)
 url="https://www.mercurial-scm.org/"
 license=(GPL)
-depends=(python2)
+depends=(python)
 optdepends=('tk: for the hgk GUI')
 backup=(etc/mercurial/hgrc)
 validpgpkeys=(2BCCE14F5C6725AA2EA8AEB7B9C9DC824AA5BDD5
@@ -16,15 +16,10 @@
               3A8155163D0E20A530FCB78647A67FFAA346AACE)  
 source=(https://www.mercurial-scm.org/release/${pkgname}-${pkgver}.tar.gz{,.asc}
         mercurial.profile)
-sha256sums=('18b1550abf9872a6905eb67527bc73e13f2a448830cca9be883528b0ce68b3df'
+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
@@ -32,7 +27,7 @@
 
 package() {
   cd $pkgname-$pkgver
-  python2 setup.py install --root="$pkgdir" --optimize=1
+  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"



More information about the arch-commits mailing list