python3-portend: update to 2.6.

This commit is contained in:
Andrew J. Hesford 2020-10-14 21:33:31 -04:00
parent d15b35662f
commit b07c1de709

View file

@ -1,24 +1,19 @@
# Template file for 'python3-portend'
pkgname=python3-portend
version=2.5
revision=4
version=2.6
revision=1
wrksrc="portend-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
hostmakedepends="python3-setuptools_scm"
depends="python3-tempora"
short_desc="TCP port monitoring utilities (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/jaraco/portend"
changelog="https://github.com/jaraco/portend/blob/master/CHANGES.rst"
distfiles="https://github.com/jaraco/portend/archive/${version}.tar.gz"
checksum=69fa3194739142b62bd6e44f0f0cb0828ddee521f4c7b4634abc5b5e9a54f85a
distfiles="${PYPI_SITE}/p/portend/portend-${version}.tar.gz"
checksum=600dd54175e17e9347e5f3d4217aa8bcf4bf4fa5ffbc4df034e5ec1ba7cdaff5
pre_build() {
sed -i setup.py \
-e '/setuptools_scm/d' \
-e "s|use_scm_version=True|version='${version}'|"
}
post_install() {
vlicense LICENSE
}