# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 65907 2010-04-02 22:08:22Z jmr@macports.org $

PortSystem          1.0
PortGroup           python25 1.0

name                py25-pybtex
epoch               1
version             0.13.2
categories          python textproc
platforms           darwin
maintainers         lightnin
description         A BibTeX-compatible bibliography processor in Python.
long_description    Pybtex reads citation information from a file and \
                    produces a formatted bibliography.  BibTeX style files \
                    are supported.  Alternatively it is possible to write \
                    styles in Python.

homepage            http://pybtex.sourceforge.net/
master_sites        http://pypi.python.org/packages/source/p/pybtex/
distname            pybtex-${version}
checksums           md5 812195385bc242376b8263aa77390082 \
                    sha1 08871fa605798ceed1cedaed94f4226688b2d778 \
                    rmd160 ff3e7fb99009e772557365926e636062adf16049

use_bzip2           yes

depends_lib         port:py25-elementtree \
                    port:py25-parsing \
                    port:py25-distribute \
                    port:py25-yaml

test.run            yes
test.cmd            ${python.bin} setup.py
test.env            PYTHONPATH=${worksrcpath}/build/lib
