~dricottone/huttese-apk

23267f8251ba390c5ccbe797251bfa54836ea63d — Drew DeVault 3 years ago 53de343
hg-evolve: fix conflict with mercurial
1 files changed, 6 insertions(+), 1 deletions(-)

M sr.ht/hg-evolve/APKBUILD
M sr.ht/hg-evolve/APKBUILD => sr.ht/hg-evolve/APKBUILD +6 -1
@@ 4,7 4,7 @@ pkgname=hg-evolve
_pyname=$pkgname
pkgver=10.2.0
_pypyver=$pkgver.post1
pkgrel=0
pkgrel=1
pkgdesc="Flexible evolution of Mercurial history."
url="https://www.mercurial-scm.org/repo/evolve"
arch="noarch"


@@ 15,6 15,11 @@ _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