Ticket #40345: py-dynd.diff
File py-dynd.diff, 1.5 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
6 6 PortGroup python 1.0 7 7 PortGroup cmake 1.0 8 8 9 set version_string "v0.4.2" 10 set git_sha1 "9f9044e1b6f80869d230f9de73cfe887884bb04d" 11 set distname_suf "07f39d0" 9 set git_sha1 9f9044e1b6f80869d230f9de73cfe887884bb04d 10 github.setup ContinuumIO dynd-python 0.4.2 v 12 11 13 github.setup ContinuumIO dynd-python ${version_string}14 15 12 name py-dynd 16 13 categories-append devel 17 14 platforms darwin … … 27 24 Python exposure of the DyND dynamic multi-dimensional \ 28 25 array library. 29 26 30 homepage https://github.com/ContinuumIO/dynd-python31 32 27 checksums rmd160 41ca9cd0faa0903cea34977f2ca9d39535cc4dcc \ 33 28 sha256 aadb8ba2d654c026d92bf8740c35211457f3ea12b3541dc623094a70164968ff 34 29 35 if {$subport !=$name} {30 if {$subport ne $name} { 36 31 depends_lib-append port:libdynd \ 37 32 port:py${python.version}-numpy \ 38 33 port:py${python.version}-cython … … 41 36 42 37 post-patch { 43 38 reinplace "s|@@DYND_PYTHON_GIT_SHA1@@|${git_sha1}|g" ${worksrcpath}/CMakeLists.txt 44 reinplace "s|@@DYND_PYTHON_VERSION_STRING@@| ${version_string}|g" ${worksrcpath}/CMakeLists.txt39 reinplace "s|@@DYND_PYTHON_VERSION_STRING@@|v${version}|g" ${worksrcpath}/CMakeLists.txt 45 40 } 46 41 47 42 use_configure yes