summaryrefslogtreecommitdiff
path: root/dev-python/ansible-pygments
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-27 16:01:10 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-27 16:01:10 +0000
commit724cccb689f2076a398ede6845749926c86ea647 (patch)
tree766c785a64ac7265adee059e793fc120be6c434f /dev-python/ansible-pygments
parent73ef00f9e2b100c7d0fedede11300940cc26670a (diff)
gentoo auto-resync : 27:02:2023 - 16:01:10
Diffstat (limited to 'dev-python/ansible-pygments')
-rw-r--r--dev-python/ansible-pygments/Manifest3
-rw-r--r--dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild (renamed from dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild)10
-rw-r--r--dev-python/ansible-pygments/files/ansible-pygments-0.1.1-tests_pygments2_14.patch75
3 files changed, 84 insertions, 4 deletions
diff --git a/dev-python/ansible-pygments/Manifest b/dev-python/ansible-pygments/Manifest
index f01594308bb1..eafe6043ebcf 100644
--- a/dev-python/ansible-pygments/Manifest
+++ b/dev-python/ansible-pygments/Manifest
@@ -1,3 +1,4 @@
+AUX ansible-pygments-0.1.1-tests_pygments2_14.patch 4663 BLAKE2B f198da4ffccc4acc7d64397e9e654407cff934a8764054154775c5e5208503096270a35fb712daeb2ff0d834b9638ffaab2f3fee3bbe5d902fde48e1de53a3ea SHA512 0ced02d842fac488a37015503bb1fe163bfe842f20717374ca5b87319e5f80bee6da11b0eef7c311cd750c89248ab5a92a44f402cd0b3fcedd86d26ac9d28679
DIST ansible-pygments-0.1.1.tar.gz 8446 BLAKE2B ff631dd24c723035db7ab11a6c3fc0c90e8cebd72e6b0fa0d8b2c4bc4250ff5fb1e4180366e4ee084aab90bf24a8c3b2ecfad2c421b9f0cfdbf7675c94f0fcf7 SHA512 1ad2f4568d46d7fc617c6e674bcd9aea48e14307d91c476b51a04f778b452f18cb983d87d4872664d567b984193edee2af7964854fb2f3ae37ab4bce09c387d4
-EBUILD ansible-pygments-0.1.1.ebuild 554 BLAKE2B eff74e00f5300152e38a6e9345ce4b41440898c291cfb1772bfc4bc2a9dbbc16f4f873fbc2736b5e70199bbb216c3c602a9ddddef9b0ace712658bb7c9d322df SHA512 5ef06d73e6a9165a8e57b67c490253dcfe670ce6ba6e615bc53f0cb5362c1faf66736f8c2cc6b9c1e948002c14653a97b7cad407de531b619f2299180bc41bfc
+EBUILD ansible-pygments-0.1.1-r1.ebuild 619 BLAKE2B c578599ff8ff7e89fabecaa3a8157815789e14e25e829adc7cfc7e4318decb7353a757a9f8f08cc88f9f2df2db5d57465be95a61a612b4097cf4bf131c1fac9a SHA512 bc14dd545061fbda5a9692fc998141ba8e7fe97fc83d8155674e1d782458077bc6f68ae89d10581beef76f2389fbc7b136890bb1d8b72ad601fb3f1dc2427528
MISC metadata.xml 786 BLAKE2B 5883f03ffc7b0850bc8ecc90c91a15a9498ced9ee196a4f8d2a97a77a41957cb05a40ebf671ddbdf226886b94e9a5e796376094924712544a07559e0858aa5a8 SHA512 c7736962fe565be524294a30630e7cfd2820d1e9ace6f6dbd307ad46a252947ce368057d5ea5d20889a5ccdbb7f3418496affad5f8ed345e0e0808bd4abbe4ed
diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild
index 0f4d366bc7b9..245c0808deda 100644
--- a/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild
+++ b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517="poetry"
inherit distutils-r1
@@ -16,7 +16,11 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~riscv"
-# 2.11.0+ needed in order for tests to pass
-RDEPEND=">=dev-python/pygments-2.11.0[${PYTHON_USEDEP}]"
+# 2.14.0+ needed in order for tests to pass
+RDEPEND=">=dev-python/pygments-2.14.0[${PYTHON_USEDEP}]"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.1.1-tests_pygments2_14.patch
+)
distutils_enable_tests pytest
diff --git a/dev-python/ansible-pygments/files/ansible-pygments-0.1.1-tests_pygments2_14.patch b/dev-python/ansible-pygments/files/ansible-pygments-0.1.1-tests_pygments2_14.patch
new file mode 100644
index 000000000000..d58a13256ac5
--- /dev/null
+++ b/dev-python/ansible-pygments/files/ansible-pygments-0.1.1-tests_pygments2_14.patch
@@ -0,0 +1,75 @@
+Backported upstream commit 0ddab3516217ac2067b6e980f5b2a6b2ac1be3fa
+
+--- a/tests/lexer_test.py
++++ b/tests/lexer_test.py
+@@ -86,41 +86,41 @@ def test_ansible_output_lexer():
+
+ <span class="k">TASK</span> <span class="p">[</span><span class="l">paused</span><span class="p">]</span> <span class="nv">************************************************************************************************************************************</span>
+ <span class="w">Sunday 11 November 2018 20:16:48 +0100 (0:00:00.041) 0:07:59.637 *******</span>
+-<span class="gd">--- before</span><span class="w"></span>
+-<span class="gi">+++ after</span><span class="w"></span>
+-<span class="gu">@@ -1,5 +1,5 @@</span><span class="w"></span>
+-<span class="w"> </span>{<span class="w"></span>
+-<span class="gd">- &quot;exists&quot;: false,</span><span class="w"></span>
+-<span class="gd">- &quot;paused&quot;: false,</span><span class="w"></span>
+-<span class="gd">- &quot;running&quot;: false</span><span class="w"></span>
+-<span class="gi">+ &quot;exists&quot;: true,</span><span class="w"></span>
+-<span class="gi">+ &quot;paused&quot;: true,</span><span class="w"></span>
+-<span class="gi">+ &quot;running&quot;: true</span><span class="w"></span>
+-<span class="w"> </span>}<span class="w"></span>
++<span class="gd">--- before</span>
++<span class="gi">+++ after</span>
++<span class="gu">@@ -1,5 +1,5 @@</span>
++<span class="w"> </span>{
++<span class="gd">- &quot;exists&quot;: false,</span>
++<span class="gd">- &quot;paused&quot;: false,</span>
++<span class="gd">- &quot;running&quot;: false</span>
++<span class="gi">+ &quot;exists&quot;: true,</span>
++<span class="gi">+ &quot;paused&quot;: true,</span>
++<span class="gi">+ &quot;running&quot;: true</span>
++<span class="w"> </span>}
+ <span class="w">\ No newline at end of file</span>
+
+ <span class="k">changed</span><span class="p">:</span> <span class="p">[</span><span class="nv">localhost</span><span class="p">]</span>
+
+ <span class="k">TASK</span> <span class="p">[</span><span class="l">volumes (more volumes)</span><span class="p">]</span> <span class="nv">********************************************************************************************************************</span>
+ <span class="w">Sunday 11 November 2018 20:19:25 +0100 (0:00:00.607) 0:10:36.974 *******</span>
+-<span class="gd">--- before</span><span class="w"></span>
+-<span class="gi">+++ after</span><span class="w"></span>
+-<span class="gu">@@ -1,11 +1,11 @@</span><span class="w"></span>
+-<span class="w"> </span>{<span class="w"></span>
+-<span class="w"> </span> &quot;expected_binds&quot;: [<span class="w"></span>
+-<span class="gd">- &quot;/tmp:/tmp:rw&quot;,</span><span class="w"></span>
+-<span class="gd">- &quot;/:/whatever:rw,z&quot;</span><span class="w"></span>
+-<span class="gi">+ &quot;/tmp:/somewhereelse:ro,Z&quot;,</span><span class="w"></span>
+-<span class="gi">+ &quot;/tmp:/tmp:rw&quot;</span><span class="w"></span>
+-<span class="w"> </span> ],<span class="w"></span>
+-<span class="w"> </span> &quot;expected_volumes&quot;: {<span class="w"></span>
+-<span class="gd">- &quot;/tmp&quot;: {},</span><span class="w"></span>
+-<span class="gd">- &quot;/whatever&quot;: {}</span><span class="w"></span>
+-<span class="gi">+ &quot;/somewhereelse&quot;: {},</span><span class="w"></span>
+-<span class="gi">+ &quot;/tmp&quot;: {}</span><span class="w"></span>
+-<span class="w"> </span> },<span class="w"></span>
+-<span class="w"> </span> &quot;running&quot;: true<span class="w"></span>
+-<span class="w"> </span>}<span class="w"></span>
++<span class="gd">--- before</span>
++<span class="gi">+++ after</span>
++<span class="gu">@@ -1,11 +1,11 @@</span>
++<span class="w"> </span>{
++<span class="w"> </span> &quot;expected_binds&quot;: [
++<span class="gd">- &quot;/tmp:/tmp:rw&quot;,</span>
++<span class="gd">- &quot;/:/whatever:rw,z&quot;</span>
++<span class="gi">+ &quot;/tmp:/somewhereelse:ro,Z&quot;,</span>
++<span class="gi">+ &quot;/tmp:/tmp:rw&quot;</span>
++<span class="w"> </span> ],
++<span class="w"> </span> &quot;expected_volumes&quot;: {
++<span class="gd">- &quot;/tmp&quot;: {},</span>
++<span class="gd">- &quot;/whatever&quot;: {}</span>
++<span class="gi">+ &quot;/somewhereelse&quot;: {},</span>
++<span class="gi">+ &quot;/tmp&quot;: {}</span>
++<span class="w"> </span> },
++<span class="w"> </span> &quot;running&quot;: true
++<span class="w"> </span>}
+ <span class="w">\ No newline at end of file</span>
+
+ <span class="k">changed</span><span class="p">:</span> <span class="p">[</span><span class="nv">localhost</span><span class="p">]</span>