From f303faff928d495ddf7b414a2c229e5ea1dfab2b Mon Sep 17 00:00:00 2001 From: "Danilo G. Baio" Date: Tue, 20 Oct 2020 02:12:07 +0000 Subject: [PATCH] Deprecate a few ports, following lang/python27 These are already deprecated because of lang/python27, just formalizing. --- devel/py-dis3/Makefile | 3 +++ devel/py-functools32/Makefile | 3 +++ devel/py-weakrefmethod/Makefile | 3 +++ sysutils/py-shutilwhich/Makefile | 3 +++ 4 files changed, 12 insertions(+) diff --git a/devel/py-dis3/Makefile b/devel/py-dis3/Makefile index 8c60ec27cb89..22f946796520 100644 --- a/devel/py-dis3/Makefile +++ b/devel/py-dis3/Makefile @@ -14,6 +14,9 @@ LICENSE= MIT PSFL LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Python 2 only, backport of Python 3 +EXPIRATION_DATE= 2020-12-31 + USES= python:2.7 USE_PYTHON= autoplist distutils diff --git a/devel/py-functools32/Makefile b/devel/py-functools32/Makefile index fedcab427793..aa2fe0a7fccf 100644 --- a/devel/py-functools32/Makefile +++ b/devel/py-functools32/Makefile @@ -11,6 +11,9 @@ COMMENT= Backport of the functools module from Python 3.2.3 for use on 2.7 LICENSE= PSFL +DEPRECATED= Python 2 only, backport of Python 3 +EXPIRATION_DATE= 2020-12-31 + USE_GITHUB= yes GH_ACCOUNT= MiCHiLU GH_PROJECT= python-functools32 diff --git a/devel/py-weakrefmethod/Makefile b/devel/py-weakrefmethod/Makefile index 5b20dfb9769d..ea50f02bdbac 100644 --- a/devel/py-weakrefmethod/Makefile +++ b/devel/py-weakrefmethod/Makefile @@ -13,6 +13,9 @@ COMMENT= WeakMethod class for storing bound methods using weak references LICENSE= PSFL LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Python 2 only, backport of Python 3 +EXPIRATION_DATE= 2020-12-31 + NO_ARCH= yes USES= python:2.7 USE_PYTHON= distutils autoplist diff --git a/sysutils/py-shutilwhich/Makefile b/sysutils/py-shutilwhich/Makefile index 78fa6f4833ee..d3962c2b4ef2 100644 --- a/sysutils/py-shutilwhich/Makefile +++ b/sysutils/py-shutilwhich/Makefile @@ -11,6 +11,9 @@ COMMENT= shutil.which for those not using Python 3.3 LICENSE= PSFL +DEPRECATED= Python 2 only, backport of Python 3 +EXPIRATION_DATE= 2020-12-31 + TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= python:2.7