void-packages/srcpkgs/python3-dulwich/template

28 lines
787 B
Bash

# Template file for 'python3-dulwich'
pkgname=python3-dulwich
version=0.19.14
revision=4
wrksrc="dulwich-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3-urllib3"
checkdepends="python3-gevent python3-pbr python3-greenlet"
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=d1320232c859ab086fff79eee8fa6ddbcbcbe01ff0c64c9bed48eca470b00b46
conflicts="python-dulwich>=0"
do_check() {
python3 setup.py test
}
post_install() {
# remove extra docs
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/docs
}