source: trunk/dports/python/py-icalendar/Portfile @ 107640

Last change on this file since 107640 was 107640, checked in by deric@…, 6 years ago

py-icalendar: update to 3.5, move setuptools to build dependency.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 107640 2013-07-03 15:51:12Z deric@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5PortGroup           github 1.0
6
7github.setup        collective icalendar 3.5
8name                py-icalendar
9set realname        icalendar
10categories          python
11maintainers         deric
12platforms           darwin
13license             BSD
14description         The iCalendar package is a parser/generator of RFC 2445 \
15                    iCalendar files.
16long_description    The inspiration has come from the email package in the \
17                    standard lib, which I think is pretty simple, yet \
18                    efficient and powerful. The package can both generate \
19                    and parse iCalendar files, and can easily be used as is. \
20                    The aim is to make a package that is fully compliant to \
21                    RFC 2445, well designed, simple to use and well documented.
22                   
23homepage            http://icalendar.readthedocs.org/
24checksums           rmd160  93bd33228a499b9a7501ca07478625017b51d5ab \
25                    sha256  a999c18df1ba0af8146044ae43583a3f6d106651134e01649218017ee6a319bc
26
27python.versions 26 27
28python.default_version 27
29
30if {$subport != $name} {
31    depends_build-append    port:py${python.version}-setuptools
32    depends_lib-append      port:py${python.version}-tz \
33                            port:py${python.version}-dateutil
34   
35    post-destroot {
36        # install docs
37        xinstall -m 644 -W ${worksrcpath}/docs about.rst examples.rst install.rst license.rst changelog.rst credits.rst \
38        ${destroot}${prefix}/share/doc/${subport}
39    }
40}
41
42livecheck.type      regex
43livecheck.url       https://pypi.python.org/pypi/${realname}
44livecheck.regex     "${realname} (\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.