From nobody Sat Feb 5 01:19:53 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4BB5319AA63C; Sat, 5 Feb 2022 01:19:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JrF211gjVz3tLX; Sat, 5 Feb 2022 01:19:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644023993; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LbZdqBeND8FI/iOmAHU/zyBSxRxOscN1Anau0qPQWus=; b=KTo6072nnuH1YVdB2oiYEl8uz2SedAX8IcyD2WLmc13qqEMVdCG5oP2J4R5+0POt7oFffO 6BUif6tFczB5SB+FlMD/cPj1jVqbDTmD8r4kMIAdfE1b8oiSi7xQrxuayLSIf0VEsJnYb2 mHbFGW7xyn0LWZ+Pi4kyxIbiq9EuF0+q8lP6yjDZHrWB+LOSrcXblWeXIJKSaqkK2dDgrc SurzBbhAZ58WtqkemqEhVfy8HDwUpwj7GsliP5kkx3Y5JtLN5XWbaGLyJbIbojbpwnFqQD PJ9vY8e/X6WuEvYtHp9Pq+mwXP6FK/5gNAwJCWYDgsUkXaCTM5vRZrWDBGZG4g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 19324162C1; Sat, 5 Feb 2022 01:19:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2151JrtI021833; Sat, 5 Feb 2022 01:19:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2151JraL021832; Sat, 5 Feb 2022 01:19:53 GMT (envelope-from git) Date: Sat, 5 Feb 2022 01:19:53 GMT Message-Id: <202202050119.2151JraL021832@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: 461373bf1f10 - main - */*: Cleanup after the removal of lang/python36 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 461373bf1f104917f16cf783dd7d80d2951a993e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644023993; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LbZdqBeND8FI/iOmAHU/zyBSxRxOscN1Anau0qPQWus=; b=OIl6GUn+IJsb1u5JLfiLab9Ja9Lu0XfcMr84O5hmGl1/U8Jv4URd7VlqOEUXrjseeHcyTV HGoLLPrYDlympnGvORQiYkEP88Vpbf5muyOoMG4A04uXzpg8s/pDI69DOUfRfQBKK6RfC6 lOw7x/RGHx8UF99DUl+2YU/BV2pQrue3QDfIi3HQIExiranCTHsQea7wIhNnZ6spOdTyoR bX2Jtja4t05PjdEzPNxqwG727o5rUmkQ+abWIvCovp4R0FZdVYeKtD8pYftoVCG29nKKly 9gVTH2QwC7zJrpSSNeP0w8AVb0QTZxoQi7Im/s3on9Mrb9f0O/lBnHgL+sBK4w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644023993; a=rsa-sha256; cv=none; b=twHmW5ECbKjF/dMISVOQ9tOUK6oWiOmIpGAKBlW72aGzD3jcGtsRxCG32975DPcjqenZpj 6Pd7hsw0BiEOurkkeeQVqxkuosAk87WK4YwtrSWOIrdmRXr9qnQX6EQ/BweEwMfT9QUu1e aXroc5zLyQ14gT51lfYutgTs+q4ow5RmzGCjUCw9dq93Y+vcYTSW9/1llOl7uwDc8p4ME8 wQ3pcK571bmks/Wanf2c0223QbcfRJEwSsQYtEDe/NO3kN8dBx6s89C0ypwmSWTJNSWwan 4GJmsiV5BRH3pIyvpMQLt2MdZygk7upAR0whMZRkqsSqDPX+gvV4RDTB8I5a9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=461373bf1f104917f16cf783dd7d80d2951a993e commit 461373bf1f104917f16cf783dd7d80d2951a993e Author: Yasuhiro Kimura AuthorDate: 2022-01-08 20:42:49 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-02-05 01:17:21 +0000 */*: Cleanup after the removal of lang/python36 * Remove codes that aren't necessary after the removal of lang/python36 * Mark ports that aren't necessary with Python 3.7 or later as DEPRECATED and set EXPIRATION_DATE. PR: 261046 Approved by: lwhsu (python) --- databases/py-databases/Makefile | 8 +------- devel/py-aiortc/Makefile | 8 +------- devel/py-dataclasses/Makefile | 3 +++ net/irrd/Makefile | 8 +------- net/py-netaddr/Makefile | 8 +------- net/py-wsproto/Makefile | 8 +------- sysutils/py-python-crontab/Makefile | 9 +-------- textproc/py-fingerprints/Makefile | 9 +-------- textproc/py-normality/Makefile | 9 +-------- www/py-aiohttp/Makefile | 8 +------- www/py-dj32-django-treebeard/Makefile | 9 +-------- www/py-django-markdownx/Makefile | 11 +---------- www/py-django-treebeard/Makefile | 9 +-------- www/qutebrowser/Makefile | 4 ---- 14 files changed, 15 insertions(+), 96 deletions(-) diff --git a/databases/py-databases/Makefile b/databases/py-databases/Makefile index cd784f6c4efe..d7528bc572b2 100644 --- a/databases/py-databases/Makefile +++ b/databases/py-databases/Makefile @@ -41,10 +41,4 @@ SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosqlite>0:databases/py-aiosqlite@${ # do-test: # cd ${WRKSRC} && ${SETENV} ${TEST_ENV} TEST_DATABASE_URLS="sqlite:///testsuite" ${PYTHON_CMD} -m pytest -v -rs -o addopts= -.include - -.if ${PYTHON_REL} < 30700 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}aiocontextvars>=0:devel/py-aiocontextvars@${PY_FLAVOR} -.endif - -.include +.include diff --git a/devel/py-aiortc/Makefile b/devel/py-aiortc/Makefile index 892c2f63ca5e..75ca757e8759 100644 --- a/devel/py-aiortc/Makefile +++ b/devel/py-aiortc/Makefile @@ -26,10 +26,4 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aioice>=0.7.5:devel/py-aioice@${PY_FLAVOR} \ USES= localbase python:3.5+ USE_PYTHON= autoplist concurrent distutils -.include - -.if ${PYTHON_REL} < 30700 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dataclasses>=0:devel/py-dataclasses@${PY_FLAVOR} -.endif - -.include +.include diff --git a/devel/py-dataclasses/Makefile b/devel/py-dataclasses/Makefile index fdd23968bd32..3694c2deeea2 100644 --- a/devel/py-dataclasses/Makefile +++ b/devel/py-dataclasses/Makefile @@ -10,6 +10,9 @@ COMMENT= Backport of the dataclasses module for Python 3.6 LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt +DEPRECATED= Included in Python 3.7 or later +EXPIRATION_DATE= 2022-03-31 + USES= python:3.6 USE_PYTHON= distutils autoplist diff --git a/net/irrd/Makefile b/net/irrd/Makefile index 971ccb9e490a..c8fbe5bd01bb 100644 --- a/net/irrd/Makefile +++ b/net/irrd/Makefile @@ -56,12 +56,6 @@ SUB_LIST= PYTHON_CMD="${PYTHON_CMD}" \ USERS=${USERS} \ GROUPS=${GROUPS} -.include - -.if ${PYTHON_REL} < 30700 -BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dataclasses>=0.6:devel/py-dataclasses@${PY_FLAVOR} -.endif - post-install: ${INSTALL_DATA} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/conf/default_config.yaml \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}${PKGNAMESUFFIX}.yaml.sample @@ -69,4 +63,4 @@ post-install: do-test: @(cd ${TEST_WRKSRC} && ${SETENV} pytest ${PORTNAME}) -.include +.include diff --git a/net/py-netaddr/Makefile b/net/py-netaddr/Makefile index a71918f04646..7459ad4eed27 100644 --- a/net/py-netaddr/Makefile +++ b/net/py-netaddr/Makefile @@ -23,12 +23,6 @@ PORTDOCS= AUTHORS CHANGELOG README.rst OPTIONS_DEFINE= DOCS -.include - -.if ${PYTHON_REL} < 30700 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>0:devel/py-importlib-resources@${PY_FLAVOR} -.endif - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} @@ -36,4 +30,4 @@ post-install-DOCS-on: do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -.include +.include diff --git a/net/py-wsproto/Makefile b/net/py-wsproto/Makefile index df222608d6c1..252b53891768 100644 --- a/net/py-wsproto/Makefile +++ b/net/py-wsproto/Makefile @@ -19,13 +19,7 @@ USE_PYTHON= autoplist distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 30700 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dataclasses>0:devel/py-dataclasses@${PY_FLAVOR} -.endif - do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -.include +.include diff --git a/sysutils/py-python-crontab/Makefile b/sysutils/py-python-crontab/Makefile index b740eda4650a..6a92faeafb2b 100644 --- a/sysutils/py-python-crontab/Makefile +++ b/sysutils/py-python-crontab/Makefile @@ -23,14 +23,7 @@ USE_GITLAB= yes GL_ACCOUNT= doctormo GL_COMMIT= ba23056ddf1a00ecfd14b0a31c2e0cdad132f8d0 -.include - -# The UTF-8 mode is enabled by default when the locale is C since Python 3.7. -.if ${PYTHON_REL} < 30700 -TEST_ENV+= LC_ALL=C.UTF-8 -.endif - do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test -.include +.include diff --git a/textproc/py-fingerprints/Makefile b/textproc/py-fingerprints/Makefile index a86d600fe4bf..a4fbf17ab602 100644 --- a/textproc/py-fingerprints/Makefile +++ b/textproc/py-fingerprints/Makefile @@ -19,14 +19,7 @@ USE_PYTHON= distutils autoplist NO_ARCH= yes -.include -# Set a locale to avoid build/configure errors. The UTF-8 mode is enabled by -# default when the locale is C since Python 3.7. -.if ${PYTHON_REL} < 30700 -USE_LOCALE= en_US.UTF-8 -.endif - do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -.include +.include diff --git a/textproc/py-normality/Makefile b/textproc/py-normality/Makefile index ba2501660589..1465d2d33abd 100644 --- a/textproc/py-normality/Makefile +++ b/textproc/py-normality/Makefile @@ -26,14 +26,7 @@ OPTIONS_DEFAULT= ICU ICU_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyicu>=1.9.3:devel/py-pyicu@${PY_FLAVOR} -.include -# Set a locale to avoid build/configure errors. The UTF-8 mode is enabled by -# default when the locale is C since Python 3.7. -.if ${PYTHON_REL} < 30700 -USE_LOCALE= en_US.UTF-8 -.endif - do-test: @cd ${WRKSRC} && ${SET_ENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -.include +.include diff --git a/www/py-aiohttp/Makefile b/www/py-aiohttp/Makefile index 7d8f1286355b..1ffbd08d7e5f 100644 --- a/www/py-aiohttp/Makefile +++ b/www/py-aiohttp/Makefile @@ -34,12 +34,6 @@ USES= cpe python:3.6+ CPE_VENDOR= ${PORTNAME}_project USE_PYTHON= autoplist distutils cython -.include - -.if ${PYTHON_REL} < 30700 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}idna_ssl>=1.0:dns/py-idna_ssl@${PY_FLAVOR} -.endif - pre-configure: .for file in _frozenlist _helpers _http_parser _http_writer _websocket @${RM} ${WRKSRC}/aiohttp/${file}.c @@ -52,4 +46,4 @@ post-install: do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test -.include +.include diff --git a/www/py-dj32-django-treebeard/Makefile b/www/py-dj32-django-treebeard/Makefile index 723f50155474..05c071a83f1c 100644 --- a/www/py-dj32-django-treebeard/Makefile +++ b/www/py-dj32-django-treebeard/Makefile @@ -25,13 +25,6 @@ DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FL ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" -.include -# Set a locale to avoid build/configure errors. The UTF-8 mode is enabled by -# default when the locale is C since Python 3.7. -.if ${PYTHON_REL} < 30700 -USE_LOCALE= en_US.UTF-8 -.endif - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/build/sphinx/html && \ @@ -41,4 +34,4 @@ post-install-DOCS-on: do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -.include +.include diff --git a/www/py-django-markdownx/Makefile b/www/py-django-markdownx/Makefile index ef2b5aceb7d4..8baa24801fdb 100644 --- a/www/py-django-markdownx/Makefile +++ b/www/py-django-markdownx/Makefile @@ -21,13 +21,4 @@ USE_PYTHON= autoplist distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 30700 -# Force an UTF-8 environment to avoid failures in the configuration phase for -# Python versions <= 3.6. Since Python 3.7 the UTF-8 mode is enabled by -# default when the locale is C. -USE_LOCALE= en_US.UTF-8 -.endif - -.include +.include diff --git a/www/py-django-treebeard/Makefile b/www/py-django-treebeard/Makefile index 1a9605c1495f..49adb2be8380 100644 --- a/www/py-django-treebeard/Makefile +++ b/www/py-django-treebeard/Makefile @@ -25,13 +25,6 @@ DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FL ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" -.include -# Set a locale to avoid build/configure errors. The UTF-8 mode is enabled by -# default when the locale is C since Python 3.7. -.if ${PYTHON_REL} < 30700 -USE_LOCALE= en_US.UTF-8 -.endif - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/build/sphinx/html && \ @@ -41,4 +34,4 @@ post-install-DOCS-on: do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -.include +.include diff --git a/www/qutebrowser/Makefile b/www/qutebrowser/Makefile index 2f76ef3475ab..8d6bb142f547 100644 --- a/www/qutebrowser/Makefile +++ b/www/qutebrowser/Makefile @@ -40,10 +40,6 @@ WEBENGINE_USE= PYQT=webengine .include -.if ${PYTHON_REL} < 30700 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dataclasses>0:devel/py-dataclasses@${PY_FLAVOR} -.endif - .if ${PYTHON_REL} < 30900 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>0:devel/py-importlib-resources@${PY_FLAVOR} .endif