Date: Friday, March 4, 2022 @ 08:37:18 Author: arojas Revision: 438834
Revert PEP 517, it breaks shebangs (FS#74026) Modified: mercurial/trunk/PKGBUILD ----------+ PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-03-04 06:25:55 UTC (rev 438833) +++ PKGBUILD 2022-03-04 08:37:18 UTC (rev 438834) @@ -4,13 +4,13 @@ pkgname=mercurial pkgver=6.1 -pkgrel=1 +pkgrel=2 pkgdesc='A scalable distributed SCM tool' arch=(x86_64) url="https://www.mercurial-scm.org/" license=(GPL) depends=(python) -makedepends=(python-build python-installer python-setuptools python-wheel python-docutils) +makedepends=(python-docutils) optdepends=('tk: for the hgk GUI') #checkdepends=('breezy' 'cvs' 'git' 'git-lfs' 'python-docutils' 'subversion' 'unzip') @@ -34,7 +34,7 @@ build() { cd $pkgname-$pkgver - python -m build --wheel --no-isolation + python setup.py build make -C contrib/chg } @@ -46,7 +46,7 @@ package() { cd $pkgname-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl + python setup.py install --root="$pkgdir" --skip-build --optimize=1 make DESTDIR="${pkgdir}" PREFIX=/usr install install -m644 -D contrib/zsh_completion "$pkgdir/usr/share/zsh/site-functions/_hg"
