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

description         Common interface for data container classes
long_description    The `ItemAdapter` class is a wrapper for data \
                    container objects, providing a common interface \
                    to handle objects of different types in an uniform \
                    manner, regardless of their underlying implementation.


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

checksums           rmd160  ee186ff5696cacd722fdbdae65959c7fcb47faaa \
                    sha256  cb7aaa577fefe2aa6f229ccf4d058e05f44e0178a98c8fb70ee4d95acfabb423 \
                    size    12197

python.versions     35 36 37 38 39

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

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