python3-debian: update to 0.1.49.

This commit is contained in:
icp 2023-02-19 00:22:18 +05:30 committed by classabbyamp
parent 4b98f71b70
commit b50d79e31c

View file

@ -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 <python.bogdan@gmail.com>"
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
}