Ticket #30160: Portfile

File Portfile, 1.4 KB (added by bennetb@…, 13 years ago)

Portfile

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# $Id: Portfile 73043 2010-11-01 23:49:20Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python27 1.0
6
7# Paver doesn't support --no-user-cfg
8build.cmd                   ${python.bin} setup.py
9destroot.cmd        ${python.bin} setup.py
10
11name                py27-virtualenvwrapper
12version             2.7.1
13categories          python
14platforms           darwin
15maintainers         arthurk openmaintainer
16homepage            http://www.doughellmann.com/projects/virtualenvwrapper/
17description         Enhancements to virtualenv.
18long_description    Extensions to Ian Bicking's virtualenv tool.
19
20master_sites        http://pypi.python.org/packages/source/v/virtualenvwrapper/
21distname            virtualenvwrapper-${version}
22checksums           md5     b01930b245b2beb9fe2ce69a4b0e0f25 \
23                    sha1    543bbf6dccb0876baf269f1094ca516d385f4dfb \
24                    rmd160  10a95ce310d7302dc23b2b3a921c5bc8183dd238
25
26depends_lib-append  port:py27-distribute\
27                    port:py27-virtualenv
28
29patchfiles          virtualenvwrapper_sh.diff
30post-patch {
31    reinplace s|__VIRTUALENV_BIN__|${python.prefix}/bin/virtualenv| \
32        ${worksrcpath}/virtualenvwrapper.sh
33    reinplace s|__PYTHON_BIN__|${python.prefix}/bin/python| \
34        ${worksrcpath}/virtualenvwrapper.sh
35}