@@ 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