# -*- 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-itemloaders
version             1.0.4
revision            0
maintainers         {khindenburg @kurthindenburg} openmaintainer
platforms           darwin
license             BSD

description         Base library for scrapy's ItemLoader
long_description    ${description}

homepage            https://pypi.python.org/pypi/${python.rootname}
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}/
distname            ${python.rootname}-${version}

checksums           rmd160  ff469e7217e7c48a7e466fb6f9696d314cf6a897 \
                    sha256  1277cd8ca3e4c02dcdfbc1bcae9134ad89acfa6041bd15b4561c6290203a0c96 \
                    size    11731

python.versions     35 36 37 38 39

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

    depends_lib-append \
        port:py${python.version}-itemadapter \
        port:py${python.version}-jmespath \
        port:py${python.version}-parsel \
        port:py${python.version}-w3lib

    livecheck.type          none
} else {
    livecheck.type          pypi
}
