git: 02036bd53cc3 - main - devel/py-schedule: Update to 1.2.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 03 Jul 2024 04:39:03 UTC
The branch main has been updated by sunpoet:

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

commit 02036bd53cc3aac95b6812ad101fec6a15c70771
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-03 04:36:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-03 04:36:40 +0000

    devel/py-schedule: Update to 1.2.2
    
    - Update WWW
    - Add TIMEZONE option
    
    Changes:        https://github.com/dbader/schedule/blob/master/HISTORY.rst
                    https://schedule.readthedocs.io/en/stable/changelog.html
---
 devel/py-schedule/Makefile | 13 +++++++++----
 devel/py-schedule/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/devel/py-schedule/Makefile b/devel/py-schedule/Makefile
index 3f17b5a7f74a..eb209213ec61 100644
--- a/devel/py-schedule/Makefile
+++ b/devel/py-schedule/Makefile
@@ -1,18 +1,18 @@
 PORTNAME=	schedule
-PORTVERSION=	1.2.1
-PORTREVISION=	1
+PORTVERSION=	1.2.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Python job scheduling for humans
-WWW=		https://github.com/dbader/schedule
+WWW=		https://schedule.readthedocs.io/en/stable/ \
+		https://github.com/dbader/schedule
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python
@@ -20,4 +20,9 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	TIMEZONE
+TIMEZONE_DESC=	Timezone support
+
+TIMEZONE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR}
+
 .include <bsd.port.mk>
diff --git a/devel/py-schedule/distinfo b/devel/py-schedule/distinfo
index f1fc11bf31b8..6b2d88c7d7e9 100644
--- a/devel/py-schedule/distinfo
+++ b/devel/py-schedule/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696432940
-SHA256 (schedule-1.2.1.tar.gz) = 843bc0538b99c93f02b8b50e3e39886c06f2d003b24f48e1aa4cadfa3f341279
-SIZE (schedule-1.2.1.tar.gz) = 20251
+TIMESTAMP = 1718784557
+SHA256 (schedule-1.2.2.tar.gz) = 15fe9c75fe5fd9b9627f3f19cc0ef1420508f9f9a46f45cd0769ef75ede5f0b7
+SIZE (schedule-1.2.2.tar.gz) = 26452