From 2dda70a10b137981c97e8b0359562b7ebe565a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 16:24:17 +0700 Subject: [PATCH] python-portend: drop package --- srcpkgs/python3-portend | 1 - .../template | 27 +++++-------------- 2 files changed, 7 insertions(+), 21 deletions(-) delete mode 120000 srcpkgs/python3-portend rename srcpkgs/{python-portend => python3-portend}/template (51%) diff --git a/srcpkgs/python3-portend b/srcpkgs/python3-portend deleted file mode 120000 index 5d4327eb368..00000000000 --- a/srcpkgs/python3-portend +++ /dev/null @@ -1 +0,0 @@ -python-portend \ No newline at end of file diff --git a/srcpkgs/python-portend/template b/srcpkgs/python3-portend/template similarity index 51% rename from srcpkgs/python-portend/template rename to srcpkgs/python3-portend/template index 455051f5a50..8d975df5dc0 100644 --- a/srcpkgs/python-portend/template +++ b/srcpkgs/python3-portend/template @@ -1,14 +1,12 @@ -# Template file for 'python-portend' -pkgname=python-portend +# Template file for 'python3-portend' +pkgname=python3-portend version=2.5 -revision=2 -archs=noarch +revision=3 wrksrc="portend-${version}" -build_style=python-module -pycompile_module="portend.py" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-tempora" -short_desc="TCP port monitoring utilities (Python2)" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-tempora" +short_desc="TCP port monitoring utilities (Python3)" maintainer="Orphaned " license="MIT" homepage="https://github.com/jaraco/portend" @@ -24,14 +22,3 @@ pre_build() { post_install() { vlicense LICENSE } - -python3-portend_package() { - archs=noarch - depends="python3-tempora" - pycompile_module="portend.py" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -}