From ea3e7ed4df18d1f10bd9ded29c59180d2bf59b35 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 14 Jan 2022 11:29:02 +0000 Subject: py-IP: fix PLIST for python 2.7 --- net/py-IP/Makefile | 6 +++++- net/py-IP/PLIST | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'net/py-IP') diff --git a/net/py-IP/Makefile b/net/py-IP/Makefile index 00acf747b00..d29e6c12877 100644 --- a/net/py-IP/Makefile +++ b/net/py-IP/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2022/01/10 08:40:59 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2022/01/14 11:29:02 wiz Exp $ DISTNAME= IPy-1.01 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/IPy/IP/} @@ -13,7 +13,11 @@ LICENSE= modified-bsd USE_LANGUAGES= # none +.include "../../lang/python/pyversion.mk" + +.if ${PYPKGPREFIX} != "py27" EGG_NAME= IPy-1.1 +.endif do-test: cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_IPy.py diff --git a/net/py-IP/PLIST b/net/py-IP/PLIST index f810d3a4d44..215e24327b6 100644 --- a/net/py-IP/PLIST +++ b/net/py-IP/PLIST @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST,v 1.6 2022/01/10 18:20:05 wiz Exp $ +@comment $NetBSD: PLIST,v 1.7 2022/01/14 11:29:02 wiz Exp $ +${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 -- cgit v1.2.3