~dricottone/huttese-apk

ref: d2088dff78735ae6fe03e1f1645aeb794818d09f huttese-apk/sr.ht/hg-evolve/APKBUILD -rw-r--r-- 1009 bytes
d2088dff — Drew DeVault py3-wheel: drop package 4 years ago
                                                                                
2b0623ee Ludovic Chabant
b5f75d9f Ludovic Chabant
65a9a4ce Drew DeVault
2b0623ee Ludovic Chabant
b5f75d9f Ludovic Chabant
2b0623ee Ludovic Chabant
b5f75d9f Ludovic Chabant
2b0623ee Ludovic Chabant
b5f75d9f Ludovic Chabant
2b0623ee Ludovic Chabant
b5f75d9f 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=9.2.1
pkgrel=2
pkgdesc="Flexible evolution of Mercurial history."
url="https://www.mercurial-scm.org/repo/evolve"
arch="all"
license="GPLv2+"
depends="mercurial"
makedepends="python3-dev py-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/18/6c/7ae28f077dc8c9f522570e5be8a86a961bfdd47387afa1a708df034a5353/hg-evolve-9.2.1.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"
	HGPYTHON3=1 python3 setup.py build
}

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

sha512sums="927ba873c583a4027d8c745ba8eb70e8768cd7c4c9a36f773d33d9a77807345cc9d2029c8cbe0d626984a963700399447f2bee01c6a0820a4a46894719f76869  hg-evolve-9.2.1.tar.gz"