From nobody Mon Dec 13 11:47:37 2021 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 79D5218E3B26; Mon, 13 Dec 2021 11:47:39 +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 4JCKWG2NhWz4ft7; Mon, 13 Dec 2021 11:47:38 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 EA1BA13FE5; Mon, 13 Dec 2021 11:47:37 +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 1BDBlbGf066428; Mon, 13 Dec 2021 11:47:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BDBlbVJ066427; Mon, 13 Dec 2021 11:47:37 GMT (envelope-from git) Date: Mon, 13 Dec 2021 11:47:37 GMT Message-Id: <202112131147.1BDBlbVJ066427@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: cbc49d7bdec2 - main - devel/py-constantly: fix build with python 3.11 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: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cbc49d7bdec28e27d702267c8b7f5a22437acc2b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639396058; 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=b9H15ya7KSnHontV3vRP6c6n86SsghnHBT6krOOF9cM=; b=n1+BLKfLuToStg6HufzlMa55jFJkmJFXVRjrkWzb6K0/8pPPqxSCHmdSAQi+0EQySgaw9n P7OG0j2X80/Oj2T0o+nHw9JOsoCGTl6lZjT5a2byFoTik+ddWubv4JcJ8c8bQRkR5sT12/ Nec/azSwN7A6wF+vylZLTYPfW5PXKulCuefdMwJE6V1OjNnGYhqdINTmRp7KAsv+b6tBfo fWYeeBb0IOJ2QlnkM64xRr8G46365ZeILRdytFhpNRp6t+b34GAmFfXuL6Gm6RhExz6GuL MOuU5OMPtWQkC0VelMKGgwkwZ/P6cuSPJBHYElCw8+8/F89aWcugpB6iqGQV6w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639396058; a=rsa-sha256; cv=none; b=HOaoH1vjhTX1SdtQApDbbiqy1sgBeUFeSjD1fHCki9dGeYIuZ1TTK+CHezVYAnbUL9sE/f 8bin7d3dlgIiMW6hY2OQFESZLR3/fizuwrk1o55kbjTZSzli1AMDwLWxkHvwtIk3pbxdxf 2igQKZpxvNm/jZPswimluBbelm7u5EuqNt1EwmaT+gdUN7afHdCEsgIKroYHydukIeI9GQ /Zvvfm5bXNnsopvSD85RHvdrYeuGKmJaSFP4a+OxpGoMcsTLs/ycOXjV8wZ2dmwNXu+Ui8 af2CMTNDkgkMTG/QvpQAOPKGtGUgeD8jMAU5QIosnoqtjI9zCBxKV5fk2jq19g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=cbc49d7bdec28e27d702267c8b7f5a22437acc2b commit cbc49d7bdec28e27d702267c8b7f5a22437acc2b Author: Dmitry Marakasov AuthorDate: 2021-12-10 12:35:46 +0000 Commit: Dmitry Marakasov CommitDate: 2021-12-13 11:45:54 +0000 devel/py-constantly: fix build with python 3.11 Approved by: portmgr blanket --- devel/py-constantly/files/patch-versioneer.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/devel/py-constantly/files/patch-versioneer.py b/devel/py-constantly/files/patch-versioneer.py new file mode 100644 index 000000000000..70be6be98477 --- /dev/null +++ b/devel/py-constantly/files/patch-versioneer.py @@ -0,0 +1,14 @@ +--- versioneer.py.orig 2015-08-11 08:30:05 UTC ++++ versioneer.py +@@ -396,9 +396,9 @@ def get_config_from_root(root): + # configparser.NoOptionError (if it lacks "VCS="). See the docstring at + # the top of versioneer.py for instructions on writing your setup.cfg . + setup_cfg = os.path.join(root, "setup.cfg") +- parser = configparser.SafeConfigParser() ++ parser = configparser.ConfigParser() + with open(setup_cfg, "r") as f: +- parser.readfp(f) ++ parser.read_file(f) + VCS = parser.get("versioneer", "VCS") # mandatory + + def get(parser, name):