pkgsrc-WIP-changes archive

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

termtosvg: tweaks and improvements pointed out by leot@, thanks!



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fcambus%NetBSD.org@localhost>
Pushed By:	fcambus
Date:		Sun Mar 8 19:18:54 2020 +0100
Changeset:	1e1d978c10aeaa93d97520f2962eccbd3d683a49

Modified Files:
	termtosvg/Makefile

Log Message:
termtosvg: tweaks and improvements pointed out by leot@, thanks!

- Use egg.mk instead of distutils.mk
- Remove useless dependency on py-setuptools and REPLACE_PYTHON directive
- Add dependency on devel/py-wcwidth

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

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

diffstat:
 termtosvg/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diffs:
diff --git a/termtosvg/Makefile b/termtosvg/Makefile
index 865308c5ed..a7b588e5c6 100644
--- a/termtosvg/Makefile
+++ b/termtosvg/Makefile
@@ -10,11 +10,9 @@ COMMENT=	Record terminal sessions as SVG animations
 LICENSE=	modified-bsd
 
 DEPENDS+=	${PYPKGPREFIX}-pyte-[0-9]*:../../devel/py-pyte
-DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+DEPENDS+=	${PYPKGPREFIX}-wcwidth-[0-9]*:../../devel/py-wcwidth
 DEPENDS+=	${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
 
-REPLACE_PYTHON=	*.py
-
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index