summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorimil <imil@pkgsrc.org>2009-02-25 09:16:06 +0000
committerimil <imil@pkgsrc.org>2009-02-25 09:16:06 +0000
commitec1cde5fd78aa23c65aa058cd94d39b7130aafcc (patch)
tree6d142da997ad7d3b579536f5eba23c23c1282cc5 /devel
parent84cc8d5c1b32a990bb47f3a58df8fc1f659f65ee (diff)
downloadpkgsrc-ec1cde5fd78aa23c65aa058cd94d39b7130aafcc.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/py-pytemplate/DESCR4
-rw-r--r--devel/py-pytemplate/Makefile32
-rw-r--r--devel/py-pytemplate/PLIST8
-rw-r--r--devel/py-pytemplate/distinfo5
4 files changed, 49 insertions, 0 deletions
diff --git a/devel/py-pytemplate/DESCR b/devel/py-pytemplate/DESCR
new file mode 100644
index 00000000000..5ecfadfa082
--- /dev/null
+++ b/devel/py-pytemplate/DESCR
@@ -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 --git a/devel/py-pytemplate/Makefile b/devel/py-pytemplate/Makefile
new file mode 100644
index 00000000000..7246f2dc61a
--- /dev/null
+++ b/devel/py-pytemplate/Makefile
@@ -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
+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 --git a/devel/py-pytemplate/PLIST b/devel/py-pytemplate/PLIST
new file mode 100644
index 00000000000..22a7ab94cd7
--- /dev/null
+++ b/devel/py-pytemplate/PLIST
@@ -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 --git a/devel/py-pytemplate/distinfo b/devel/py-pytemplate/distinfo
new file mode 100644
index 00000000000..439181d43a4
--- /dev/null
+++ b/devel/py-pytemplate/distinfo
@@ -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