pkgsrc-WIP-changes archive

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

py-delegator: convert to wheel.mk



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Sep 29 11:26:30 2025 +0200
Changeset:	55e04182061e40b34705ec74b722997d3ab7c1c5

Modified Files:
	py-delegator/DESCR
	py-delegator/Makefile
	py-delegator/PLIST

Log Message:
py-delegator: 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=55e04182061e40b34705ec74b722997d3ab7c1c5

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

diffstat:
 py-delegator/DESCR    |  2 ++
 py-delegator/Makefile |  8 ++++++--
 py-delegator/PLIST    | 10 +++++-----
 3 files changed, 13 insertions(+), 7 deletions(-)

diffs:
diff --git a/py-delegator/DESCR b/py-delegator/DESCR
index e69de29bb2..369d0da93e 100644
--- a/py-delegator/DESCR
+++ b/py-delegator/DESCR
@@ -0,0 +1,2 @@
+Delegator.py is a simple library for dealing with subprocesses,
+inspired by both envoy and pexpect.
diff --git a/py-delegator/Makefile b/py-delegator/Makefile
index c0ddf60d9d..3a24ebfe19 100644
--- a/py-delegator/Makefile
+++ b/py-delegator/Makefile
@@ -8,7 +8,11 @@ MASTER_SITES=	${MASTER_SITE_PYPI:=d/delegator.py/}
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://pypi.org/project/delegator.py
 COMMENT=	Subprocesses for Humans 2.0
-#LICENSE=	# TODO: (see mk/license.mk)
+LICENSE=	mit
 
-.include "../../lang/python/egg.mk"
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+
+WHEEL_NAME=	${DISTNAME:S/./_/}
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-delegator/PLIST b/py-delegator/PLIST
index c8098bd50d..385c90e56f 100644
--- a/py-delegator/PLIST
+++ b/py-delegator/PLIST
@@ -1,9 +1,9 @@
 @comment $NetBSD$
 ${PYSITELIB}/delegator.py
-${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}/delegator.pyc
 ${PYSITELIB}/delegator.pyo
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt


Home | Main Index | Thread Index | Old Index