pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-denyhosts py-denyhosts: convert to egg.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90c16fb499ec
branches:  trunk
changeset: 372103:90c16fb499ec
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 19 18:09:08 2022 +0000

description:
py-denyhosts: convert to egg.mk

diffstat:

 security/py-denyhosts/Makefile |  14 +++++++-------
 security/py-denyhosts/PLIST    |   7 ++++++-
 2 files changed, 13 insertions(+), 8 deletions(-)

diffs (51 lines):

diff -r f27177cf8cb5 -r 90c16fb499ec security/py-denyhosts/Makefile
--- a/security/py-denyhosts/Makefile    Wed Jan 19 18:02:32 2022 +0000
+++ b/security/py-denyhosts/Makefile    Wed Jan 19 18:09:08 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2021/11/27 14:28:10 he Exp $
+# $NetBSD: Makefile,v 1.24 2022/01/19 18:09:08 wiz Exp $
 
-VER=           3.0
-DISTNAME=      denyhosts-${VER}
-PKGNAME=       ${PYPKGPREFIX}-denyhosts-${VER}
+DISTNAME=      denyhosts-3.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=denyhosts/}
 LICENSE=       gnu-gpl-v2
@@ -11,8 +11,6 @@
 HOMEPAGE=      http://denyhosts.sourceforge.net/
 COMMENT=       Watch auth log for invalid ssh login attempts and block hosts
 
-PYDISTUTILSPKG=        yes
-
 EGDIR=         share/examples/denyhosts
 INSTALLATION_DIRS+=    ${EGDIR}
 
@@ -41,6 +39,8 @@
        mv ${DESTDIR}/${PKG_SYSCONFDIR}/denyhosts.conf \
                ${DESTDIR}/${PREFIX}/${EGDIR}/denyhosts.conf
 
-.include "../../lang/python/extension.mk"
+EGG_NAME=      DenyHosts-${PKGVERSION_NOREV}
+
+.include "../../lang/python/egg.mk"
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f27177cf8cb5 -r 90c16fb499ec security/py-denyhosts/PLIST
--- a/security/py-denyhosts/PLIST       Wed Jan 19 18:02:32 2022 +0000
+++ b/security/py-denyhosts/PLIST       Wed Jan 19 18:09:08 2022 +0000
@@ -1,6 +1,11 @@
-@comment $NetBSD: PLIST,v 1.4 2021/11/27 14:28:10 he Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/01/19 18:09:08 wiz Exp $
 bin/daemon-control-dist
 bin/denyhosts.py
+${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}
+${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/DenyHosts/__init__.py
 ${PYSITELIB}/DenyHosts/__init__.pyc
 ${PYSITELIB}/DenyHosts/__init__.pyo



Home | Main Index | Thread Index | Old Index