# -*- 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-zope-schema
python.rootname     zope.schema
version             6.2.0
revision            0
python.versions     39 310
maintainers         nomaintainer
supported_archs     noarch
platforms           {darwin any}
license             ZPL-2.1

description         zope.interface extension for defining data schemas
long_description    Schemas extend the notion of interfaces to \
                    detailed descriptions of Attributes (but not \
                    methods). Every schema is an interface and \
                    specifies the public fields of an object. A field \
                    roughly corresponds to an attribute of a Python \
                    object. But a Field provides space for at least a \
                    title and a description. It can also constrain its \
                    value and provide a validation method. Besides you \
                    can optionally specify characteristics such as its \
                    value being read-only or not required.

categories-append   zope

homepage            https://github.com/zopefoundation/zope.schema

checksums           rmd160  18ff1fd286b4543fdc309c304329706b5708fbcf \
                    sha256  2201aef8ad75ee5a881284d7a6acd384661d6dca7bde5e80a22839a77124595b \
                    size    104068

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

    depends_run-append \
                    port:py${python.version}-zope-event \
                    port:py${python.version}-zopeinterface

    livecheck.type  none
}