ports/graphics/py-lerc/files/patch-setup.py
Po-Chuan Hsieh 2b8486a5c3
graphics/py-lerc: Add py-lerc 4.0.0
LERC is an open-source image or raster format which supports rapid encoding and
decoding for any pixel type (not just RGB or Byte). Users set the maximum
compression error per pixel while encoding, so the precision of the original
input image is preserved (within user defined error bounds).

This port is the Python binding for LERC (Limited Error Raster Compression).

WWW: https://esri.github.io/lerc/
WWW: https://github.com/Esri/lerc/tree/master/OtherLanguages/Python
2022-08-27 18:10:30 +08:00

13 lines
498 B
Python

--- setup.py.orig 2022-07-15 18:25:29 UTC
+++ setup.py
@@ -16,8 +16,8 @@ except Exception:
# Using MANIFEST.in doesn't respect relative paths above the package root.
# Instead, inspect the location and copy in the binaries if newer.
-BINARY_TYPES = ["*.dll", "*.lib", "*.so*", "*.dylib"]
-PLATFORMS = ["Linux", "MacOS", "windows"]
+BINARY_TYPES = ["*.so*"]
+PLATFORMS = ["FreeBSD"]
for platform in PLATFORMS:
platform_dir = join("..", "..", "bin", platform)
for ext in BINARY_TYPES: