# -*- 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-pyrxp
python.rootname     pyRXP
version             3.0.1
revision            0

categories-append   devel
license             BSD
maintainers         {mcalhoun @MarcusCalhoun-Lopez} openmaintainer

description         Fast validating XML parser for python
long_description    {*}${description}

python.versions     27 314

homepage            https://pypi.python.org/pypi/pyRXP

checksums           rmd160  746ac8819e1c8c457712ace4c96f6b8e60df0cc8 \
                    sha256  f5563dee342f329f840380aafccf786b504d6a82e91611defb27f3f51043be9a \
                    size    301654

if {${subport} ne ${name}} {
    if {${python.version} == 27} {
        version     2.2.0
        revision    0
        checksums   rmd160  22530f1bd477966d0083efc73547e48edb25f907 \
                    sha256  e70cdc9d45237e1e7996bfe21cedec2eec8f910c2d34dc46d77dbacb9cb329b6 \
                    size    256677
        patchfiles  patch-license-setup.py.diff
    }
}
