From e5bbfad486c64d9044818356a3e24be37b6cfff1 Mon Sep 17 00:00:00 2001 From: icp Date: Sun, 19 Feb 2023 00:22:18 +0530 Subject: [PATCH] python3-debian: update to 0.1.49. --- srcpkgs/python3-debian/template | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-debian/template b/srcpkgs/python3-debian/template index 2b5aeccb2224..f2a8388a361b 100644 --- a/srcpkgs/python3-debian/template +++ b/srcpkgs/python3-debian/template @@ -1,17 +1,20 @@ # Template file for 'python3-debian' pkgname=python3-debian -version=0.1.40 -revision=4 +version=0.1.49 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-chardet python3-six" -checkdepends="dpkg tar $depends" +depends="python3-chardet" +checkdepends="${depends} dpkg tar python3-pytest" short_desc="Python modules work with Debian-related data formats" maintainer="k4leg " license="GPL-2.0-or-later" homepage="https://pypi.org/project/python-debian" changelog="https://salsa.debian.org/python-debian-team/python-debian/raw/master/debian/changelog" -distfiles="${PYPI_SITE}/p/python-debian/python-debian-${version}.tar.gz" -checksum=385dfb965eca75164d256486c7cf9bae772d24144249fd18b9d15d3cffb70eea -# PyPI release has no tests, upstream origin has no version info -make_check=no +distfiles="https://salsa.debian.org/python-debian-team/python-debian/-/archive/${version}/python-debian-${version}.tar.gz" +checksum=d4ae0ea1038c0eaefaa31452bead700df132513ebb350bed1396fafd94401a61 + +post_patch() { + sed -e "s/__CHANGELOG_VERSION__/${version}/" lib/debian/_version.py.in \ + > lib/debian/_version.py +}