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

name                py-podcastparser
version             0.6.6
revision            0

categories-append   net
platforms           darwin
supported_archs     noarch
license             ISC
maintainers         nomaintainer

description         Simplified, fast RSS parser.
long_description    The podcast parser project is a library from the gPodder \
                    project to provide an easy and reliable way of parsing \
                    RSS- and Atom-based podcast feeds in Python.

homepage            https://github.com/gpodder/podcastparser

checksums           rmd160  35955c1988c03185ede6e85f907847fdce150cd3 \
                    sha256  a30e84102003fb0eb42000546514245acf7b97541dba4e888d1c4c06b1c84454 \
                    size    23482

python.versions     27 36 37 38 39
python.default_version 39

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

    depends_test-append \
                    port:py${python.version}-nose

    test.run        yes
    test.cmd        nosetests-${python.branch}
    test.target
    test.env        PYTHONPATH=${worksrcpath}/build/lib

    livecheck.type  none
}
