Ticket #53872: Portfile

File Portfile, 2.0 KB (added by 1-61803, 7 years ago)
Line 
1# -*- 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
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-virtualenvwrapper
7set real_name       virtualenvwrapper
8version             4.7.2
9platforms           darwin
10supported_archs     noarch
11license             MIT
12maintainers         nomaintainer
13
14description         Enhancements to virtualenv
15long_description    virtualenvwrapper is a set of extensions to Ian \
16                    Bicking's virtualenv tool. The extensions include \
17                    wrappers for creating and deleting virtual \
18                    environments and otherwise managing your \
19                    development workflow, making it easier to work on \
20                    more than one project at a time without \
21                    introducing conflicts in their dependencies.
22homepage            http://www.doughellmann.com/projects/${real_name}/
23
24master_sites        pypi:v/${real_name}
25distname            ${real_name}-${version}
26
27checksums           rmd160  533920ae3ed6e1eb9cf978ce15ec55fedaa7b47c \
28                    sha256  63cffd24148c969245cceff561b18ba0b5b2b48dcb059e71425adad2d4ffe349
29
30python.versions     27 34 35 36
31
32if {${name} ne ${subport}} {
33    depends_lib-append  port:py${python.version}-pbr \
34                        port:py${python.version}-setuptools \
35                        port:py${python.version}-stevedore \
36                        port:py${python.version}-virtualenv \
37                        port:py${python.version}-virtualenv-clone
38
39    livecheck.type      none
40} else {
41    livecheck.type      pypi
42}
43
44notes "
45You might need to set some variables and source the shell script. For example:
46
47export VIRTUALENVWRAPPER_PYTHON='${prefix}/bin/python2.7'
48export VIRTUALENVWRAPPER_VIRTUALENV='${prefix}/bin/virtualenv-2.7'
49export VIRTUALENVWRAPPER_VIRTUALENV_CLONE='${prefix}/bin/virtualenv-clone-2.7'
50source ${prefix}/bin/virtualenvwrapper.sh-2.7
51"