1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: Ludovic Chabant <ludovic@chabant.com>
# Maintainer: Ludovic Chabant <ludovic@chabant.com>
pkgname=hg-evolve
_pyname=$pkgname
pkgver=10.1.0
pkgrel=0
pkgdesc="Flexible evolution of Mercurial history."
url="https://www.mercurial-scm.org/repo/evolve"
arch="noarch"
license="GPLv2+"
depends="mercurial"
makedepends="python3-dev py-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
HGPYTHON3=1 python3 setup.py build
}
package() {
HGPYTHON3=1 python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="26333db8f71a6116ce9d8cbb21940befa573c1bbba3361af4776b4b2d3a3eca33b2c01ab5b5c9dc95810fb89f1e84b2ad85bf0a48989f5c583ebfca922d7d4da hg-evolve-10.1.0.tar.gz"