# -*- 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-virtualenv-clone
version             0.5.4
revision            0
platforms           darwin
categories-append   devel
maintainers         nomaintainer
supported_archs     noarch
license             MIT

description         script to clone virtualenvs
long_description    A script for cloning a non-relocatable virtualenv.

homepage            https://github.com/edwardgeorge/${python.rootname}/
master_sites        pypi:v/${python.rootname}/
distname            ${python.rootname}-${version}

checksums           rmd160  8a925f8a77ec381aba988d03f0ef2f8792be929b \
                    sha256  665e48dd54c84b98b71a657acb49104c54e7652bce9c1c4f6c6976ed4c827a29 \
                    size    6169

python.versions     27 35 36 37 38 39

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

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.md LICENSE \
            ${destroot}${docdir}
    }

    livecheck.type  none
}
