void-packages/srcpkgs/python3-dulwich/template

27 lines
798 B
Bash

# Template file for 'python3-dulwich'
pkgname=python3-dulwich
version=0.20.44
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3-urllib3 python3-certifi"
checkdepends="${depends} python3-gevent python3-gpg gnupg"
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/"
distfiles="${PYPI_SITE}/d/dulwich/dulwich-${version}.tar.gz"
checksum=10e8d73763dd30c86a99a15ade8bfcf3ab8fe96532cdf497e8cb1d11832352b8
conflicts="python-dulwich>=0"
do_check() {
python3 -m unittest dulwich.tests.test_suite
}
post_install() {
# remove extra docs
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/docs
}