Add py-coil 0.3.12, a powerful configuration language for Python.

PR:		ports/145678
Submitted by:	ghostonthewire <ghostonthewire at gmail dot com>
This commit is contained in:
Li-Wen Hsu 2010-04-18 06:54:24 +00:00
parent b777826519
commit 35a4dd71d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252856
5 changed files with 106 additions and 0 deletions

View file

@ -2555,6 +2555,7 @@
SUBDIR += py-cjson
SUBDIR += py-cmdln
SUBDIR += py-cog
SUBDIR += py-coil
SUBDIR += py-configobj
SUBDIR += py-construct
SUBDIR += py-coverage

37
devel/py-coil/Makefile Normal file
View file

@ -0,0 +1,37 @@
# New ports collection makefile for: py-coil
# Date created: 13 April 2010
# Whom: ghostonthewire <ghostonthewire at gmail dot com>
#
# $FreeBSD$
#
PORTNAME= coil
PORTVERSION= 0.3.12
CATEGORIES= devel python
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ghostonthewire@gmail.com
COMMENT= A powerful configuration language for Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PORTDOCS= LICENSE.txt \
README.txt \
TODO.txt
post-install:
# docs
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
# permission safeness
@${CHMOD} -R ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/coil/*
@${CHMOD} -R a+X ${PYTHONPREFIX_SITELIBDIR}/coil/*
.include <bsd.port.mk>

3
devel/py-coil/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (coil-0.3.12.tar.gz) = 6100abe4f28fb7af2feb3fd5c6ead022
SHA256 (coil-0.3.12.tar.gz) = 1e2a4b68cf1691ef6d160f676c5c5c4dab9c1111e412e4db8c0c3a41d60f4960
SIZE (coil-0.3.12.tar.gz) = 32738

23
devel/py-coil/pkg-descr Normal file
View file

@ -0,0 +1,23 @@
[ description from README.txt ]
Coil: A Configuration Library.
Introduction
============
Coil is a configuration file format that is parsed into a tree of
dict like Struct objects. The format supports inheritance, allowing
complicated configurations to be as compact as possible.
Design Goals
============
General design/implementation goals, some have been met, others are
still in progress.
- Support Twisted and non-Twisted reactor driven Python programs.
- Scalable to complex configurations, easily avoiding duplication.
- Orthogonal to code; code should not be required to know about the
config system used, it should be regular Python or Twisted code.
- Minimal boilerplate.
Author: marineam
WWW: http://code.google.com/p/coil/

42
devel/py-coil/pkg-plist Normal file
View file

@ -0,0 +1,42 @@
bin/coildump
%%PYTHON_SITELIBDIR%%/coil/__init__.py
%%PYTHON_SITELIBDIR%%/coil/__init__.pyc
%%PYTHON_SITELIBDIR%%/coil/__init__.pyo
%%PYTHON_SITELIBDIR%%/coil/errors.py
%%PYTHON_SITELIBDIR%%/coil/errors.pyc
%%PYTHON_SITELIBDIR%%/coil/errors.pyo
%%PYTHON_SITELIBDIR%%/coil/parser.py
%%PYTHON_SITELIBDIR%%/coil/parser.pyc
%%PYTHON_SITELIBDIR%%/coil/parser.pyo
%%PYTHON_SITELIBDIR%%/coil/struct.py
%%PYTHON_SITELIBDIR%%/coil/struct.pyc
%%PYTHON_SITELIBDIR%%/coil/struct.pyo
%%PYTHON_SITELIBDIR%%/coil/test/__init__.py
%%PYTHON_SITELIBDIR%%/coil/test/__init__.pyc
%%PYTHON_SITELIBDIR%%/coil/test/__init__.pyo
%%PYTHON_SITELIBDIR%%/coil/test/complex.coil
%%PYTHON_SITELIBDIR%%/coil/test/example.coil
%%PYTHON_SITELIBDIR%%/coil/test/example2.coil
%%PYTHON_SITELIBDIR%%/coil/test/example3.coil
%%PYTHON_SITELIBDIR%%/coil/test/filesubimport.coil
%%PYTHON_SITELIBDIR%%/coil/test/simple.coil
%%PYTHON_SITELIBDIR%%/coil/test/test_parser.py
%%PYTHON_SITELIBDIR%%/coil/test/test_parser.pyc
%%PYTHON_SITELIBDIR%%/coil/test/test_parser.pyo
%%PYTHON_SITELIBDIR%%/coil/test/test_struct.py
%%PYTHON_SITELIBDIR%%/coil/test/test_struct.pyc
%%PYTHON_SITELIBDIR%%/coil/test/test_struct.pyo
%%PYTHON_SITELIBDIR%%/coil/test/test_text.py
%%PYTHON_SITELIBDIR%%/coil/test/test_text.pyc
%%PYTHON_SITELIBDIR%%/coil/test/test_text.pyo
%%PYTHON_SITELIBDIR%%/coil/test/test_tokenizer.py
%%PYTHON_SITELIBDIR%%/coil/test/test_tokenizer.pyc
%%PYTHON_SITELIBDIR%%/coil/test/test_tokenizer.pyo
%%PYTHON_SITELIBDIR%%/coil/text.py
%%PYTHON_SITELIBDIR%%/coil/text.pyc
%%PYTHON_SITELIBDIR%%/coil/text.pyo
%%PYTHON_SITELIBDIR%%/coil/tokenizer.py
%%PYTHON_SITELIBDIR%%/coil/tokenizer.pyc
%%PYTHON_SITELIBDIR%%/coil/tokenizer.pyo
@dirrm %%PYTHON_SITELIBDIR%%/coil/test
@dirrm %%PYTHON_SITELIBDIR%%/coil