git: a8ac6b5ad542 - main - devel/py-unearth: Update to 0.15.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 31 Mar 2024 03:40:36 UTC
The branch main has been updated by sunpoet:

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

commit a8ac6b5ad542a0c776fe1f8444bf15b8181b632d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 03:06:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 03:06:50 +0000

    devel/py-unearth: Update to 0.15.0
    
    Changes:        https://github.com/frostming/unearth/releases
---
 devel/py-unearth/Makefile                   |  7 ++++---
 devel/py-unearth/distinfo                   |  6 +++---
 devel/py-unearth/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/devel/py-unearth/Makefile b/devel/py-unearth/Makefile
index 78f3348b3af0..06d999fb4d37 100644
--- a/devel/py-unearth/Makefile
+++ b/devel/py-unearth/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	unearth
-PORTVERSION=	0.14.0
+PORTVERSION=	0.15.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,10 +13,11 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pdm-backend>=0:devel/py-pdm-backend@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=2.25:www/py-requests@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0.27.0<1:www/py-httpx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flask>=2.1.2:www/py-flask@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-httpserver>=1.0.4:devel/py-pytest-httpserver@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-mock>=3.10.0:devel/py-pytest-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests-wsgi-adapter>=0.4.1:www/py-requests-wsgi-adapter@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}trustme>=0.9.0:security/py-trustme@${PY_FLAVOR}
 
diff --git a/devel/py-unearth/distinfo b/devel/py-unearth/distinfo
index 6771b5d48894..25981027367a 100644
--- a/devel/py-unearth/distinfo
+++ b/devel/py-unearth/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449362
-SHA256 (unearth-0.14.0.tar.gz) = f3cddfb94ac0f865fbcf964231556ef7183010379c00b01205517a50c78a186d
-SIZE (unearth-0.14.0.tar.gz) = 280614
+TIMESTAMP = 1711466190
+SHA256 (unearth-0.15.0.tar.gz) = 95f4764dab61f6bb637427934fa543b3610a38908760c06014fb861dcca29458
+SIZE (unearth-0.15.0.tar.gz) = 283684
diff --git a/devel/py-unearth/files/patch-pyproject.toml b/devel/py-unearth/files/patch-pyproject.toml
new file mode 100644
index 000000000000..d5ab4ebe309f
--- /dev/null
+++ b/devel/py-unearth/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-03-20 08:48:35 UTC
++++ pyproject.toml
+@@ -62,7 +62,7 @@ test = [
+     "flask>=2.1.2",
+     "requests-wsgi-adapter>=0.4.1",
+     "trustme>=0.9.0",
+-    "pytest-mock>=3.12.0",
++    "pytest-mock>=3.10.0",
+ ]
+ doc = [
+     "furo",