pkgsrc-WIP-changes archive

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

py-tmux: Convert to wheel



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Thu Nov 14 09:40:42 2024 -0500
Changeset:	59015994069c830a5b6c2814b769b1d5e0afe216

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

Log Message:
py-tmux: Convert to wheel

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

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

diffstat:
 py-tmux/Makefile |  6 +++++-
 py-tmux/PLIST    | 14 +++++++-------
 2 files changed, 12 insertions(+), 8 deletions(-)

diffs:
diff --git a/py-tmux/Makefile b/py-tmux/Makefile
index 072004d3ea..38ed5acc95 100644
--- a/py-tmux/Makefile
+++ b/py-tmux/Makefile
@@ -2,6 +2,7 @@
 
 DISTNAME=	pytmux-0.1.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/py//}
+PKGREVISION=	1
 CATEGORIES=	misc python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pytmux/}
 
@@ -11,10 +12,13 @@ HOMEPAGE=	https://github.com/wraithan/pytmux
 COMMENT=	Simple wrapper for tmux
 LICENSE=	apache-2.0
 
+# \todo CSE by putting this in wheel.mk.
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+
 DEPENDS+=	${PYPKGPREFIX}-docopt>=0.6.1:../../devel/py-docopt
 DEPENDS+=	${PYPKGPREFIX}-jsonschema>=1.1.0:../../textproc/py-jsonschema
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-tmux/PLIST b/py-tmux/PLIST
index b46c5ef5ae..3981d5c319 100644
--- a/py-tmux/PLIST
+++ b/py-tmux/PLIST
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2014/02/05 20:42:48 jihbed Exp $
+@comment $NetBSD$
 bin/pytmux
-${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}/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}/pytmux/__init__.py
 ${PYSITELIB}/pytmux/__init__.pyc
 ${PYSITELIB}/pytmux/__init__.pyo


Home | Main Index | Thread Index | Old Index