| 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 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | PortGroup github 1.0 |
|---|
| 5 | PortGroup python 1.0 |
|---|
| 6 | |
|---|
| 7 | set real_name param |
|---|
| 8 | name py-${real_name} |
|---|
| 9 | github.setup pyviz ${real_name} 1.8.1 v |
|---|
| 10 | revision 0 |
|---|
| 11 | license BSD |
|---|
| 12 | maintainers {mps @Schamschula} openmaintainer |
|---|
| 13 | description Param is a library providing Parameters. |
|---|
| 14 | long_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. |
|---|
| 18 | platforms darwin |
|---|
| 19 | |
|---|
| 20 | checksums rmd160 bd825d6745a2b731cce0adfe2fe0e36d5398e04c \ |
|---|
| 21 | sha256 26cfeff04c1abce584472ce2473f81f1c19ada9452709b97c4bfd3dc3c85b8f3 \ |
|---|
| 22 | size 114375 |
|---|
| 23 | |
|---|
| 24 | python.versions 36 37 |
|---|
| 25 | |
|---|
| 26 | if {${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 | # } |
|---|