Info2: << Package: pyilmbase-py%type_pkg[python] # ilmbase, openexr, pyilmbase-py share same tarball, so keep versions in sync Version: 2.4.3 Revision: 1 Description: Python bindings for IlmBase Type: python (2.7 3.7) License: BSD # Free to update, modify, and take over Maintainer: Hanspeter Niederstrasser Depends: << boost1.68-python%type_pkg[python]-shlibs, ilmbase24-shlibs (>= %v), python%type_pkg[python]-shlibs, numpy-py%type_pkg[python] << BuildDepends: << boost1.68-python%type_pkg[python], cmake, fink (>= 0.27.2), fink-buildenv-modules, ilmbase24-dev (>= %v), python%type_pkg[python] << Recommends: << numpy-py%type_pkg[python] << Source: https://github.com/AcademySoftwareFoundation/openexr/archive/v%v.tar.gz SourceRename: openexr-%v.tar.gz Source-Checksum: SHA256(017367529a21196905bcabc6f046f3033363d90115395196b9c1abd0ad80606a) SourceDirectory: openexr-%v/PyIlmBase PatchScript: << #!/bin/sh -ev # mask out the other python variant. if [[ "%type_pkg[python]" -ge "37" ]]; then perl -pi -e 's|find_package\(Python2|#$&|g' CMakeLists.txt else perl -pi -e 's|find_package\(Python3|#$&|g' CMakeLists.txt fi << GCC: 4.0 CompileScript: << #!/bin/sh -ev . %p/sbin/fink-buildenv-cmake.sh mkdir finkbuild pushd finkbuild cmake $FINK_CMAKE_ARGS \ -DCMAKE_CXX_FLAGS="-MD" \ -DBoost_INCLUDE_DIR=%p/opt/boost-1_68/include \ -DPython_EXECUTABLE:FILEPATH=%p/bin/python%type_raw[python] \ -DPython_LIBRARY:FILEPATH=%p/lib/libpython%type_raw[python].dylib \ -DPython_LIBRARY_RELEASE:FILEPATH=%p/lib/libpython%type_raw[python].dylib \ -DPython3_EXECUTABLE:FILEPATH=%p/bin/python%type_raw[python] \ -DPython3_LIBRARY:FILEPATH=%p/lib/libpython%type_raw[python].dylib \ -LAH \ .. make -w popd fink-package-precedence --depfile-ext='\.d' . << InfoTest: << TestDepends: << pytest-py%type_pkg[python], scipy-py%type_pkg[python] << TestScript: << cd finkbuild; make test || exit 2 << << InstallScript: << cd finkbuild; make install DESTDIR=%d << Shlibs: << (%type_pkg[python] = 27) %p/lib/libPyIex_Python2_7-2_4.24.dylib 24.0.0 %n (>= 2.4.1-1) (%type_pkg[python] = 27) %p/lib/libPyImath_Python2_7-2_4.24.dylib 24.0.0 %n (>= 2.4.1-1) (%type_pkg[python] = 37) %p/lib/libPyIex_Python3_7-2_4.24.dylib 24.0.0 %n (>= 2.4.1-1) (%type_pkg[python] = 37) %p/lib/libPyImath_Python3_7-2_4.24.dylib 24.0.0 %n (>= 2.4.1-1) << SplitOff: << Package: %N-dev Description: Development files for %N Depends: %N (= %v-%r) Conflicts: pyilmbase-py27-dev, pyilmbase-py37-dev Replaces: pyilmbase-py27-dev, pyilmbase-py37-dev BuildDependsOnly: True Files: << include lib/cmake (%type_pkg[python] = 27) lib/libPyIex_Python2_7-2_4.dylib (%type_pkg[python] = 27) lib/libPyImath_Python2_7-2_4.dylib (%type_pkg[python] = 37) lib/libPyIex_Python3_7-2_4.dylib (%type_pkg[python] = 37) lib/libPyImath_Python3_7-2_4.dylib << DocFiles: README.md:README-PyIlmBase.md ../README.md ../LICENSE.md ../CHANGES.md << DocFiles: README.md:README-PyIlmBase.md ../LICENSE.md Homepage: http://www.openexr.com/ DescDetail: << The PyIlmBase libraries provides python bindings for the IlmBase libraries: * **PyIex** - bindings for Iex * **PyImath** - bindings for Imath * **PyImathNumpy** - bindings that convert between numpy and Imath arrays << <<