~dricottone/huttese-apk

ref: 1c17fce9cca994a284a073ae265da6f407a9854e huttese-apk/sr.ht/hg-evolve/APKBUILD -rw-r--r-- 974 bytes
1c17fce9 — Drew DeVault py3-arrow: remove; now in alpine community 3 years ago
                                                                                
2b0623ee Ludovic Chabant
3c85fec3 Drew DeVault
53de3438 Drew DeVault
23267f82 Drew DeVault
2b0623ee Ludovic Chabant
3c85fec3 Drew DeVault
2b0623ee Ludovic Chabant
b5f75d9f Ludovic Chabant
3c85fec3 Drew DeVault
53de3438 Drew DeVault
2b0623ee Ludovic Chabant
23267f82 Drew DeVault
2b0623ee Ludovic Chabant
53de3438 Drew DeVault
b5f75d9f Ludovic Chabant
2b0623ee Ludovic Chabant
53de3438 Drew DeVault
b5f75d9f Ludovic Chabant
2b0623ee Ludovic Chabant
53de3438 Drew DeVault
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
33
# Contributor: Ludovic Chabant <ludovic@chabant.com>
# Maintainer: Ludovic Chabant <ludovic@chabant.com>
pkgname=hg-evolve
_pyname=$pkgname
pkgver=10.2.0
_pypyver=$pkgver.post1
pkgrel=1
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-$_pypyver.tar.gz"
builddir="$srcdir/$pkgname-$_pypyver"

prepare() {
	# Conflicts with mercurial:
	rm hgext3rd/__init__.py
}

build() {
	PYTHONPATH="$(pwd)"
	HGPYTHON3=1 python3 setup.py build
}

package() {
	PYTHONPATH="$(pwd)"
	HGPYTHON3=1 python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="474f3cc8812b0dda368118c1f3b86be55191ddd876e7b457fa8c8b62c06496a903e551c2692daebef8374d7edfb8c298657a62d52a43e684e22a45b1ccc3307b  hg-evolve-10.2.0.post1.tar.gz"