From nobody Sat Oct 12 13:43:21 2024 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 4XQl7Y71P4z5YQK5; Sat, 12 Oct 2024 13:43:21 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XQl7Y6W2Jz4lVh; Sat, 12 Oct 2024 13:43:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728740601; 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=DZ/9SOOPbW2Vd5Pi/3DWERljqJHZSaSoI7QtBpqDsSA=; b=Bc65bsmdgVUAGgjX8MOsQVjQOLrUJ1IvnbJsJ2oRZ3fjrTorHrFkNw8hyQJzAUNgsSQXoS 6/KpaO4FI60dgs3QDonvLTWXPPOAoNgjnBMVOmHbGMY2umb+JifMa3FTuG8N0AZzf4INJ0 pqgfcLWyuy73Po99EfU3M9LYJh7VrVDn0k4teE6e/nRK6GIMUoWVpC/76bGMhf7/PImky4 3RrRXaK3Aq0n91Z/O7s+XeRlQokkT19FI9Ld8Txz9EvL7nBJg57xeCGZE7MNlzOKxIAGLA BRdlet+1aDgESj9aVy7PbPBoJaC+Zr9RZHN/M8XzRzHZucwCDtT3jGTVC5Iuvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728740601; 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=DZ/9SOOPbW2Vd5Pi/3DWERljqJHZSaSoI7QtBpqDsSA=; b=R2WdKX9Bvb/F6GfW6Y6UkpnCHH6Idx7jE7r6kaUq4G2+udNEQzFCegIOjG0l+wFDyCwqcA YfQ1G+ms9jXjGPNRLs4QTkht9MYS3VubsG4Qen0bOOrn7etfXwoAOS1RbKemVQ2O5u7ZJT wgP3BKbmUoGxgbgs9cq/kXJrn/Z/j/fkqHwdxLr5uvVD+YiQ4G8uS+ndvr38X+M6lYiQMN v2u2G4dmzH+a9eNQI/F0+rDpCvR1K+YNc0KNwh4F2xXi26ll5qvz2nCQDsGYJI1Huv2GAC DyEwAPXWKqgddCIqiQZjwmVTVaFrPOs/BQRLdjXzhe4AE0/UsRi5o+10+Wh6ng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728740601; a=rsa-sha256; cv=none; b=SZHx+wV1dNfoLeTEyO8VTDqYvL/waCvW5CLJhEUZFCvZqvMuKmg8D/GqTWJBxR1QbEGRyX /h8tQwulsXzVneIcVJkBMO1c/Pz1BVHYMaBHc4Fu+gC1gDvuTszlkSaF4XyvLZr9gZ5TlO UrKNAm2FM1vymBNLL8NcokdvFMpF72dvxoeFG6m1mnvfhI1zfmDl9F+5dSCOxN23D7TleC MDgkFkBl+p+fkx/JrkXN1hkvN84BDhPEkKrKrolZLaTC+CnfHtK1UfXlK2QJdJfveu3JXM 820x5EphVI7+83ulKHakqtEdu9OS7gRO5xaonqrUSL9Xs4F2hdi1KFbUVs5ZaQ== 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 4XQl7Y5hm7z1QtF; Sat, 12 Oct 2024 13:43:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49CDhLdu008114; Sat, 12 Oct 2024 13:43:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49CDhLlB008111; Sat, 12 Oct 2024 13:43:21 GMT (envelope-from git) Date: Sat, 12 Oct 2024 13:43:21 GMT Message-Id: <202410121343.49CDhLlB008111@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: 1e315b9fef4e - main - devel/py-python-bugzilla: Update to 3.3.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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1e315b9fef4e674945acd940b3030cffd6c027a6 Auto-Submitted: auto-generated The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e315b9fef4e674945acd940b3030cffd6c027a6 commit 1e315b9fef4e674945acd940b3030cffd6c027a6 Author: Li-Wen Hsu AuthorDate: 2024-10-12 13:42:45 +0000 Commit: Li-Wen Hsu CommitDate: 2024-10-12 13:42:45 +0000 devel/py-python-bugzilla: Update to 3.3.0 --- devel/py-python-bugzilla/Makefile | 4 ++-- devel/py-python-bugzilla/distinfo | 6 +++--- .../files/patch-bugzilla___cli.py | 6 +++--- .../files/patch-bugzilla___session.py | 23 ---------------------- .../py-python-bugzilla/files/patch-man_bugzilla.1 | 10 ++++++++++ .../files/patch-man_bugzilla.rst | 8 ++++---- 6 files changed, 22 insertions(+), 35 deletions(-) diff --git a/devel/py-python-bugzilla/Makefile b/devel/py-python-bugzilla/Makefile index 35eb957c3a9d..e150162ee0b7 100644 --- a/devel/py-python-bugzilla/Makefile +++ b/devel/py-python-bugzilla/Makefile @@ -1,9 +1,9 @@ PORTNAME= python-bugzilla -PORTVERSION= 3.2.0 -PORTREVISION= 1 +DISTVERSION= 3.3.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python_bugzilla-${DISTVERSION} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Bugzilla XMLRPC access module diff --git a/devel/py-python-bugzilla/distinfo b/devel/py-python-bugzilla/distinfo index 0cda9bf0776c..917f49ce824c 100644 --- a/devel/py-python-bugzilla/distinfo +++ b/devel/py-python-bugzilla/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647015134 -SHA256 (python-bugzilla-3.2.0.tar.gz) = 4efc8cfa297837c9e4eab220e197176715bd61ee33cec2c1b0f2790f07860387 -SIZE (python-bugzilla-3.2.0.tar.gz) = 114279 +TIMESTAMP = 1728739679 +SHA256 (python_bugzilla-3.3.0.tar.gz) = e18220171e033eb3ba600c4d139359d01aa1acec1daebc4308910e450763de47 +SIZE (python_bugzilla-3.3.0.tar.gz) = 120711 diff --git a/devel/py-python-bugzilla/files/patch-bugzilla___cli.py b/devel/py-python-bugzilla/files/patch-bugzilla___cli.py index 4e51ab539a3b..0c8b3bdf3518 100644 --- a/devel/py-python-bugzilla/files/patch-bugzilla___cli.py +++ b/devel/py-python-bugzilla/files/patch-bugzilla___cli.py @@ -1,7 +1,7 @@ ---- bugzilla/_cli.py.orig 2020-07-04 17:39:54 UTC +--- bugzilla/_cli.py.orig 2024-09-23 07:35:49 UTC +++ bugzilla/_cli.py -@@ -31,7 +31,7 @@ from bugzilla._compatimports import Fault, ProtocolErr - from bugzilla._util import to_encoding +@@ -29,7 +29,7 @@ import bugzilla + import bugzilla -DEFAULT_BZ = 'https://bugzilla.redhat.com' diff --git a/devel/py-python-bugzilla/files/patch-bugzilla___session.py b/devel/py-python-bugzilla/files/patch-bugzilla___session.py deleted file mode 100644 index bf9849a0eef2..000000000000 --- a/devel/py-python-bugzilla/files/patch-bugzilla___session.py +++ /dev/null @@ -1,23 +0,0 @@ ---- bugzilla/_session.py -+++ bugzilla/_session.py -@@ -98,14 +98,14 @@ def request(self, *args, **kwargs): - if "timeout" not in kwargs: - kwargs["timeout"] = timeout - -- response = self._session.request(*args, **kwargs) -+ try: -+ response = self._session.request(*args, **kwargs) - -- if self._is_xmlrpc: -- # Yes this still appears to matter for properly decoding unicode -- # code points in bugzilla.redhat.com content -- response.encoding = "UTF-8" -+ if self._is_xmlrpc: -+ # This still appears to matter for properly decoding unicode -+ # code points in bugzilla.redhat.com content -+ response.encoding = "UTF-8" - -- try: - response.raise_for_status() - except requests.HTTPError as e: - # Scrape the api key out of the returned exception string diff --git a/devel/py-python-bugzilla/files/patch-man_bugzilla.1 b/devel/py-python-bugzilla/files/patch-man_bugzilla.1 new file mode 100644 index 000000000000..bd2ca2d61ef6 --- /dev/null +++ b/devel/py-python-bugzilla/files/patch-man_bugzilla.1 @@ -0,0 +1,10 @@ +--- man/bugzilla.1.orig 2024-09-23 07:35:49 UTC ++++ man/bugzilla.1 +@@ -72,6 +72,7 @@ The default URL \fI\%https://bugzilla.redhat.com\fP + preferring XMLRPC for backwards compatibility. + .sp + The default URL \fI\%https://bugzilla.redhat.com\fP ++(This is patched to \fI\%https://bugs.FreeBSD.org/bugzilla/xmlrpc.cgi\fP in FreeBSD ports.) + .SS \fB\-\-nosslverify\fP + .sp + \fBSyntax:\fP \fB\-\-nosslverify\fP diff --git a/devel/py-python-bugzilla/files/patch-man_bugzilla.rst b/devel/py-python-bugzilla/files/patch-man_bugzilla.rst index 011c71a7ba4e..a6cc5930b89b 100644 --- a/devel/py-python-bugzilla/files/patch-man_bugzilla.rst +++ b/devel/py-python-bugzilla/files/patch-man_bugzilla.rst @@ -1,10 +1,10 @@ ---- man/bugzilla.rst.orig 2020-07-03 23:18:54 UTC +--- man/bugzilla.rst.orig 2024-09-23 07:35:49 UTC +++ man/bugzilla.rst -@@ -53,6 +53,7 @@ will try to probe whether the expected XMLRPC or REST +@@ -61,6 +61,7 @@ The default URL https://bugzilla.redhat.com preferring XMLRPC for backwards compatibility. The default URL https://bugzilla.redhat.com -+(This is patched to https://bugs.freebsd.org/bugzilla/xmlrpc.cgi in FreeBSD ports.) ++(This is patched to https://bugs.FreeBSD.org/bugzilla/xmlrpc.cgi in FreeBSD ports.) - - ``--nosslverify`` + ``--nosslverify``