mercurial: Update to 5.2.1. Move to python3
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
pkgname=mercurial
|
||||
pkgver=5.2
|
||||
pkgver=5.2.1
|
||||
pkgrel=1
|
||||
pkgdesc="A scalable distributed SCM tool"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://www.mercurial-scm.org/"
|
||||
license=('GPL')
|
||||
groups=('VCS')
|
||||
depends=('python2')
|
||||
depends=('python3')
|
||||
makedepends=('libcrypt-devel')
|
||||
#optdepends=('tk: for the hgk GUI')
|
||||
backup=('etc/mercurial/hgrc')
|
||||
source=("https://mercurial-scm.org/release/${pkgname}-${pkgver}.tar.gz"{,.asc}
|
||||
'mercurial.profile'
|
||||
'mercurial-4.3.1-msys2.patch')
|
||||
sha256sums=('ff030e923f03ee15c91191996fcb099bfcfa60c7df263be227f67b6a65d36194'
|
||||
sha256sums=('18b1550abf9872a6905eb67527bc73e13f2a448830cca9be883528b0ce68b3df'
|
||||
'SKIP'
|
||||
'87427151713e689cd87dc50d50c048e0e58285815e4eb61962b50583532cbde5'
|
||||
'1a35962837bb1eb8893e4ab8aa3a49bb18023b632d4c3a2fa903ebfdd7e598ce')
|
||||
@@ -29,10 +29,7 @@ package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \
|
||||
python2 setup.py install --root="${pkgdir}/" --prefix=/usr --optimize=1
|
||||
|
||||
sed -i -e 's#env python#env python2#' \
|
||||
"${pkgdir}"/usr/lib/python2.7/site-packages/mercurial/lsprof.py
|
||||
python3 setup.py install --root="${pkgdir}/" --prefix=/usr --optimize=1
|
||||
|
||||
install -d ${pkgdir}/usr/share/man/{man1,man5}
|
||||
install -m644 doc/hg.1 "${pkgdir}/usr/share/man/man1"
|
||||
|
||||
Reference in New Issue
Block a user