From nobody Mon Mar 7 18:27:22 2022 X-Original-To: dev-commits-ports-all@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 6E3AA1A06EE3; Mon, 7 Mar 2022 18:27:24 +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 4KC6Pl2xLcz3h06; Mon, 7 Mar 2022 18:27:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646677644; 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=BTYC7i1oUKCooxp93howbowrW8tGUw053f3zBbq0EbQ=; b=oARhLgfruhwGFongwz266Lek4WMrF/psjDCgYCJWaSK1PZHqjn7GFCU6AlKwt6XCt2byW1 7RR/8zgQH7tuwqh+CqkFtGMEVBjvxtojw5u1KCWS+Xso3pP17dP4u7c6YHmrpf4BZoQB+5 ONbSk3bZ4LVQvKaAfuoH6Xn+sOAgOH8srNUFJ9ENnlwj6ljaQy8Rx88+YNtOdD0lNY+eDZ KHLuV5uBwQ5B/ErW6rEYxvWyKU/TQ+m9T25ubKZMJVsRzc3X/bHGsTMf7ismfrc4OSzZJ+ WCVTK+oTRjxTsx0V4ShZkkvHPwz9M+rjlvqq74J/mj2oWn5exY32u+nyjPpKxg== 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 BC7EB584F; Mon, 7 Mar 2022 18:27:22 +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 227IRM7C085917; Mon, 7 Mar 2022 18:27:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 227IRMop085916; Mon, 7 Mar 2022 18:27:22 GMT (envelope-from git) Date: Mon, 7 Mar 2022 18:27:22 GMT Message-Id: <202203071827.227IRMop085916@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5b77a71c74be - main - security/py-fail2ban: Fix build with setuptools 58.0.0+ List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5b77a71c74be894608c00f6387ea11d4ae607886 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646677644; 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=BTYC7i1oUKCooxp93howbowrW8tGUw053f3zBbq0EbQ=; b=wq2NJyjcXx/AE1mmeB7to+5VkEaJPpuD9ZHmedDrq1JOf/11rKje8Krw+HRTA/Lh1B5vaH vqipPvuLSs6sel25y3tK7EEih3o5MJG6qr/wAZzHX+pSje1rC49PPjMQQedHcVPR8AL06B OYpHwEs88NSnSYUkrY4dEeDhzSDy5IvQd5QlYsZRUyKoUMCfGhUVl1hXZib+U6cyzk27/z n/vHkbT4JtgTeTGUMu3ttGrAeCec0284U4qhBXeZm/O270lgW4Jw6nU58+vQjAoNtDd1Tf AZJa9WctpYPUxUGklg3c1sjSbptOI5p0ClsqNqS8eci0J1FyFR4X/JCHipWSFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646677644; a=rsa-sha256; cv=none; b=WOXrGhFEyGDHjAXWJCxt5d3M5lgtnNNNHv05l5iGV7NF3naCM4jSI9Yh79VuLApJ7MaYZ7 H2mk7iSfdqBCgFMiBpX64WimK7Mtadw16Z9CR1OidfQ2aijsaXQfkagRbN30H9FNllZxIF dYoqqbC8NhTnnbtByTygUY/Y2Kcc30oL6UmL4Uz5TVJdB8QGwElhRhxheWfVYesc/EsDqS dWz5sm/OqgQ3m7eIzie6PFoQLCyFbEdzPJJQvRFwPRlbx63+BJONN9TVknZ1P8Qd5/+fS1 zQDDXSE2DkeyYbgnwUWuJgXzkUrJCsez5JI4Ii2GhxrHSWbsyl5w7tMv9EpE9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b77a71c74be894608c00f6387ea11d4ae607886 commit 5b77a71c74be894608c00f6387ea11d4ae607886 Author: Po-Chuan Hsieh AuthorDate: 2022-03-07 18:07:42 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-07 18:13:20 +0000 security/py-fail2ban: Fix build with setuptools 58.0.0+ With hat: python --- security/py-fail2ban/files/patch-setup.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/security/py-fail2ban/files/patch-setup.py b/security/py-fail2ban/files/patch-setup.py new file mode 100644 index 000000000000..cc09c1acae19 --- /dev/null +++ b/security/py-fail2ban/files/patch-setup.py @@ -0,0 +1,26 @@ +--- setup.py.orig 2020-11-23 20:43:03 UTC ++++ setup.py +@@ -39,14 +39,7 @@ from distutils.command.build_scripts import build_scri + if setuptools is None: + from distutils.command.install import install + from distutils.command.install_scripts import install_scripts +-try: +- # python 3.x +- from distutils.command.build_py import build_py_2to3 +- from distutils.command.build_scripts import build_scripts_2to3 +- _2to3 = True +-except ImportError: +- # python 2.x +- _2to3 = False ++_2to3 = False + + import os + from os.path import isfile, join, isdir, realpath +@@ -186,7 +179,6 @@ commands.''' + if setuptools: + setup_extra = { + 'test_suite': "fail2ban.tests.utils.gatherTests", +- 'use_2to3': True, + } + else: + setup_extra = {}