void-packages/srcpkgs/python3-dulwich/template

25 lines
831 B
Bash

# Template file for 'python3-dulwich'
pkgname=python3-dulwich
version=0.20.50
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=50a941796b2c675be39be728d540c16b5b7ce77eb9e1b3f855650ece6832d2be
conflicts="python-dulwich>=0"
post_install() {
# remove extra docs
rm -rf ${DESTDIR}/${py3_sitelib}/docs
}