25 lines
728 B
Bash
25 lines
728 B
Bash
# Template file for 'python3-portend'
|
|
pkgname=python3-portend
|
|
version=2.5
|
|
revision=3
|
|
wrksrc="portend-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
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
|
|
|
|
pre_build() {
|
|
sed -i setup.py \
|
|
-e '/setuptools_scm/d' \
|
|
-e "s|use_scm_version=True|version='${version}'|"
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|