Permalink
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (45 sloc) 1.83 KB
# -*- 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
PortGroup select 1.0
name py-virtualenv
version 16.0.0
categories-append devel
platforms darwin
license MIT
maintainers {larryv @larryv}
supported_archs noarch
description Virtual Python Environment builder
long_description virtualenv is a tool to create isolated Python \
environments.
homepage https://virtualenv.pypa.io
master_sites pypi:v/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 ed709651e82f28dd131900010d566dda3fd2c577 \
sha256 ca07b4c0b54e14a91af9f34d0919790b016923d157afda5efdde55c96718f752 \
size 1970558
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-setuptools
depends_test-append port:py${python.version}-pytest \
port:py${python.version}-mock
test.run yes
test.cmd py.test-${python.branch}
test.target
depends_run-append port:virtualenv_select
select.group virtualenv
select.file virtualenv${python.version}
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -m 755 -d ${destroot}${docdir}
xinstall -m 644 {*}[glob -directory ${worksrcpath}/docs *] \
${destroot}${docdir}
}
notes "
The executable is installed as\
'${prefix}/bin/virtualenv-${python.branch}'. To symlink it to\
'${prefix}/bin/virtualenv', run:
sudo port select --set ${select.group} ${select.file}
"
livecheck.type none
}