git: ede29bbe66f4 - main - devel/py-apscheduler: unbreak after 1d648e548584

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 03 Sep 2022 14:54:16 UTC
The branch main has been updated by jbeich:

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

commit ede29bbe66f42ef35ee0a4bc6614ae1a2c0b560a
Author:     Andrej Ebert <andrej@ebert.su>
AuthorDate: 2022-08-29 17:24:59 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-09-03 14:53:36 +0000

    devel/py-apscheduler: unbreak after 1d648e548584
    
    ===>   py39-apscheduler-3.9.1 depends on package: py39-tzlocal>=1.2<3 - not found
    ===>   Installing existing package /packages/All/py39-tzlocal-4.2.pkg
    Installing py39-tzlocal-4.2...
    Extracting py39-tzlocal-4.2: .......... done
    ===>   py39-apscheduler-3.9.1 depends on package: py39-tzlocal>=1.2<3 - not found
    *** Error code 1
    
    PR:             266102
---
 devel/py-apscheduler/Makefile                |  2 +-
 devel/py-apscheduler/files/patch-tzlocal-1.2 | 14 --------------
 2 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/devel/py-apscheduler/Makefile b/devel/py-apscheduler/Makefile
index c9a354edd9d6..81633196258a 100644
--- a/devel/py-apscheduler/Makefile
+++ b/devel/py-apscheduler/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tzlocal>=1.2<3:devel/py-tzlocal@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}tzlocal>=4:devel/py-tzlocal@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-tornado>0:devel/py-pytest-tornado@${PY_FLAVOR}
 
diff --git a/devel/py-apscheduler/files/patch-tzlocal-1.2 b/devel/py-apscheduler/files/patch-tzlocal-1.2
deleted file mode 100644
index 2093667aed5d..000000000000
--- a/devel/py-apscheduler/files/patch-tzlocal-1.2
+++ /dev/null
@@ -1,14 +0,0 @@
-Partially revert https://github.com/agronholm/apscheduler/commit/b773c79ac505
-until devel/py-tzlocal is updated to 2.1
-
---- setup.py.orig	2021-10-24 20:17:02 UTC
-+++ setup.py
-@@ -41,7 +41,7 @@ setup(
-         'setuptools >= 0.7',
-         'six >= 1.4.0',
-         'pytz',
--        'tzlocal >= 2.0, != 3.*'
-+        'tzlocal >= 1.2, != 3.*'
-     ],
-     extras_require={
-         ':python_version == "2.7"': ['futures'],