Ticket #30160: Portfile.2

File Portfile.2, 1.3 KB (added by list@…, 13 years ago)

Updated Portfile for virtualenvwrapper 2.10.1

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$
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.10.1
13categories          python
14platforms           darwin
15maintainers         nomaintainer
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     36fd2ad8f3a5580954632187b42a621c \
23                    sha1    505d758ba6413f1debc1b954bf929b5a182e033b \
24                    rmd160  134d55b4f156b1d3bc777a4fe468fe4252ae8b29
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}