# -*- 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 74866 2011-01-05 01:32:59Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-pybtex
epoch               1
version             0.14.1
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 67b399d3c8269fa89c53c67e01b86e6a \
                    sha1 43d13e61fdb573717db4a30d6c80744a997d051b \
                    rmd160 03921510a6e2e706a81347e9a1f7d2d3bbfe44d8

use_bzip2           yes

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

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