git: f5ff0dcf9579 - main - devel/py-watchfiles: Prepare for py-maturin >= 1.x

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Thu, 10 Aug 2023 08:25:44 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f5ff0dcf95791fca09e9969ba07885942a724826

commit f5ff0dcf95791fca09e9969ba07885942a724826
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-08-10 08:20:40 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-08-10 08:20:40 +0000

    devel/py-watchfiles: Prepare for py-maturin >= 1.x
    
    * Relax version requirements as the port builds fine with newer version
      of py-maturin.
    
    * No PORTREVISION bump as the package doesn't change.
    
    PR:             272570
    Approved by:    portmgr (buildfix blanket)
---
 devel/py-watchfiles/Makefile                   | 2 +-
 devel/py-watchfiles/files/patch-pyproject.toml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/py-watchfiles/Makefile b/devel/py-watchfiles/Makefile
index 5f1ab6d9c7ba..2bd3b858d8b7 100644
--- a/devel/py-watchfiles/Makefile
+++ b/devel/py-watchfiles/Makefile
@@ -13,7 +13,7 @@ WWW=		https://github.com/samuelcolvin/watchfiles
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}maturin>=0.13<0.15:devel/py-maturin@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}maturin>=0.13<2:devel/py-maturin@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anyio>=3.0.0:devel/py-anyio@${PY_FLAVOR}
 
 USES=		cargo dos2unix python
diff --git a/devel/py-watchfiles/files/patch-pyproject.toml b/devel/py-watchfiles/files/patch-pyproject.toml
index ff3fd31aa2df..73ee9c94ff7a 100644
--- a/devel/py-watchfiles/files/patch-pyproject.toml
+++ b/devel/py-watchfiles/files/patch-pyproject.toml
@@ -3,7 +3,7 @@
 @@ -1,5 +1,5 @@
  [build-system]
 -requires = ['maturin>=0.14.16,<0.15']
-+requires = ['maturin>=0.13,<0.15']
++requires = ['maturin>=0.13,<2']
  build-backend = 'maturin'
  
  [project]