Date: Sat, 23 Mar 2024 14:58:40 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f76cd2c80173 - main - security/denyhosts: Convert to USE_PYTHON=pep517 Message-ID: <202403231458.42NEwegl085968@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f76cd2c80173b9f2fd3f673b15e82a6dd4039bf3 commit f76cd2c80173b9f2fd3f673b15e82a6dd4039bf3 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-03-23 14:18:59 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-03-23 14:30:47 +0000 security/denyhosts: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- security/denyhosts/Makefile | 6 ++++-- security/denyhosts/files/patch-setup.py | 11 ++++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/security/denyhosts/Makefile b/security/denyhosts/Makefile index 1351392d3136..698fcb822066 100644 --- a/security/denyhosts/Makefile +++ b/security/denyhosts/Makefile @@ -1,5 +1,6 @@ PORTNAME= denyhosts PORTVERSION= 3.1.2 +PORTREVISION= 1 CATEGORIES= security PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} MASTER_SITES= https://github.com/denyhosts/denyhosts/releases/download/v${PORTVERSION:R}/ @@ -12,11 +13,12 @@ WWW= https://github.com/denyhosts/denyhosts LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddr>=0:devel/py-ipaddr@${PY_FLAVOR} USES= cpe python shebangfix -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes USE_RC_SUBR= denyhosts diff --git a/security/denyhosts/files/patch-setup.py b/security/denyhosts/files/patch-setup.py index 8a6d3ed5d1b8..69068cfb9470 100644 --- a/security/denyhosts/files/patch-setup.py +++ b/security/denyhosts/files/patch-setup.py @@ -1,6 +1,6 @@ --- setup.py.orig 2020-05-08 14:20:42 UTC +++ setup.py -@@ -13,8 +13,8 @@ from DenyHosts.util import normalize_whitespace +@@ -13,8 +13,8 @@ etcpath = "/etc" from DenyHosts.version import VERSION etcpath = "/etc" @@ -11,6 +11,15 @@ scriptspath = ospj("scripts", libpath) pluginspath = ospj("plugins", libpath) denyhostsman = 'denyhosts.8' +@@ -40,7 +40,7 @@ setup( + ) + + setup( +- name="DenyHosts", ++ name="denyhosts", + version=VERSION, + description="DenyHost is a utility to help sys admins thwart ssh hackers", + author="Jesse Smith", @@ -50,10 +50,6 @@ setup( package_dir={'DenyHosts': 'DenyHosts'}, packages=["DenyHosts"],
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403231458.42NEwegl085968>