void-packages/srcpkgs/python3-dulwich/template

25 lines
830 B
Bash

# Template file for 'python3-dulwich'
pkgname=python3-dulwich
version=0.21.7
revision=1
build_style=python3-module
make_check_target="dulwich/tests"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3-urllib3"
checkdepends="${depends} python3-pytest python3-gevent python3-gpg 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=a9e9c66833cea580c3ac12927e4b9711985d76afca98da971405d414de60e968
conflicts="python-dulwich>=0"
post_install() {
# remove extra docs
rm -rf ${DESTDIR}/${py3_sitelib}/docs
}