# Template file for 'python3-debian' pkgname=python3-debian version=0.1.49 revision=2 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-chardet" checkdepends="${depends} dpkg tar python3-pytest" short_desc="Python modules work with Debian-related data formats" maintainer="Orphaned " 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=8cf677a30dbcb4be7a99536c17e11308a827a4d22028dc59a67f6c6dd3f0f58c post_patch() { cat > lib/debian/_version.py <<-EOF """ Version of the package """ __version__ = '${version}' EOF }