1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

devel/py-python-bugzilla: Update to 2.5.0

Patch to use FreeBSD Bugzilla as default

PR:		248605
Submitted by:	lwhsu
Approved by:	maintainer timeout
This commit is contained in:
Li-Wen Hsu 2020-09-01 02:20:05 +00:00
parent 607d352096
commit a11b61092f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547234
4 changed files with 26 additions and 5 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= python-bugzilla
PORTVERSION= 2.2.0
PORTREVISION= 1
PORTVERSION= 2.5.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,6 +13,7 @@ COMMENT= Bugzilla XMLRPC access module
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
USES= python

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1540223148
SHA256 (python-bugzilla-2.2.0.tar.gz) = acbfd2ba1bb44d2fdce6d925e27414bd5808d063550227816cf2adf2c2927274
SIZE (python-bugzilla-2.2.0.tar.gz) = 79818
TIMESTAMP = 1594185385
SHA256 (python-bugzilla-2.5.0.tar.gz) = c61ad770f17cee2990274117aa176dc02a7f98fc98e73f144cac19f74a4adc2a
SIZE (python-bugzilla-2.5.0.tar.gz) = 110931

View File

@ -0,0 +1,11 @@
--- bugzilla/_cli.py.orig 2020-07-04 17:39:54 UTC
+++ bugzilla/_cli.py
@@ -31,7 +31,7 @@ from bugzilla._compatimports import Fault, ProtocolErr
from bugzilla._util import to_encoding
-DEFAULT_BZ = 'https://bugzilla.redhat.com'
+DEFAULT_BZ = 'https://bugs.freebsd.org/bugzilla/xmlrpc.cgi'
format_field_re = re.compile("%{([a-z0-9_]+)(?::([^}]*))?}")

View File

@ -0,0 +1,10 @@
--- man/bugzilla.rst.orig 2020-07-03 23:18:54 UTC
+++ man/bugzilla.rst
@@ -53,6 +53,7 @@ will try to probe whether the expected XMLRPC or REST
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.)
- ``--nosslverify``