# -*- 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

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        kurtmckee feedparser 5.2.1
name                py-${name}
license             BSD
platforms           darwin
supported_archs     noarch
maintainers         {khindenburg @kurthindenburg} openmaintainer

description         RSS and Atom parser
long_description    Universal Feed Parser is a Python module for downloading \
    and parsing syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, \
    Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom, \
    and CDF feeds.

checksums           rmd160  22f74a36800fc02a57a69a16f3b793c23b863375 \
                    sha256  53a133aed63977066b772b44e8b4d7e2d9c3e1ab80a6a549a8f587db4bc8956f

python.versions     27 34 35 36

if {${name} ne ${subport}} {
    depends_build-append port:py${python.version}-setuptools

    post-destroot {
        xinstall -m 644 -W ${worksrcpath} LICENSE README.rst \
            ${destroot}${prefix}/share/doc/${subport}
    }

    livecheck.type  none
}