git: 58c133f52274 - main - devel/py-future: Update version 0.18.3=>1.0.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 04 Jul 2026 23:19:47 UTC
The branch main has been updated by bofh:

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

commit 58c133f522746c7e30ab5fced326cc4f4a93c66a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-07-04 21:09:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-07-04 23:00:03 +0000

    devel/py-future: Update version 0.18.3=>1.0.0
    
    - Mark DEPRECATED
    - This port has outlived it's purpose. It has been more than 6 years
      python 2.7 has reached EOL and by now all of the coded has been
      converted to be compatible with python 3.X
    - There are still some ports using this port but after checking I have
      found that those are stale dependencies as maintainers do not
      properly check upstream requirements or the ports are no longer
      maintained upstream.
    - I am reaching out to the maintainers if these are stale dependencies
    - I am reaching out to the maintainers if there are trivial fixes to
      remove these depencies
    - Set EXPIRATION_DATE 2026-09-30 for the 2.7 flavor and 2026-12-31 for
      the 3.X flavor. We will reconsider the EXPIRATION_DATE for the 3.X
      flavor before the end of the year
    
    Changelog: https://github.com/PythonCharmers/python-future/releases/tag/v1.0.0
    
    PR:             296295
    Reported by:    olivier
---
 devel/py-future/Makefile | 19 ++++++++++++++-----
 devel/py-future/distinfo |  6 +++---
 2 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/devel/py-future/Makefile b/devel/py-future/Makefile
index e5bccd3a32f9..ad989e1c1515 100644
--- a/devel/py-future/Makefile
+++ b/devel/py-future/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	future
-PORTVERSION=	0.18.3
-PORTREVISION=	1
+DISTVERSION=	1.0.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,11 +12,21 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USES=		python:2.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30000
+DEPRECATED=		No longer needed post Python 2 EOL
+EXPIRATION_DATE=	2026-09-30
+.else
+DEPRECATED=	Outlived it's purpose
+EXPIRATION_DATE=	2026-12-31
+.endif
+
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest tests
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/py-future/distinfo b/devel/py-future/distinfo
index cd55570afc24..0bb3293e9924 100644
--- a/devel/py-future/distinfo
+++ b/devel/py-future/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1678478724
-SHA256 (future-0.18.3.tar.gz) = 34a17436ed1e96697a86f9de3d15a3b0be01d8bc8de9c1dffd59fb8234ed5307
-SIZE (future-0.18.3.tar.gz) = 840896
+TIMESTAMP = 1782581504
+SHA256 (future-1.0.0.tar.gz) = bd2968309307861edae1458a4f8a4f3598c03be43b97521076aebf5d94c07b05
+SIZE (future-1.0.0.tar.gz) = 1228490