pkgsrc-WIP-changes archive

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

py-shodan: Convert to wheel.mk



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Fri Nov 8 10:41:03 2024 +0100
Changeset:	de918a0f545e061a8a08e68062efb2ab891bfb06

Modified Files:
	py-shodan/Makefile
	py-shodan/PLIST

Log Message:
py-shodan: Convert to wheel.mk

NFCI

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=de918a0f545e061a8a08e68062efb2ab891bfb06

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-shodan/Makefile |  4 +++-
 py-shodan/PLIST    | 13 +++++++------
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs:
diff --git a/py-shodan/Makefile b/py-shodan/Makefile
index f78885f0c6..c0348bc30b 100644
--- a/py-shodan/Makefile
+++ b/py-shodan/Makefile
@@ -10,6 +10,8 @@ HOMEPAGE=	https://github.com/achillean/shodan-python
 COMMENT=	Python library and command-line utility for Shodan
 LICENSE=	mit
 
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=44.0:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=	${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click
 DEPENDS+=	${PYPKGPREFIX}-click-plugins-[0-9]*:../../devel/py-click-plugins
 DEPENDS+=	${PYPKGPREFIX}-colorama-[0-9]*:../../comms/py-colorama
@@ -25,5 +27,5 @@ USE_LANGUAGES=	# none
 post-install:
 	${MV} ${DESTDIR}${PREFIX}/bin/shodan ${DESTDIR}${PREFIX}/bin/shodan${PYVERSSUFFIX}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-shodan/PLIST b/py-shodan/PLIST
index f7da90694d..760ff794ea 100644
--- a/py-shodan/PLIST
+++ b/py-shodan/PLIST
@@ -1,11 +1,12 @@
 @comment $NetBSD$
 bin/shodan${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/shodan/__init__.py
 ${PYSITELIB}/shodan/__init__.pyc
 ${PYSITELIB}/shodan/__init__.pyo


Home | Main Index | Thread Index | Old Index