~dricottone/huttese-apk

ref: 643dad205de9320abca6f6de592f2f5a2c75a585 huttese-apk/sr.ht/hg-evolve/APKBUILD -rw-r--r-- 998 bytes
643dad20 — Ludovic Chabant Upgrade mercurial to 5.1 5 years ago
                                                                                
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
26
27
28
29
30
31
32
# Contributor: Ludovic Chabant <ludovic@chabant.com>
# Maintainer: Ludovic Chabant <ludovic@chabant.com>
pkgname=hg-evolve
pkgver=8.5.1
pkgrel=1
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"