git: 631efe11fe3b - main - www/py-wagtail-airtable: Update to 0.7.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:26:09 UTC
The branch main has been updated by sunpoet:

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

commit 631efe11fe3b17ce16cfdbe700ed12121f06bc95
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:47:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:08:13 +0000

    www/py-wagtail-airtable: Update to 0.7.0
    
    - Change MASTER_SITES from GitHub to PYPI
    - Update WWW
    
    Changes:        https://github.com/wagtail-nest/wagtail-airtable/releases
---
 www/py-wagtail-airtable/Makefile                   | 14 ++++++--------
 www/py-wagtail-airtable/distinfo                   |  6 +++---
 www/py-wagtail-airtable/files/patch-pyproject.toml | 18 +++++++++---------
 3 files changed, 18 insertions(+), 20 deletions(-)

diff --git a/www/py-wagtail-airtable/Makefile b/www/py-wagtail-airtable/Makefile
index afbc99a3ff75..9142e956c7a8 100644
--- a/www/py-wagtail-airtable/Makefile
+++ b/www/py-wagtail-airtable/Makefile
@@ -1,28 +1,26 @@
 PORTNAME=	wagtail-airtable
-PORTVERSION=	0.6.0
-DISTVERSIONPREFIX=	v
+PORTVERSION=	0.7.0
 CATEGORIES=	www python
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	wagtail_airtable-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Sync data between Wagtail and Airtable
-WWW=		https://github.com/wagtail/wagtail-airtable
+WWW=		https://github.com/wagtail-nest/wagtail-airtable
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.8:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}airtable-python-wrapper>=0.13.0:devel/py-airtable-python-wrapper@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.11.0,1:www/py-djangorestframework@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wagtail>=4.1:www/py-wagtail@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}wagtail>=5.2:www/py-wagtail@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	wagtail
-
 .include <bsd.port.mk>
diff --git a/www/py-wagtail-airtable/distinfo b/www/py-wagtail-airtable/distinfo
index ecfd6245bfe8..fafe28e302e8 100644
--- a/www/py-wagtail-airtable/distinfo
+++ b/www/py-wagtail-airtable/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681843908
-SHA256 (wagtail-wagtail-airtable-v0.6.0_GH0.tar.gz) = 1fdde95a89ac821171a36e87607e0b443055a8e268b8a10c42c17d0c113f2167
-SIZE (wagtail-wagtail-airtable-v0.6.0_GH0.tar.gz) = 1198910
+TIMESTAMP = 1708449546
+SHA256 (wagtail_airtable-0.7.0.tar.gz) = a47cd390320943d9ab664e2745d57849cc5a0758cdf2521cb4f69d4246d964d8
+SIZE (wagtail_airtable-0.7.0.tar.gz) = 32399
diff --git a/www/py-wagtail-airtable/files/patch-pyproject.toml b/www/py-wagtail-airtable/files/patch-pyproject.toml
index b0374da930c7..05c11d359c2c 100644
--- a/www/py-wagtail-airtable/files/patch-pyproject.toml
+++ b/www/py-wagtail-airtable/files/patch-pyproject.toml
@@ -1,11 +1,11 @@
---- pyproject.toml.orig	2023-02-21 17:47:24 UTC
+--- pyproject.toml.orig	2024-02-06 17:08:00 UTC
 +++ pyproject.toml
-@@ -33,7 +33,7 @@ packages = [
- [tool.poetry.dependencies]
- python = ">=3.7,<4.0"
- wagtail = ">=4.1"
--airtable-python-wrapper = "~0.13.0"
-+airtable-python-wrapper = ">=0.13.0"
- djangorestframework = ">=3.11.0"
- django = ">=3.2"
+@@ -33,7 +33,7 @@ dependencies = [
+ dependencies = [
+     "Wagtail>=5.2",
+     "Django>=4.2",
+-    "airtable-python-wrapper>=0.13.0,<0.14",
++    "airtable-python-wrapper>=0.13.0",
+     "djangorestframework>=3.11.0"
+ ]