# $Id: Portfile 106911 2013-06-11 14:40:14Z jmr@macports.org $

PortSystem      1.0
PortGroup       python 1.0

name                py-feedparser
version             5.1.3
license             BSD
platforms           darwin
maintainers         akitada openmaintainer
supported_archs     noarch

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.
homepage            http://code.google.com/p/feedparser/
master_sites        googlecode:feedparser
distname            feedparser-${version}

use_bzip2           yes

checksums           sha1    dfe654e4babd258b1402b89e889d78330206d78c \
                    rmd160  d6976ab0ed42b878d3a9367cc8b3cfdafa5974f3

python.versions     24 25 26 27

if {$subport != $name} {
    depends_build-append port:py${python.version}-setuptools
    post-destroot	{
        xinstall -m 644 -W ${worksrcpath} LICENSE README \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
