# -*- 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$ PortSystem 1.0 PortGroup python 1.0 name py-vobject set realname vobject license Apache version 0.8.1c platforms darwin maintainers lightnin openmaintainer supported_archs noarch description Python package for parsing and generating vCard and \ vCalendar files. long_description vObject is intended to be a full featured Python package \ for parsing and generating vCard and vCalendar files. It \ is being developed in concert with the Open Source \ Application Foundation's Chandler project. homepage http://vobject.skyhouseconsulting.com/ master_sites http://vobject.skyhouseconsulting.com/ distname ${realname}-${version} checksums md5 c9686dd74d39fdae140890d9c694c076 \ sha1 97f1daf9d813a2b2128c2d39ca52bbbcc152fdfd \ rmd160 ca1b1f207b6b7d4418a401938656627e6404aacf python.versions 24 25 26 27 python.default_version 27 if {${subport} != ${name}} { depends_lib port:py${python.version}-dateutil test.run yes test.cmd ${python.bin} test_vobject.py test.target test.env PYTHONPATH=${worksrcpath}/build/lib post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ ACKNOWLEDGEMENTS.txt \ LICENSE-2.0.txt \ PKG-INFO \ README.txt \ ${destroot}${docdir} } } livecheck.type regex livecheck.url https://pypi.python.org/pypi/${realname} livecheck.regex "${realname} (\\d+(?:\\.\\d)*\[a-z\]*)"