py-eradicate: convert to egg.mk

This commit is contained in:
wiz 2022-01-10 18:28:51 +00:00
parent 3297b67eeb
commit 44f0b6a1d9
2 changed files with 8 additions and 4 deletions

View file

@ -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"

View file

@ -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