pkgsrc-WIP-changes archive

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

py-bson: convert to wheel.mk



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Tue Nov 21 08:34:07 2023 +0100
Changeset:	1d711981941da222cf44310cd3ea6b529929f069

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

Log Message:
py-bson: convert to wheel.mk

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

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

diffstat:
 py-bson/Makefile | 7 +++++--
 py-bson/PLIST    | 9 ++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs:
diff --git a/py-bson/Makefile b/py-bson/Makefile
index 4e6c0d0e03..45678b51e1 100644
--- a/py-bson/Makefile
+++ b/py-bson/Makefile
@@ -3,14 +3,17 @@
 DISTNAME=	bson-0.5.10
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel python
-MASTER_SITES=	https://files.pythonhosted.org/packages/4d/53/7c534a38850f2252275d7f949aed2219095e90df1e2d180a9c8ed139e499/
+MASTER_SITES=	${MASTER_SITE_PYPI:=b/bson/}
 
 MAINTAINER=	kamelderouiche%yahoo.com@localhost
 HOMEPAGE=	https://github.com/py-bson/bson
 COMMENT=	BSON codec for Python
 LICENSE=	apache-2.0
 
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=	${PYPKGPREFIX}-six>=1.15.0:../../lang/py-six
+DEPENDS+=	${PYPKGPREFIX}-dateutil>=2.4.0:../../time/py-dateutil
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-bson/PLIST b/py-bson/PLIST
index 6d8cb83377..cb43ee2694 100644
--- a/py-bson/PLIST
+++ b/py-bson/PLIST
@@ -1,9 +1,8 @@
 @comment $NetBSD$
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/bson/__init__.py
 ${PYSITELIB}/bson/__init__.pyc
 ${PYSITELIB}/bson/__init__.pyo


Home | Main Index | Thread Index | Old Index