From nobody Wed Aug 28 14:49:53 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wv6l51nGgz52Pb2; Wed, 28 Aug 2024 14:49:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wv6l51FvJz4NGY; Wed, 28 Aug 2024 14:49:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724856593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=v/nh42JgmciFksTwwEmSYUNjXHDIBCTDElMUtrr0QEo=; b=TVlf9lF2m7zAzIFqFdx7ByEakwuaet6i4pST998MrCOTKlvgcJJ0heZrj8w/RqAQ4Hf+dJ /chFPeK6GPbSW0DBrQlAiZYmFDlQNLFQ051UZk1dIePB92nBqnskS3RCL942H2unGo6rXP 4OQBNLf81MLYXuBCwFezfOCX0Y/MWsrtYZHoRDkQU2uT7TZfow8R/LyGpWAt0RkbddU2Hr koxvL2OoUMSFGmF8rbw2tXB3qrdfqUSeiFuLACqqFiRThNnzJw1tQ4jRhW763Ro1BVfiTT eSuRkEGZ86Sq5COgcVDEeJnQytxV+BpQWBs7/FoJ/EdFJSjLrc6vWjA2beuuRA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724856593; a=rsa-sha256; cv=none; b=Tx4Abj8S+YDCov7dR5Ot7L8mTI+V6G2eg8rw79htTHCFtdNTEayhfaDrSXVnE6iGNUvbMg KjDdn+8UnZH8s8x2Mba09RuTKhQ8Meu3+apKRILXSYPz8lhCouTbMemozpH758r5f0g04K 0YGVpcJmOJ/6PaqGNgxaUFvQRpltZLHcJHAqVjJfBe4HL/WCAudx9u05oIDiAdTYxusn+u VFRPxPf3ixmu2XYewR1v+b4j+rU0f4OxFArBmOEn++dF+dJxcOjUBlQbiLvi1zhRGswico LOB7tobdKyBdKKXchNOcoWeapEekhWj5twCft7EkNypbx5rgfF2ux4cX/J3TKw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724856593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=v/nh42JgmciFksTwwEmSYUNjXHDIBCTDElMUtrr0QEo=; b=ov0KwgLlGoJc+jekM6KrpuJFWAmqEIpGNlleKhCIL8ewmZgsRiIh7Wv1ljXt/v4YEyxoI+ Ow0PrxlaPrHvgJ48xEx31Pkk3cyxVSJOGPEBEpR1oyty6GbF7k+niKagu827IpgqbHmvfR XvrMURe6d5lAFeZy/D6FFuK3pq/pwyW+h6jWndf5UIsz0bu72n7Qwu4dpKVzcXfVLZv4rk shEPRsIFkQk3XZYZQo1uixaeIvY7AYivjW+HLDjwKCmtW4W2vTra9/ANvqlBwOIZ9mLSZZ U6zJrmlLNcK5dlqIqCuSg8bz44ljKl/TKr3+IcSMnc9KVuJwyLtevkLyD8od9Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wv6l50rd8zdfY; Wed, 28 Aug 2024 14:49:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47SEnrhT099760; Wed, 28 Aug 2024 14:49:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47SEnrFq099756; Wed, 28 Aug 2024 14:49:53 GMT (envelope-from git) Date: Wed, 28 Aug 2024 14:49:53 GMT Message-Id: <202408281449.47SEnrFq099756@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Max Brazhnikov Subject: git: dc6d24aeda34 - main - math/py-PyWavelets: rename to pywavelets and update to 1.5.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: makc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dc6d24aeda3492b9497becd979ae50d1dc466a4c Auto-Submitted: auto-generated The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=dc6d24aeda3492b9497becd979ae50d1dc466a4c commit dc6d24aeda3492b9497becd979ae50d1dc466a4c Author: Max Brazhnikov AuthorDate: 2024-08-28 14:48:22 +0000 Commit: Max Brazhnikov CommitDate: 2024-08-28 14:48:22 +0000 math/py-PyWavelets: rename to pywavelets and update to 1.5.0 Update to 1.5.0. The package has been renamed to pywavelets starting with 1.5.0 --- math/py-PyWavelets/distinfo | 3 -- math/py-PyWavelets/files/patch-pyproject.toml | 43 ------------------------- math/{py-PyWavelets => py-pywavelets}/Makefile | 12 +++---- math/py-pywavelets/distinfo | 3 ++ math/py-pywavelets/files/patch-pyproject.toml | 25 ++++++++++++++ math/{py-PyWavelets => py-pywavelets}/pkg-descr | 0 6 files changed, 34 insertions(+), 52 deletions(-) diff --git a/math/py-PyWavelets/distinfo b/math/py-PyWavelets/distinfo deleted file mode 100644 index 2ad92327aea6..000000000000 --- a/math/py-PyWavelets/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1724843132 -SHA256 (PyWavelets-1.4.1.tar.gz) = 6437af3ddf083118c26d8f97ab43b0724b956c9f958e9ea788659f6a2834ba93 -SIZE (PyWavelets-1.4.1.tar.gz) = 4589677 diff --git a/math/py-PyWavelets/files/patch-pyproject.toml b/math/py-PyWavelets/files/patch-pyproject.toml deleted file mode 100644 index a4df3902ae8e..000000000000 --- a/math/py-PyWavelets/files/patch-pyproject.toml +++ /dev/null @@ -1,43 +0,0 @@ ---- pyproject.toml.orig 2022-09-16 08:55:28 UTC -+++ pyproject.toml -@@ -9,39 +9,5 @@ requires = [ - "wheel", - "setuptools<65", - "Cython>=0.29.24,<3.0", -- -- # NumPy dependencies - to update these, sync from -- # https://github.com/scipy/oldest-supported-numpy/, and then -- # update minimum version to match our install_requires min version -- # ---------------------------------------------------------------- -- -- # 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.8' and platform_machine=='aarch64'", -- # aarch64 for py39 is covered by 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'", -- -- # On Windows we need to avoid 1.21.6, 1.22.0 and 1.22.1 because they were -- # built with vc142. 1.22.3 is the first version that has 32-bit Windows -- # wheels *and* was built with vc141. So use that: -- "numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'", -- -- # default numpy requirements -- "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'", -- # Note that 1.21.3 was the first version with a complete set of 3.10 wheels, -- # however macOS was broken and it's safe C API/ABI-wise to build against 1.21.6 -- # (see oldest-supported-numpy issues gh-28 and gh-45) -- "numpy==1.21.6; python_version=='3.10' and (platform_system!='Windows' and platform_machine!='loongarch64') and platform_python_implementation != 'PyPy'", -- "numpy==1.23.3; python_version=='3.11' 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.12'", -- "numpy; python_version>='3.8' and platform_python_implementation=='PyPy'", -+ "numpy", - ] diff --git a/math/py-PyWavelets/Makefile b/math/py-pywavelets/Makefile similarity index 68% rename from math/py-PyWavelets/Makefile rename to math/py-pywavelets/Makefile index bcd76711e774..ffa61adc5563 100644 --- a/math/py-PyWavelets/Makefile +++ b/math/py-pywavelets/Makefile @@ -1,6 +1,5 @@ -PORTNAME= PyWavelets -PORTVERSION= 1.4.1 -PORTREVISION= 2 +PORTNAME= pywavelets +PORTVERSION= 1.5.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,13 +12,14 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}meson-python>=0.14:devel/meson-python@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} -USES= python +USES= python shebangfix USE_PYTHON= autoplist cython pep517 +SHEBANG_FILES= pywt/data/create_dat.py + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pywt/_extensions/*.so diff --git a/math/py-pywavelets/distinfo b/math/py-pywavelets/distinfo new file mode 100644 index 000000000000..9134427f823f --- /dev/null +++ b/math/py-pywavelets/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724847432 +SHA256 (pywavelets-1.5.0.tar.gz) = d9e25c7cabef7ccd53f5fead26ab22152fe4cb937bad7411b5d506e2b5de38f6 +SIZE (pywavelets-1.5.0.tar.gz) = 3937269 diff --git a/math/py-pywavelets/files/patch-pyproject.toml b/math/py-pywavelets/files/patch-pyproject.toml new file mode 100644 index 000000000000..4f363283cd58 --- /dev/null +++ b/math/py-pywavelets/files/patch-pyproject.toml @@ -0,0 +1,25 @@ +--- pyproject.toml.orig 2023-11-17 22:07:21 UTC ++++ pyproject.toml +@@ -9,21 +9,7 @@ requires = [ + requires = [ + "meson-python>=0.14.0", + "Cython>=0.29.35", +- +- # When numpy 2.0.0rc1 comes out, we should update this to build against 2.0, +- # and then runtime depend on the range 1.22.X to <2.3. No need to switch to +- # 1.25.2 in the meantime (1.25.x is the first version which exports older C +- # API versions by default). +- +- # default numpy requirements +- "numpy==1.22.4; python_version<='3.10' and platform_python_implementation != 'PyPy'", +- "numpy==1.23.3; python_version=='3.11' and platform_python_implementation != 'PyPy'", +- "numpy==1.26.0; python_version=='3.12' 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.13'", +- "numpy; python_version>='3.9' and platform_python_implementation=='PyPy'", ++ "numpy", + ] + + [project] diff --git a/math/py-PyWavelets/pkg-descr b/math/py-pywavelets/pkg-descr similarity index 100% rename from math/py-PyWavelets/pkg-descr rename to math/py-pywavelets/pkg-descr