Commits

reneeotten authored and Perry E. Metzger committed 6eff30bdc0c
py-virtualenv: update to 16.3.0, disable tests

- currently several test dependencies are not present in MacPorts Closes #3419
No tags

python/py-virtualenv/Portfile

Modified
1 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 2
3 3 PortSystem 1.0
4 4 PortGroup python 1.0
5 5 PortGroup select 1.0
6 6
7 7 name py-virtualenv
8 -version 16.1.0
8 +version 16.3.0
9 9 categories-append devel
10 10 platforms darwin
11 11 license MIT
12 12 maintainers {larryv @larryv}
13 13 supported_archs noarch
14 14
15 15 description Virtual Python Environment builder
16 16 long_description virtualenv is a tool to create isolated Python \
17 17 environments.
18 18 homepage https://virtualenv.pypa.io
19 19
20 20 master_sites pypi:v/${python.rootname}
21 21 distname ${python.rootname}-${version}
22 -checksums rmd160 17ea55a18a04ef155b74a062048bf6edf8e53155 \
23 - sha256 f899fafcd92e1150f40c8215328be38ff24b519cd95357fa6e78e006c7638208 \
24 - size 1977229
22 +checksums rmd160 a8f9ef0dee86d22ab58ef03d6d6e0f0f84057973 \
23 + sha256 729f0bcab430e4ef137646805b5b1d8efbb43fe53d4a0f33328624a84a5121f7 \
24 + size 2014631
25 25
26 26 python.versions 27 34 35 36 37
27 27
28 28 if {${name} ne ${subport}} {
29 29 depends_lib-append port:py${python.version}-setuptools
30 30
31 31 depends_test-append port:py${python.version}-pytest \
32 32 port:py${python.version}-mock
33 - test.run yes
33 + test.run no
34 34 test.cmd py.test-${python.branch}
35 35 test.target
36 36 test.env PYTHONPATH=${worksrcpath}/build/lib
37 37
38 38 depends_run-append port:virtualenv_select
39 39
40 40 select.group virtualenv
41 41 select.file virtualenv${python.version}
42 42
43 43 post-destroot {
44 44 set docdir ${prefix}/share/doc/${subport}
45 - xinstall -m 755 -d ${destroot}${docdir}
46 - xinstall -m 644 {*}[glob -directory ${worksrcpath}/docs *] \
47 - ${destroot}${docdir}
45 + xinstall -m 0755 -d ${destroot}${docdir}/docs/changelog
46 + xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE.txt AUTHORS.txt \
47 + ${destroot}${docdir}
48 + xinstall -m 0644 {*}[glob -directory ${worksrcpath}/docs *.rst] \
49 + ${destroot}${docdir}/docs
50 + xinstall -m 0644 {*}[glob -directory ${worksrcpath}/docs/changelog *] \
51 + ${destroot}${docdir}/docs/changelog
48 52 }
49 53
50 54 notes "
51 55 The executable is installed as\
52 56 '${prefix}/bin/virtualenv-${python.branch}'. To symlink it to\
53 57 '${prefix}/bin/virtualenv', run:
54 58
55 59 sudo port select --set ${select.group} ${select.file}
56 60 "
57 61

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut