# -*- 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-python-install
version             0.0.3
revision            6
supported_archs     noarch
platforms           {darwin any}
maintainers         {jmr @jmroot} openmaintainer
license             MIT

description         A simple, correct PEP427 wheel installer.

long_description    {*}${description}

homepage            https://pypi.python.org/pypi/python-install/

checksums           md5 c591174ae1f14c05ddcc84483381aa7e \
                    rmd160 203ac0ef46cfcfb6e531548a50cc5a05deb9f049 \
                    sha256 926f9e0cb959203629ba6ffdc889f96e1a075c36ca6e7528ba7be96ade189a7d

patchfiles          patch-install-__init__.py.diff

python.versions     36

if {$subport ne $name} {
    python.pep517   yes
    python.add_dependencies no
    depends_build   port:py${python.version}-setuptools \
                    port:py36-bootstrap-modules
    depends_lib     port:python${python.version} \
                    port:py${python.version}-importlib-metadata \
                    port:py${python.version}-importlib-resources
    build.env-append    PYTHONPATH=${prefix}/share/py36-bootstrap-modules
    build.args      --skip-dependency-check
    destroot.env-append PYTHONPATH=${prefix}/share/py36-bootstrap-modules
    livecheck.type  none
}
