Ticket #18990: Portfile

File Portfile, 1.3 KB (added by arthur@…, 15 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# $Id$
3
4PortSystem          1.0
5PortGroup           python24 1.0
6
7name                py-virtualenv
8version             1.3.2
9categories          python
10platforms           darwin
11maintainers         arthurkoziel.com:arthur openmaintainer
12homepage            http://pypi.python.org/pypi/virtualenv
13description         Virtual Python Environment builder
14long_description    virtualenv is a tool to create isolated Python \
15                    environments.
16
17master_sites        http://pypi.python.org/packages/source/v/virtualenv/
18distname            virtualenv-${version}
19checksums           md5 a013d5a7d9aeddc16bee88604d6de636 \
20                    sha1 151e94beae9bb22025ae0752f40e5cc6c760aeeb \
21                    rmd160 848466ac8950bdab46756b8a675d5f9f9da9a5ac
22
23depends_lib-append  port:py-setuptools
24
25post-destroot {
26    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
27    xinstall -m 644 -W ${worksrcpath}/docs index.txt license.txt \
28        ${destroot}${prefix}/share/doc/${name}
29   
30    move ${destroot}${prefix}/bin/virtualenv ${destroot}${prefix}/bin/virtualenv-2.4
31}
32
33livecheck.check     regex
34livecheck.url       http://pypi.python.org/pypi/virtualenv
35livecheck.regex     virtualenv (1\.\[0-9\]+\.\[0-9\]+)