python3-debian: rebuild for Python 3.12
This commit is contained in:
parent
94fde08c54
commit
765c0991e1
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python3-debian'
|
||||
pkgname=python3-debian
|
||||
version=0.1.49
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-chardet"
|
||||
|
@ -11,10 +11,12 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|||
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="https://salsa.debian.org/python-debian-team/python-debian/-/archive/${version}/python-debian-${version}.tar.gz"
|
||||
checksum=d4ae0ea1038c0eaefaa31452bead700df132513ebb350bed1396fafd94401a61
|
||||
distfiles="${PYPI_SITE}/p/python-debian/python-debian-${version}.tar.gz"
|
||||
checksum=8cf677a30dbcb4be7a99536c17e11308a827a4d22028dc59a67f6c6dd3f0f58c
|
||||
|
||||
post_patch() {
|
||||
sed -e "s/__CHANGELOG_VERSION__/${version}/" lib/debian/_version.py.in \
|
||||
> lib/debian/_version.py
|
||||
cat > lib/debian/_version.py <<-EOF
|
||||
""" Version of the package """
|
||||
__version__ = '${version}'
|
||||
EOF
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue