From nobody Tue Jun 06 05:56:36 2023 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 4Qb0911pn7z4ZTdN; Tue, 6 Jun 2023 05:56:37 +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 4Qb0911ChBz3pv3; Tue, 6 Jun 2023 05:56:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686030997; 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=/cgdOH0nbCAlvE3caNYtPM6cloduhXGqPAgl3jxCokQ=; b=heDbjsa5oXR/lHcCv0C8dQfrggRsGu4VBJVjLbTwPJnGMxr6BfzmuP/X3VV3ooAbxvyHkO PKgC2DH5lp7wkrPl/onJmaKy1t2+2VBfR0+p61dmYZcU98dZTjRyCodWDsx0R+anpXjIy9 4VPzCx8sVa+GxN0uQPVVVfr6QwSNwrLWijgFFrDFjLpV8JqKySxwgOj8Go4FrjKTpzwX/Y NpqR4JnkxN2vFrMeJew5bBhxcpJph6FG05WXQzr054Q8RpUiW4HGosY8vcB7x8zjlaL6X8 RFlf0R1PDj03pPdZ1TwRjfDC1s7pRlQY6+oa17nN1Cj66uUvfb3BP5QUBA45WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686030997; 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=/cgdOH0nbCAlvE3caNYtPM6cloduhXGqPAgl3jxCokQ=; b=pvoMJ4keQlCft0XI5a94SHsnIYn6QtedAFyhtagqotW0BR85t2/YOB00DB5L0TYQ3caccB f2Uf435cOYo7vTwU9fu/iHw5l7KfCECVFMvJpv1z258WUDL9LEHOY5an5ii4CgTut+2QA6 LtJxDRh5MEeWV78gLi4symmt4NBueDo7PwHYO4LjCQ6Xw1fcAOD6MAl/0iRR2CnkfALEjJ RRZJGJjdp/4AH7gfOb0KcBgFgboJFxuo3fZNp565FAfKtz9e+Af/OGl6rVRIUJoi2va8kb U09nEhUIavldKCz96fHAsypLKsNWTyEVyaiCq/9qJD/mdPr+5tufm69l2snl9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686030997; a=rsa-sha256; cv=none; b=jheHckmNOTzKB7yBmaHHlPhXvY5xVLHyX7jejMwPrk8QT4yJORqrDwxnLw4lM5FIWKQPVi 3Pdkj7AMcqFlNqtk64fBupiBkDtTlA0MiRuXg2LrSjzkXx7isAei9smPYQA25zgf6nAg6+ yiIAPuDq0q6tCkXQsKexazbqMLvLZvpI1a3P4Esb2JwcCprSvJlRT+74S/QdVNmKknQdG3 aDLB6xFTRLzh1TzOgiRhNrr+atO0q0B9n0hx1xBs5QhnOvrkxUbE+ZYbBYNwCI9lL1kMjp DLK/NFzUqEowNJj9tf2L/1N9wYEL77zjkodDqU+RnDWy4/aLRM9xuIdMKMLc1A== 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 4Qb0910K6szHsV; Tue, 6 Jun 2023 05:56: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 3565uaTr057931; Tue, 6 Jun 2023 05:56:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3565uaic057930; Tue, 6 Jun 2023 05:56:36 GMT (envelope-from git) Date: Tue, 6 Jun 2023 05:56:36 GMT Message-Id: <202306060556.3565uaic057930@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Oleksii Samorukov Subject: git: ee34ecfe846e - main - www/trac-devel: upgrqde to 1.5.4 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: samm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ee34ecfe846e116b2bee2f8035d9cee98191e0ad Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by samm: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee34ecfe846e116b2bee2f8035d9cee98191e0ad commit ee34ecfe846e116b2bee2f8035d9cee98191e0ad Author: Oleksii Samorukov AuthorDate: 2023-06-06 05:55:14 +0000 Commit: Oleksii Samorukov CommitDate: 2023-06-06 05:55:14 +0000 www/trac-devel: upgrqde to 1.5.4 - Remove outdated patches - Unbreak the build Reported by: repology --- www/trac-devel/Makefile | 5 +--- www/trac-devel/distinfo | 6 ++--- .../patch-trac_ticket_templates_report__view.html | 10 ------- www/trac-devel/files/patch-trac_util_html.py | 13 --------- .../files/patch-trac_util_presentation.py | 19 ------------- www/trac-devel/files/patch-trac_util_text.py | 31 ---------------------- 6 files changed, 4 insertions(+), 80 deletions(-) diff --git a/www/trac-devel/Makefile b/www/trac-devel/Makefile index 7a4951e73500..6aa275751bb3 100644 --- a/www/trac-devel/Makefile +++ b/www/trac-devel/Makefile @@ -1,6 +1,5 @@ PORTNAME= trac -DISTVERSION= 1.5.3 -PORTREVISION= 2 +DISTVERSION= 1.5.4 CATEGORIES= www devel python MASTER_SITES= http://ftp.edgewall.com/pub/trac/ \ ftp://ftp.edgewall.com/pub/trac/ @@ -14,8 +13,6 @@ WWW= https://trac.edgewall.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= fails to build - BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel@${PY_FLAVOR} \ diff --git a/www/trac-devel/distinfo b/www/trac-devel/distinfo index bc1e278bd51b..5db5fff8eb92 100644 --- a/www/trac-devel/distinfo +++ b/www/trac-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1637782544 -SHA256 (Trac-1.5.3.tar.gz) = 699f5dd3ce82fb7138c726ef55a653f09531823e26170a1fb4d71d31b4adeaa5 -SIZE (Trac-1.5.3.tar.gz) = 5423354 +TIMESTAMP = 1686028534 +SHA256 (Trac-1.5.4.tar.gz) = 59fc453b4f6700f7e79917f1990aa20634d3cf85db2d3888111433725b9796e8 +SIZE (Trac-1.5.4.tar.gz) = 6161372 diff --git a/www/trac-devel/files/patch-trac_ticket_templates_report__view.html b/www/trac-devel/files/patch-trac_ticket_templates_report__view.html deleted file mode 100644 index de20599c2244..000000000000 --- a/www/trac-devel/files/patch-trac_ticket_templates_report__view.html +++ /dev/null @@ -1,10 +0,0 @@ ---- trac/ticket/templates/report_view.html.orig 2021-05-09 23:08:49 UTC -+++ trac/ticket/templates/report_view.html -@@ -162,6 +162,7 @@ history and logs, available at https://trac.edgewall.o - # for value_for_group, row_group in row_groups: - # if loop.first: - -+ # set header_group, header = None, None - # set column_headers - # for header_group in header_groups: - diff --git a/www/trac-devel/files/patch-trac_util_html.py b/www/trac-devel/files/patch-trac_util_html.py deleted file mode 100644 index fdb5c8fd3472..000000000000 --- a/www/trac-devel/files/patch-trac_util_html.py +++ /dev/null @@ -1,13 +0,0 @@ ---- trac/util/html.py.orig 2021-05-09 23:08:49 UTC -+++ trac/util/html.py -@@ -25,6 +25,10 @@ from html import entities - from html.parser import HTMLParser - - from markupsafe import Markup, escape as escape_quotes -+try: -+ from markupsafe import soft_str as soft_unicode -+except ImportError: -+ from markupsafe import soft_unicode - - try: - from babel.support import LazyProxy diff --git a/www/trac-devel/files/patch-trac_util_presentation.py b/www/trac-devel/files/patch-trac_util_presentation.py deleted file mode 100644 index f04f3a8bab1d..000000000000 --- a/www/trac-devel/files/patch-trac_util_presentation.py +++ /dev/null @@ -1,19 +0,0 @@ ---- trac/util/presentation.py.orig 2021-05-09 23:08:49 UTC -+++ trac/util/presentation.py -@@ -21,13 +21,13 @@ from datetime import datetime - from math import ceil - import re - --from jinja2 import Markup, Undefined, contextfilter, evalcontextfilter -+from jinja2 import Undefined, contextfilter, evalcontextfilter - from jinja2.filters import make_attrgetter --from jinja2.utils import soft_unicode - - from trac.core import TracError - from .datefmt import to_utimestamp, utc --from .html import Fragment, classes, html_attribute, styles, tag -+from .html import (Fragment, Markup, classes, html_attribute, soft_unicode, -+ styles, tag) - from .text import javascript_quote - - __all__ = ['captioned_button', 'classes', 'first_last', 'group', 'istext', diff --git a/www/trac-devel/files/patch-trac_util_text.py b/www/trac-devel/files/patch-trac_util_text.py deleted file mode 100644 index 64e40a62758c..000000000000 --- a/www/trac-devel/files/patch-trac_util_text.py +++ /dev/null @@ -1,31 +0,0 @@ ---- trac/util/text.py.orig 2021-05-09 23:08:49 UTC -+++ trac/util/text.py -@@ -22,6 +22,7 @@ import base64 - import configparser - import locale - import os -+import pkg_resources - import re - import sys - import textwrap -@@ -43,6 +44,11 @@ del Empty # shouldn't be used outside of Trac core - - # -- Jinja2 - -+_jinja2_ver = pkg_resources.parse_version(jinja2.__version__) -+_jinja2_exts = ['jinja2.ext.do', 'jinja2.ext.i18n'] -+if _jinja2_ver < pkg_resources.parse_version('3'): -+ _jinja2_exts.append('jinja2.ext.with_') -+ - def jinja2env(**kwargs): - """Creates a Jinja2 ``Environment`` configured with Trac conventions. - -@@ -65,7 +71,7 @@ def jinja2env(**kwargs): - line_comment_prefix='##', - trim_blocks=True, - lstrip_blocks=True, -- extensions=['jinja2.ext.do', 'jinja2.ext.i18n', 'jinja2.ext.with_'], -+ extensions=list(_jinja2_exts), - finalize=filterout_none, - autoescape=autoescape_extensions, - )