update to py3-scikit-image-0.19.3

This commit is contained in:
sthen 2022-11-10 13:04:39 +00:00
parent ddc046a528
commit 85e4068af9
4 changed files with 676 additions and 40 deletions

View File

@ -1,7 +1,6 @@
COMMENT = image processing routines for SciPy
MODPY_EGG_VERSION = 0.17.2
REVISION = 2
MODPY_EGG_VERSION = 0.19.3
DISTNAME = scikit-image-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = math
@ -22,8 +21,7 @@ FLAVORS = python3
FLAVOR = python3
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
MODPY_PYBUILD = setuptools
RUN_DEPENDS = math/py-numpy${MODPY_FLAVOR} \
math/py-scipy${MODPY_FLAVOR} \
@ -31,10 +29,15 @@ RUN_DEPENDS = math/py-numpy${MODPY_FLAVOR} \
math/py-networkx${MODPY_FLAVOR} \
graphics/py-Pillow${MODPY_FLAVOR} \
graphics/py-imageio${MODPY_FLAVOR} \
graphics/py-tifffile${MODPY_FLAVOR} \
math/py-PyWavelets${MODPY_FLAVOR}
BUILD_DEPENDS = lang/cython${MODPY_FLAVOR} \
BUILD_DEPENDS = lang/cython${MODPY_FLAVOR} \
lang/pythran${MODPY_FLAVOR} \
devel/py-wheel${MODPY_FLAVOR} \
math/py-numpy${MODPY_FLAVOR}
# needs a bunch of new dependencies
NO_TEST = Yes
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (scikit-image-0.17.2.tar.gz) = vZVMBYjw9+gdl2PcleBpUOaCR9VAR24Gy3e8vNjC2LM=
SIZE (scikit-image-0.17.2.tar.gz) = 29818001
SHA256 (scikit-image-0.19.3.tar.gz) = JLU2feF2LabuEm3Y8wzE5+/aR04NfXBoVDPw46ouxFA=
SIZE (scikit-image-0.19.3.tar.gz) = 22232287

View File

@ -0,0 +1,43 @@
Index: pyproject.toml
--- pyproject.toml.orig
+++ pyproject.toml
@@ -1,37 +1,9 @@
[build-system]
requires = [
"wheel",
- "setuptools<=59.4",
+ "setuptools",
"packaging",
"Cython>=0.29.24,<3.0",
"pythran",
-
- # We follow scipy for much of these pinnings
- # https://github.com/scipy/scipy/blob/master/pyproject.toml
- # numpy 1.19 was the first minor release to provide aarch64 wheels, but
- # wheels require fixes contained in numpy 1.19.2
- "numpy==1.19.2; python_version=='3.7' and platform_machine=='aarch64'",
- "numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64'",
- # aarch64 for py39 and py310 are covered by the default requirement below
-
- # arm64 on Darwin supports Python 3.8 and above requires numpy>=1.20.0
- "numpy==1.20.0; python_version=='3.8' and platform_machine=='arm64' and platform_system=='Darwin'",
- "numpy==1.20.0; python_version=='3.9' and platform_machine=='arm64' and platform_system=='Darwin'",
- # arm64 for py310 is covered by the default requirement below
-
- # default numpy requirements
- "numpy==1.17.3; python_version=='3.7' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
- "numpy==1.17.3; python_version=='3.8' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'",
- "numpy==1.19.3; python_version=='3.9' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_python_implementation != 'PyPy'",
- "numpy==1.21.4; python_version=='3.10' and platform_python_implementation != 'PyPy'",
-
- # First PyPy versions for which there are numpy wheels
- "numpy==1.20.0; python_version=='3.7' and platform_python_implementation=='PyPy'",
-
- # For Python versions which aren't yet officially supported,
- # we specify an unpinned NumPy which allows source distributions
- # to be used and allows wheels to be used as soon as they
- # become available.
- "numpy; python_version>='3.11'",
- "numpy; python_version>='3.8' and platform_python_implementation=='PyPy'",
+ "numpy",
]

File diff suppressed because it is too large Load Diff