From 3ba2b6b6d16ca6bc82870e24dcd86a62cc2dc8a1 Mon Sep 17 00:00:00 2001 From: icp Date: Mon, 2 Jan 2023 01:52:34 +0530 Subject: [PATCH] python3-dulwich: update to 0.20.50. --- srcpkgs/python3-dulwich/template | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/srcpkgs/python3-dulwich/template b/srcpkgs/python3-dulwich/template index f1f45aeed9c..154c5df9648 100644 --- a/srcpkgs/python3-dulwich/template +++ b/srcpkgs/python3-dulwich/template @@ -1,26 +1,24 @@ # Template file for 'python3-dulwich' pkgname=python3-dulwich -version=0.20.44 -revision=2 +version=0.20.50 +revision=1 build_style=python3-module +make_check_target="dulwich/tests" hostmakedepends="python3-setuptools" makedepends="python3-devel" -depends="python3-urllib3 python3-certifi" -checkdepends="${depends} python3-gevent python3-gpg gnupg" +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 " 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=10e8d73763dd30c86a99a15ade8bfcf3ab8fe96532cdf497e8cb1d11832352b8 +checksum=50a941796b2c675be39be728d540c16b5b7ce77eb9e1b3f855650ece6832d2be 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 + rm -rf ${DESTDIR}/${py3_sitelib}/docs }