# Template file for 'python3-dulwich'
#
# Always check hg-git
pkgname=python3-dulwich
version=0.24.1
revision=2
build_style=python3-module
make_check_target="dulwich/tests"
hostmakedepends="python3-setuptools-rust"
makedepends="python3-devel"
depends="python3-urllib3"
checkdepends="${depends} python3-pytest python3-gevent gpgme-python3 gnupg git"
short_desc="Python3 implementation of the Git file formats and protocols"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, Apache-2.0"
homepage="https://www.dulwich.io/"
changelog="https://raw.githubusercontent.com/jelmer/dulwich/master/NEWS"
distfiles="${PYPI_SITE}/d/dulwich/dulwich-${version}.tar.gz"
checksum=e19fd864f10f02bb834bb86167d92dcca1c228451b04458761fc13dabd447758

conflicts="python-dulwich>=0"

post_install() {
	# remove extra docs
	rm -rf ${DESTDIR}/${py3_sitelib}/docs
}
