Ticket #57992: Portfile.4

File Portfile.4, 1.5 KB (added by mf2k (Frank Schima), 6 years ago)

Fixed py-param Portfile. Please test if this works for you like it does for me.

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
3PortSystem          1.0
4PortGroup           github 1.0
5PortGroup           python 1.0
6
7set real_name       param
8name                py-${real_name}
9github.setup        pyviz ${real_name} 1.8.1 v
10revision            0
11license             BSD
12maintainers         {mps @Schamschula} openmaintainer
13description         Param is a library providing Parameters.
14long_description    ${description}: Python attributes extended to have features such as \
15                    type and range checking, dynamically generated values, documentation \
16                    strings, default values, etc., each of which is inherited from \
17                    parent classes if not specified in a subclass.
18platforms           darwin
19
20checksums           rmd160  bd825d6745a2b731cce0adfe2fe0e36d5398e04c \
21                    sha256  26cfeff04c1abce584472ce2473f81f1c19ada9452709b97c4bfd3dc3c85b8f3 \
22                    size    114375
23
24python.versions     36 37
25
26if {${name} ne ${subport}} {
27    depends_lib     port:py${python.version}-numpy \
28                    port:py${python.version}-pyobjc \
29                    port:py${python.version}-setuptools
30
31    post-destroot {
32       move  \
33           ${destroot}${python.prefix}/lib/python${python.branch}/site-packages/param-None-py${python.branch}.egg-info \
34           ${destroot}${python.prefix}/lib/python${python.branch}/site-packages/param-${version}-py${python.branch}.egg-info
35    }
36}
37