From 3c85fec31eb177196fc9472bb34bfdfa68441655 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 18 Jan 2021 10:18:18 -0500 Subject: [PATCH] hg-evolve: upgrade to 10.1.0 --- sr.ht/hg-evolve/APKBUILD | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/sr.ht/hg-evolve/APKBUILD b/sr.ht/hg-evolve/APKBUILD index ca2d5c5..b31cecf 100644 --- a/sr.ht/hg-evolve/APKBUILD +++ b/sr.ht/hg-evolve/APKBUILD @@ -1,32 +1,25 @@ # Contributor: Ludovic Chabant # Maintainer: Ludovic Chabant pkgname=hg-evolve -pkgver=9.2.1 -pkgrel=3 +_pyname=$pkgname +pkgver=10.1.0 +pkgrel=0 pkgdesc="Flexible evolution of Mercurial history." url="https://www.mercurial-scm.org/repo/evolve" -arch="all" +arch="noarch" license="GPLv2+" depends="mercurial" makedepends="python3-dev py-setuptools" -source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/18/6c/7ae28f077dc8c9f522570e5be8a86a961bfdd47387afa1a708df034a5353/hg-evolve-9.2.1.tar.gz" -builddir="${srcdir}/${pkgname}-${pkgver}" - -prepare() { - default_prepare - cd "$builddir" - # Removing hgext3rd/__init__.py since it's provided by mercurial - rm hgext3rd/__init__.py -} +_pypiprefix="${_pyname%${_pyname#?}}" +source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir" HGPYTHON3=1 python3 setup.py build } package() { - cd "$builddir" HGPYTHON3=1 python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="927ba873c583a4027d8c745ba8eb70e8768cd7c4c9a36f773d33d9a77807345cc9d2029c8cbe0d626984a963700399447f2bee01c6a0820a4a46894719f76869 hg-evolve-9.2.1.tar.gz" +sha512sums="26333db8f71a6116ce9d8cbb21940befa573c1bbba3361af4776b4b2d3a3eca33b2c01ab5b5c9dc95810fb89f1e84b2ad85bf0a48989f5c583ebfca922d7d4da hg-evolve-10.1.0.tar.gz" -- 2.45.2