1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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.

WWW: http://bulot.org/wiki/doku.php?id=projects:python:pytemplate

PR:		ports/132121
Submitted by:	Benoit Calvez <benoit at litchis.org>
This commit is contained in:
Philippe Audeoud 2009-02-27 10:24:48 +00:00
parent 071ed3c199
commit 8e1eed49c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229143
5 changed files with 51 additions and 0 deletions

View File

@ -2298,6 +2298,7 @@
SUBDIR += py-pymarc
SUBDIR += py-pyro
SUBDIR += py-pyshapelib
SUBDIR += py-pytemplate
SUBDIR += py-pytz
SUBDIR += py-pyutil
SUBDIR += py-qt4-assistant

View File

@ -0,0 +1,34 @@
# New ports collection makefile for: pytemplate
# Date created: 2009-02-24
# Whom: Benoit Calvez <benoit@litchis.org>
#
# $FreeBSD$
PORTNAME= pytemplate
PORTVERSION= 1.5.1
CATEGORIES= devel python
MASTER_SITES= http://www.bulot.org/downloads/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= benoit@litchis.org
COMMENT= Pytemplate gives python developpers a starting framework
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-pytemplate
EXAMPLES= daemonexample.py example.py threadexample.py
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
.for f in ${EXAMPLES}
@${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (pytemplate-1.5.1.tar.gz) = 61190e02d87e95f78a3d115ea191e6ae
SHA256 (pytemplate-1.5.1.tar.gz) = fc43424db195b667a85bae132bf66e67c416f327c1a6c2c0aa66f9a9345a9bc5
SIZE (pytemplate-1.5.1.tar.gz) = 17926

View File

@ -0,0 +1,6 @@
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.
WWW: http://bulot.org/wiki/doku.php?id=projects:python:pytemplate

View File

@ -0,0 +1,7 @@
%%PYTHON_SITELIBDIR%%/pytemplate.py
%%PYTHON_SITELIBDIR%%/pytemplate.pyc
%%PYTHON_SITELIBDIR%%/pytemplate.pyo
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/daemonexample.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/threadexample.py
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%