From 44f0b6a1d9f4ec39563832eef43769d84dcbabdf Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 10 Jan 2022 18:28:51 +0000 Subject: [PATCH] py-eradicate: convert to egg.mk --- textproc/py-eradicate/Makefile | 5 +++-- textproc/py-eradicate/PLIST | 7 +++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/textproc/py-eradicate/Makefile b/textproc/py-eradicate/Makefile index b8710b85876c..0108216ac8fb 100644 --- a/textproc/py-eradicate/Makefile +++ b/textproc/py-eradicate/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2019/01/22 10:44:10 adam Exp $ +# $NetBSD: Makefile,v 1.3 2022/01/10 18:28:51 wiz Exp $ DISTNAME= eradicate-1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=e/eradicate/} @@ -16,5 +17,5 @@ post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} eradicate eradicate-${PYVERSSUFFIX} || ${TRUE} -.include "../../lang/python/distutils.mk" +.include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-eradicate/PLIST b/textproc/py-eradicate/PLIST index 19e1c331004b..a551e12abe77 100644 --- a/textproc/py-eradicate/PLIST +++ b/textproc/py-eradicate/PLIST @@ -1,6 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1 2018/11/20 14:09:58 adam Exp $ +@comment $NetBSD: PLIST,v 1.2 2022/01/10 18:28:51 wiz Exp $ bin/eradicate-${PYVERSSUFFIX} -${PYSITELIB}/${EGG_FILE} +${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}/eradicate.py ${PYSITELIB}/eradicate.pyc ${PYSITELIB}/eradicate.pyo