pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-pytemplate Pytemplate is a small project inte...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f3f7d589546
branches:  trunk
changeset: 555134:5f3f7d589546
user:      imil <imil%pkgsrc.org@localhost>
date:      Wed Feb 25 09:16:06 2009 +0000

description:
Pytemplate is a small project intending to give python developpers a starting
framework. It permits to create properly scripts without struggling with
configuration files, logging properties development. They are already available
through a main class that the new script will inherit.

OK'd by seb@

diffstat:

 devel/py-pytemplate/DESCR    |   4 ++++
 devel/py-pytemplate/Makefile |  32 ++++++++++++++++++++++++++++++++
 devel/py-pytemplate/PLIST    |   8 ++++++++
 devel/py-pytemplate/distinfo |   5 +++++
 4 files changed, 49 insertions(+), 0 deletions(-)

diffs (65 lines):

diff -r fc5b980f3e58 -r 5f3f7d589546 devel/py-pytemplate/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pytemplate/DESCR Wed Feb 25 09:16:06 2009 +0000
@@ -0,0 +1,4 @@
+Pytemplate is a small project intending to give python developpers a starting
+framework. It permits to create properly scripts without struggling with
+configuration files, logging properties development. They are already available
+through a main class that the new script will inherit.
diff -r fc5b980f3e58 -r 5f3f7d589546 devel/py-pytemplate/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pytemplate/Makefile      Wed Feb 25 09:16:06 2009 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/25 09:16:06 imil Exp $
+#
+
+DISTNAME=      pytemplate-1.5.1
+PKGNAME=       py-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  http://www.bulot.org/downloads/
+
+MAINTAINER=    imil%gcu.info@localhost
+HOMEPAGE=      http://bulot.org/wiki/doku.php?id=projects:python:pytemplate
+COMMENT=       Pytemplate gives python developpers a starting framework
+
+PKG_DESTDIR_SUPPORT=           user-destdir
+
+USE_LANGUAGES=                 # none
+
+PYDISTUTILSPKG=                        yes
+PYTHON_VERSIONS_ACCEPTED=      25 24
+REPLACE_PYTHON=                        ${WRKSRC}/*.py
+
+EGDIR=                         ${PREFIX}/share/examples/pytemplate
+
+INSTALLATION_DIRS+=            ${EGDIR}
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/example.py ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/daemonexample.py ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/threadexample.py ${DESTDIR}${EGDIR}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r fc5b980f3e58 -r 5f3f7d589546 devel/py-pytemplate/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pytemplate/PLIST Wed Feb 25 09:16:06 2009 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/25 09:16:06 imil Exp $
+${PYSITELIB}/pytemplate.py
+${PYSITELIB}/pytemplate.pyc
+${PYSITELIB}/pytemplate.pyo
+share/examples/pytemplate/daemonexample.py
+share/examples/pytemplate/example.py
+share/examples/pytemplate/threadexample.py
+@dirrm share/examples/pytemplate
diff -r fc5b980f3e58 -r 5f3f7d589546 devel/py-pytemplate/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pytemplate/distinfo      Wed Feb 25 09:16:06 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/25 09:16:06 imil Exp $
+
+SHA1 (pytemplate-1.5.1.tar.gz) = 884a3b27724c20f9fadca38390767176c8854b00
+RMD160 (pytemplate-1.5.1.tar.gz) = be6a2af09255cb459af66787bafd62919c167358
+Size (pytemplate-1.5.1.tar.gz) = 17926 bytes



Home | Main Index | Thread Index | Old Index