# -*- 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-mx-experimental
version             3.0.0
revision            5
# GPL-conflicting due to choice of law clause.
#http://www.egenix.com/products/python/mxExperimental/eGenix.com-Public-License-1.1.0.pdf
license             Permissive GPLConflict zlib
maintainers	        nomaintainer

description         eGenix.com mx Extensions for Python - EXPERIMENTAL Package
long_description    The mx Extension Series is a collection of software \
                    packages which aims at providing professional quality add-ons \
                    for the Open Source Language Python. It consists of mxNumber \
                    (Extended Numeric Types), mxTidy (Interface to HTML Tidy), \
                    mxURL (URL Datatype) and mxUID (UID Datatype).

homepage            https://www.egenix.com/products/python/mxExperimental/
master_sites        https://www.egenix.com/files/python/
distname            egenix-mx-experimental-${version}

checksums           sha1 f697220cf317d968c448da870e0d05a7bd0277e7

python.versions	27

if {${name} ne ${subport}} {
    post-extract {
         delete {*}[glob ${worksrcpath}/mx/__init__.py*]
    }

    depends_lib-append \
                    port:mpfr \
                    port:gmp \
                    port:tidy

    depends_run		port:py${python.version}-mx-base
}

livecheck.type	regex
livecheck.url	${homepage}
livecheck.regex	Version: (\[0-9\\.\]+)
