git: 012f13889890 - main - www/py-textile: Update version 4.0.2=>4.0.3

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 24 Sep 2024 05:00:52 UTC
The branch main has been updated by bofh:

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

commit 012f13889890358a26a814504a6d28daf95f1836
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-09-24 02:46:10 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-09-24 04:59:46 +0000

    www/py-textile: Update version 4.0.2=>4.0.3
    
    Changelog: https://github.com/textile/python-textile/releases/tag/4.0.3
---
 www/py-textile/Makefile | 22 +++++++++++++++-------
 www/py-textile/distinfo |  6 +++---
 2 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/www/py-textile/Makefile b/www/py-textile/Makefile
index 7371077a9618..783fed7171f5 100644
--- a/www/py-textile/Makefile
+++ b/www/py-textile/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	textile
-PORTVERSION=	4.0.2
+DISTVERSION=	4.0.3
 CATEGORIES=	www textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,15 +10,23 @@ WWW=		https://github.com/textile/python-textile/releases
 
 LICENSE=	BSD2CLAUSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>=2.8:devel/py-pytest@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}nh3>=0:www/py-nh3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=2.8:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.5:devel/py-pytest-cov@${PY_FLAVOR}
 
 USES=		python
-USE_GITHUB=	yes
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
-GH_ACCOUNT=	${PORTNAME}
-GH_PROJECT=	python-${PORTNAME}
+
+OPTIONS_DEFINE=	IMAGESIZE
+OPTIONS_DEFAULT=IMAGESIZE
+
+IMAGESIZE_DESC=	Enable image size support
+
+IMAGESIZE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pillow>=3.0.0:graphics/py-pillow@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/www/py-textile/distinfo b/www/py-textile/distinfo
index f5f93e7f72fa..6ab735fb9553 100644
--- a/www/py-textile/distinfo
+++ b/www/py-textile/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1638662855
-SHA256 (textile-python-textile-4.0.2_GH0.tar.gz) = 0187dbfba50f01e70e93bb201440dc2e67b92c6ff87c10004d55744607bab72f
-SIZE (textile-python-textile-4.0.2_GH0.tar.gz) = 49296
+TIMESTAMP = 1727145058
+SHA256 (textile-4.0.3.tar.gz) = f2b0fa67769051a406020d2fa4d247d16967080aae407139f888c196eb23de6b
+SIZE (textile-4.0.3.tar.gz) = 56908