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

Last change on this file was 130076, checked in by petr@…, 3 years ago

py-icalendar: update, add py34 subport, docs, livecheck by github group

  • 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:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 130076 2014-12-26 17:27:42Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8github.setup        collective icalendar 3.8.4
9name                py-icalendar
10platforms           darwin
11license             BSD
12maintainers         nomaintainer
13
14description         The iCalendar package is a parser/generator of \
15                    RFC 2445 iCalendar files.
16long_description    The inspiration has come from the email package in \
17                    the standard lib, which I think is pretty simple, \
18                    yet efficient and powerful. The package can both \
19                    generate and parse iCalendar files, and can easily \
20                    be used as is. The aim is to make a package that \
21                    is fully compliant to RFC 2445, well designed, \
22                    simple to use and well documented.
23homepage            http://icalendar.readthedocs.org/
24
25checksums           rmd160  4dfd631b54acebd0943cb2d4b10e6d423c9b8c0d \
26                    sha256  1e9fbef0c823477a600cb5656c060775b190f121a80cfc30ea4627740ec56334
27
28python.versions     27 34
29
30if {${name} ne ${subport}} {
31    depends_build-append    port:py${python.version}-setuptools
32    depends_lib-append      port:py${python.version}-dateutil \
33                            port:py${python.version}-tz
34
35    post-destroot {
36        xinstall -m 644 -W ${worksrcpath} \
37            CHANGES.rst \
38            CONTRIBUTING.rst \
39            LICENSE.rst \
40            README.rst \
41            TODO.rst \
42            ${destroot}${prefix}/share/doc/${subport}
43    }
44    livecheck.type  none
45}
Note: See TracBrowser for help on using the repository browser.