source: trunk/dports/python/py-pybtex/Portfile

Last change on this file was 153851, checked in by mf2k@…, 9 months ago

py-beautifulsoup py-beautifulsoup4 py-flup py-html5lib py-pybtex py-pyrex py-soaplib py-vobject py-yaml: Ports abandoned. (#52195)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 153851 2016-10-13 16:31:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pybtex
8license             MIT
9epoch               1
10version             0.16
11categories-append   textproc
12platforms           darwin
13maintainers         nomaintainer
14supported_archs     noarch
15
16description         A BibTeX-compatible bibliography processor in Python.
17long_description    Pybtex reads citation information from a file and \
18                    produces a formatted bibliography.  BibTeX style files \
19                    are supported.  Alternatively it is possible to write \
20                    styles in Python.
21
22homepage            http://pybtex.sourceforge.net/
23master_sites        pypi:p/pybtex/
24distname            pybtex-${version}
25checksums           md5 951c4f913fb9c20362ece9cdf7cb3a3c \
26                    sha1 f2e73e91cdd352fcd77fef69639c3fa28392039e \
27                    rmd160 fdf2a521929d01ead2b6e00409efb7b909e7ec40
28
29use_bzip2           yes
30
31python.versions     26 27
32
33if {${name} ne ${subport}} {
34    depends_lib         port:py${python.version}-elementtree \
35                        port:py${python.version}-parsing \
36                        port:py${python.version}-setuptools \
37                        port:py${python.version}-yaml
38
39    test.run            yes
40    test.cmd            ${python.bin} setup.py
41    test.env            PYTHONPATH=${worksrcpath}/build/lib
42
43    post-destroot   {
44        set docdir ${prefix}/share/doc/${subport}
45        xinstall -d ${destroot}${docdir}
46        xinstall -m 644 -W ${worksrcpath} \
47            CHANGES \
48            COPYING \
49            PKG-INFO \
50            README \
51            ${destroot}${docdir}
52    }
53}
Note: See TracBrowser for help on using the repository browser.