From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A37C715808B for ; Mon, 7 Feb 2022 20:47:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2A132BC00F; Mon, 7 Feb 2022 20:47:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7B182BC004 for ; Mon, 7 Feb 2022 20:47:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62F8A342DFD for ; Mon, 7 Feb 2022 20:47:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01B9E1BD for ; Mon, 7 Feb 2022 20:47:47 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1644266862.7d3cf9b344c8ec7a4eb30d3c61ac777c04e6706f.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/buildbot/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/buildbot/files/pypugjs-2.8.0.patch X-VCS-Directories: dev-util/buildbot/files/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 7d3cf9b344c8ec7a4eb30d3c61ac777c04e6706f X-VCS-Branch: master Date: Mon, 7 Feb 2022 20:47:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 19310e0a-8cbb-4afd-a39e-f10c5f926a2b X-Archives-Hash: 3cae129f802a7fa55db4c14e528494d2 commit: 7d3cf9b344c8ec7a4eb30d3c61ac777c04e6706f Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat Feb 5 18:04:43 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Feb 7 20:47:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3cf9b3 dev-util/buildbot: remove unused patch Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/24089 Signed-off-by: Arthur Zamarin gentoo.org> dev-util/buildbot/files/pypugjs-2.8.0.patch | 83 ----------------------------- 1 file changed, 83 deletions(-) diff --git a/dev-util/buildbot/files/pypugjs-2.8.0.patch b/dev-util/buildbot/files/pypugjs-2.8.0.patch deleted file mode 100644 index d34c6fac1af8..000000000000 --- a/dev-util/buildbot/files/pypugjs-2.8.0.patch +++ /dev/null @@ -1,83 +0,0 @@ -From 26fefa8f8fa7b347e1c86723194de3a4094dc012 Mon Sep 17 00:00:00 2001 -From: Brian Dolbec -Date: Sat, 25 Apr 2020 11:53:06 -0700 -Subject: [PATCH] Initial pyjade port to pypugjs - ---- - common/code_spelling_ignore_words.txt | 1 + - master/buildbot/test/unit/test_www_config.py | 8 ++++---- - master/buildbot/www/config.py | 10 +++++----- - master/docs/manual/configuration/www.rst | 10 ++++++---- - master/docs/spelling_wordlist.txt | 2 +- - master/setup.py | 4 ++-- - requirements-ci.txt | 2 +- - 7 files changed, 20 insertions(+), 17 deletions(-) - -diff --git a/buildbot/test/unit/test_www_config.py b/buildbot/test/unit/test_www_config.py -index 23a108e..a8c24ec 100644 ---- a/buildbot/test/unit/test_www_config.py -+++ b/buildbot/test/unit/test_www_config.py -@@ -107,10 +107,10 @@ class IndexResource(TestReactorMixin, www.WwwTestMixin, unittest.TestCase): - def test_parseCustomTemplateDir(self): - exp = {'views/builds.html': '
\n
'} - try: -- # we make the test work if pyjade is present or note -- # It is better than just skip if pyjade is not there -- import pyjade # pylint: disable=import-outside-toplevel -- [pyjade] -+ # we make the test work if pypugjs is present or note -+ # It is better than just skip if pypugjs is not there -+ import pypugjs # pylint: disable=import-outside-toplevel -+ [pypugjs] - exp.update({'plugin/views/plugin.html': - '
this is customized
'}) - except ImportError: -diff --git a/buildbot/www/config.py b/buildbot/www/config.py -index a021299..50bae4d 100644 ---- config.py 2020-02-27 13:34:10.000000000 -0800 -+++ config2.py 2020-05-11 17:26:44.587026761 -0700 -@@ -61,11 +61,11 @@ - res = {} - allowed_ext = [".html"] - try: -- import pyjade # pylint: disable=import-outside-toplevel -+ import pypugjs # pylint: disable=import-outside-toplevel - allowed_ext.append(".jade") - except ImportError: # pragma: no cover -- log.msg("pyjade not installed. Ignoring .jade files from {}".format(template_dir)) -+ log.msg("pypugjs not installed. Ignoring .jade files from {}".format(template_dir)) -- pyjade = None -+ pypugjs = None - for root, dirs, files in os.walk(template_dir): - if root == template_dir: - template_name = posixpath.join("views", "%s.html") -@@ -86,9 +86,9 @@ - elif ext == ".jade": - with open(fn) as f: - jade = f.read() -- parser = pyjade.parser.Parser(jade) -+ parser = pypugjs.parser.Parser(jade) - block = parser.parse() -- compiler = pyjade.ext.html.Compiler( -+ compiler = pypugjs.ext.html.Compiler( - block, pretty=False) - html = compiler.compile() - res[template_name % (basename,)] = html -diff --git a/setup.py b/master/setup.py -index 8fca506..1f32a74 100755 ---- a/setup.py -+++ b/setup.py -@@ -490,8 +490,8 @@ test_deps = [ - # http client libraries - 'treq', - 'txrequests', -- # pyjade required for custom templates tests -- 'pyjade', -+ # pypugjs required for custom templates tests -+ 'pypugjs', - # boto3 and moto required for running EC2 tests - 'boto3', - 'moto', --- -libgit2 0.99.0 -