From b07c1de709640be885e50b47163cc2937f16feab Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Wed, 14 Oct 2020 21:33:31 -0400 Subject: [PATCH] python3-portend: update to 2.6. --- srcpkgs/python3-portend/template | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/srcpkgs/python3-portend/template b/srcpkgs/python3-portend/template index 6cf1d03eda..42bf48ae2e 100644 --- a/srcpkgs/python3-portend/template +++ b/srcpkgs/python3-portend/template @@ -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 " 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 }