Ticket #36473: Portfile

File Portfile, 1.7 KB (added by deric@…, 12 years ago)

Unified, updated Portfile

Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup           python 1.0
5PortGroup github 1.0
6
7github.setup        collective icalendar 3.1
8git.branch          85388792e11e106289f7399409c07e904dcca9d5
9name                py-icalendar
10version             3.1
11categories          python
12maintainers         deric
13platforms           darwin
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           md5     a784d5df513dfa7c301f329b1fb28e83 \
25                    sha1    65e3ce414c704bd1745d36e1684d2e697134a76c \
26                    rmd160  98fe1d94170a1d9f77520d1fbef9195f2df7820a
27
28python.versions 24 25 26 27
29python.default_version 24
30
31if {$subport != $name} {
32   
33    depends_lib-append  port:py${python.version}-distribute  port:py${python.version}-tz-gae
34   
35    post-destroot {
36   
37    # install docs
38    xinstall -m 644 -W ${worksrcpath}/docs about.rst examples.rst install.rst license.rst changelog.rst credits.rst \
39    ${destroot}${prefix}/share/doc/${subport}
40
41    }
42}
43
44livecheck.type regex
45livecheck.url http://icalendar.readthedocs.org/en/latest/changelog.html
46livecheck.regex <h2>(\[0-9.\]+)