Mon Jan 10 18:52:28 2022 UTC ()
py-pytemplate: convert to egg.mk


(wiz)
diff -r1.14 -r1.15 pkgsrc/devel/py-pytemplate/Makefile
diff -r1.4 -r1.5 pkgsrc/devel/py-pytemplate/PLIST

cvs diff -r1.14 -r1.15 pkgsrc/devel/py-pytemplate/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-pytemplate/Makefile 2019/09/02 13:19:36 1.14
+++ pkgsrc/devel/py-pytemplate/Makefile 2022/01/10 18:52:28 1.15
@@ -1,32 +1,32 @@ @@ -1,32 +1,32 @@
1# $NetBSD: Makefile,v 1.14 2019/09/02 13:19:36 adam Exp $ 1# $NetBSD: Makefile,v 1.15 2022/01/10 18:52:28 wiz Exp $
2 2
3DISTNAME= pytemplate-1.5.1 3DISTNAME= pytemplate-1.5.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 1 5PKGREVISION= 2
6CATEGORIES= devel python 6CATEGORIES= devel python
7MASTER_SITES= http://www.bulot.org/downloads/ 7MASTER_SITES= http://www.bulot.org/downloads/
8 8
9MAINTAINER= imil@gcu.info 9MAINTAINER= imil@gcu.info
10#HOMEPAGE= http://bulot.org/wiki/doku.php?id=projects:python:pytemplate 10#HOMEPAGE= http://bulot.org/wiki/doku.php?id=projects:python:pytemplate
11COMMENT= Pytemplate gives python developpers a starting framework 11COMMENT= Pytemplate gives python developpers a starting framework
12 12
13USE_LANGUAGES= # none 13USE_LANGUAGES= # none
14 14
15REPLACE_PYTHON= ${WRKSRC}/*.py 15REPLACE_PYTHON= *.py
16PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.5.1 16PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.5.1
17 17
18EGDIR= ${PREFIX}/share/examples/${PYPKGPREFIX}-pytemplate 18EGDIR= ${PREFIX}/share/examples/${PYPKGPREFIX}-pytemplate
19 19
20PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} 20PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
21PRINT_PLIST_AWK+= { gsub(/${PYPKGPREFIX:S|/|\\/|g}/, "$${PYPKGPREFIX}") } 21PRINT_PLIST_AWK+= { gsub(/${PYPKGPREFIX:S|/|\\/|g}/, "$${PYPKGPREFIX}") }
22 22
23INSTALLATION_DIRS+= ${EGDIR} 23INSTALLATION_DIRS+= ${EGDIR}
24 24
25post-install: 25post-install:
26 ${INSTALL_DATA} ${WRKSRC}/example.py ${DESTDIR}${EGDIR} 26 ${INSTALL_DATA} ${WRKSRC}/example.py ${DESTDIR}${EGDIR}
27 ${INSTALL_DATA} ${WRKSRC}/daemonexample.py ${DESTDIR}${EGDIR} 27 ${INSTALL_DATA} ${WRKSRC}/daemonexample.py ${DESTDIR}${EGDIR}
28 ${INSTALL_DATA} ${WRKSRC}/threadexample.py ${DESTDIR}${EGDIR} 28 ${INSTALL_DATA} ${WRKSRC}/threadexample.py ${DESTDIR}${EGDIR}
29 29
30.include "../../lang/python/application.mk" 30.include "../../lang/python/application.mk"
31.include "../../lang/python/distutils.mk" 31.include "../../lang/python/egg.mk"
32.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/devel/py-pytemplate/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-pytemplate/PLIST 2012/04/08 20:21:47 1.4
+++ pkgsrc/devel/py-pytemplate/PLIST 2022/01/10 18:52:28 1.5
@@ -1,8 +1,7 @@ @@ -1,8 +1,7 @@
1@comment $NetBSD: PLIST,v 1.4 2012/04/08 20:21:47 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.5 2022/01/10 18:52:28 wiz Exp $
2${PYSITELIB}/${EGG_FILE} 
3${PYSITELIB}/pytemplate.py 2${PYSITELIB}/pytemplate.py
4${PYSITELIB}/pytemplate.pyc 3${PYSITELIB}/pytemplate.pyc
5${PYSITELIB}/pytemplate.pyo 4${PYSITELIB}/pytemplate.pyo
6share/examples/${PYPKGPREFIX}-pytemplate/daemonexample.py 5share/examples/${PYPKGPREFIX}-pytemplate/daemonexample.py
7share/examples/${PYPKGPREFIX}-pytemplate/example.py 6share/examples/${PYPKGPREFIX}-pytemplate/example.py
8share/examples/${PYPKGPREFIX}-pytemplate/threadexample.py 7share/examples/${PYPKGPREFIX}-pytemplate/threadexample.py