Ticket #57992: Portfile

File Portfile, 1.5 KB (added by Schamschula (Marius Schamschula), 6 years ago)

py-param 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
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
32# patchfiles          patch-param-__init__.py.diff
33#
34# post-patch {
35#       reinplace "s|0.0.0+unknown|${version}|g" \
36#                 ${worksrcpath}/param/__init__.py
37# }
38#
39# post-build {
40#       reinplace "s|None|${version}|g" \
41#                 ${worksrcpath}/build/lib/param/.version
42# }