A sr.ht/hg-evolve/APKBUILD => sr.ht/hg-evolve/APKBUILD +32 -0
@@ 0,0 1,32 @@
+# Contributor: Ludovic Chabant <ludovic@chabant.com>
+# Maintainer: Ludovic Chabant <ludovic@chabant.com>
+pkgname=hg-evolve
+pkgver=8.5.1
+pkgrel=0
+pkgdesc="Flexible evolution of Mercurial history."
+url="https://www.mercurial-scm.org/repo/evolve"
+arch="all"
+license="GPLv2+"
+depends="python2"
+makedepends="python2-dev py-setuptools mercurial"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/e3/ce/6594aa403e3464831d4daf20e45fd2e3ef553d968ac13d2c7fa791d4eedd/${pkgname}-${pkgver}.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
+}
+
+build() {
+ cd "$builddir"
+ python2 setup.py build
+}
+
+package() {
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="7c5d9608d03ab81fc7291edb3f0ddb016cd4b267997bf66fcb221c9c917fbd34bfb4637bbb0c60b460a32304ee45fd7e30db929312dfbaa94df17baf7947482e hg-evolve-8.5.1.tar.gz"
M sr.ht/hg.sr.ht/APKBUILD => sr.ht/hg.sr.ht/APKBUILD +1 -0
@@ 11,6 11,7 @@ depends="
py3-redis
py3-scmsrht
py3-unidiff
+ hg-evolve
"
makedepends="py-setuptools nodejs sassc"
subpackages="${pkgname}-openrc"