Ticket #29504: Portfile

File Portfile, 1.4 KB (added by John-Whitlock@…, 13 years ago)

New Portfile based on https://trac.macports.org/attachment/ticket/30160/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 78671 2011-05-17 09:36:26Z saispo@macports.org $
3
4PortSystem          1.0
5PortGroup           python26 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                py26-virtualenvwrapper
12version             2.7.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     b01930b245b2beb9fe2ce69a4b0e0f25 \
23                    sha1    543bbf6dccb0876baf269f1094ca516d385f4dfb \
24                    rmd160  10a95ce310d7302dc23b2b3a921c5bc8183dd238
25
26depends_lib-append  port:py26-distribute\
27                    port:py26-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}