33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'hg-evolve'
|
|
pkgname=hg-evolve
|
|
version=11.1.0
|
|
revision=1
|
|
_hg_version=6.5 # sync with mercurial version in void repos
|
|
build_style=python3-module
|
|
build_wrksrc="hg-evolve-${version}"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="mercurial"
|
|
checkdepends="mercurial unzip"
|
|
short_desc="Mercurial extension for faster and safer mutable history"
|
|
maintainer="icp <pangolin@vivaldi.net>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.mercurial-scm.org/doc/evolution/"
|
|
changelog="https://repo.mercurial-scm.org/evolve/file/tip/CHANGELOG"
|
|
distfiles="${PYPI_SITE}/h/hg-evolve/hg-evolve-${version}.tar.gz
|
|
https://www.mercurial-scm.org/release/mercurial-${_hg_version}.tar.gz"
|
|
checksum="b0cbc7bc7c0bb8c4f42da1f65c50de3ee78f6f00978ef97ae9019d11147493a8
|
|
a5603d0d395ebf67fe5d27abbb3bd37fcc01871ecf394c793672d2c1e68be7e7"
|
|
|
|
do_check() {
|
|
_skips="check-compat-strings check-sdist version-install"
|
|
for skip in $_skips; do rm "tests/test-${skip}.t"; done
|
|
|
|
python3 ${wrksrc}/mercurial-${_hg_version}/tests/run-tests.py \
|
|
${makejobs} --with-hg=/usr/bin/hg tests
|
|
}
|
|
|
|
post_install() {
|
|
# resolve conflict against mercurial
|
|
rm ${DESTDIR}/${py3_sitelib}/hgext3rd/__init__.py
|
|
}
|