pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-pytemplate py-pytemplate: convert to egg.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/82413ff886af
branches: trunk
changeset: 371508:82413ff886af
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Jan 10 18:52:28 2022 +0000
description:
py-pytemplate: convert to egg.mk
diffstat:
devel/py-pytemplate/Makefile | 8 ++++----
devel/py-pytemplate/PLIST | 3 +--
2 files changed, 5 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r a3852a10f09d -r 82413ff886af devel/py-pytemplate/Makefile
--- a/devel/py-pytemplate/Makefile Mon Jan 10 18:51:10 2022 +0000
+++ b/devel/py-pytemplate/Makefile Mon Jan 10 18:52:28 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2019/09/02 13:19:36 adam Exp $
+# $NetBSD: Makefile,v 1.15 2022/01/10 18:52:28 wiz Exp $
DISTNAME= pytemplate-1.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= http://www.bulot.org/downloads/
@@ -12,7 +12,7 @@
USE_LANGUAGES= # none
-REPLACE_PYTHON= ${WRKSRC}/*.py
+REPLACE_PYTHON= *.py
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.5.1
EGDIR= ${PREFIX}/share/examples/${PYPKGPREFIX}-pytemplate
@@ -28,5 +28,5 @@
${INSTALL_DATA} ${WRKSRC}/threadexample.py ${DESTDIR}${EGDIR}
.include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a3852a10f09d -r 82413ff886af devel/py-pytemplate/PLIST
--- a/devel/py-pytemplate/PLIST Mon Jan 10 18:51:10 2022 +0000
+++ b/devel/py-pytemplate/PLIST Mon Jan 10 18:52:28 2022 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2012/04/08 20:21:47 wiz Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.5 2022/01/10 18:52:28 wiz Exp $
${PYSITELIB}/pytemplate.py
${PYSITELIB}/pytemplate.pyc
${PYSITELIB}/pytemplate.pyo
Home |
Main Index |
Thread Index |
Old Index