58c133f522
- 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
33 lines
665 B
Makefile
33 lines
665 B
Makefile
PORTNAME= future
|
|
DISTVERSION= 1.0.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Clean single-source support for Python 3 and 2
|
|
WWW= https://python-future.org/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= python:2.7+
|
|
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} -m pytest tests
|
|
|
|
.include <bsd.port.post.mk>
|