~dricottone/huttese-apk

ref: 1061d91b6e3e46a2de97499fd30f2766bdb6ea6b huttese-apk/sr.ht/hg-evolve/APKBUILD -rw-r--r-- 998 bytes
1061d91b — Drew DeVault py3-emailthreads: upgrade to 0.1.1 5 years ago
                                                                                
2b0623ee Ludovic Chabant
0deddc84 Drew DeVault
2b0623ee Ludovic Chabant
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"