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

Last change on this file was 154285, checked in by mf2k@…, 11 months ago

py-vobject: Update to version 0.9.3. Update homepage. Switch to Github. Add py34 and py35. Update license. Use modern checksums.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 154285 2016-10-26 14:37:11Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8github.setup        eventable vobject 0.9.3
9name                py-vobject
10set realname        vobject
11license             Apache-2
12platforms           darwin
13maintainers         nomaintainer
14supported_archs     noarch
15
16description         Python package for parsing and generating vCard and \
17                    vCalendar files.
18long_description    vObject is intended to be a full featured Python package \
19                    for parsing and generating vCard and vCalendar files. It \
20                    is being developed in concert with the Open Source \
21                    Application Foundation`s Chandler project.
22
23homepage            http://eventable.github.io/vobject/
24
25checksums           rmd160  04c5dcb5fed4a2b3bd3ba69526fab7403ac13712 \
26                    sha256  e43e4fe03f8a0077f8d0d9ab3cb66273b3fda0d7e1de19c0316f95bd5e9ba02f
27
28python.versions     27 34 35
29
30if {${name} ne ${subport}} {
31    depends_lib-append  port:py${python.version}-dateutil \
32                        port:py${python.version}-setuptools \
33                        port:py${python.version}-six
34
35    test.run            yes
36    test.cmd            ${python.bin} test_vobject.py
37    test.target
38    test.env            PYTHONPATH=${worksrcpath}/build/lib
39
40    post-destroot   {
41        set docdir ${prefix}/share/doc/${subport}
42        xinstall -d ${destroot}${docdir}
43        xinstall -m 644 -W ${worksrcpath} \
44            ACKNOWLEDGEMENTS.txt \
45            LICENSE-2.0.txt \
46            MANIFEST.in \
47            README.md \
48            ${destroot}${docdir}
49    }
50}
Note: See TracBrowser for help on using the repository browser.