[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/
commit: 1862dab667e65f41d10080f17d52349b13863b38 Author: Michał Górny gentoo org> AuthorDate: Thu Jun 20 15:01:23 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Jun 20 15:20:05 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1862dab6 dev-python/ansible-pygments: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> .../ansible-pygments/ansible-pygments-0.1.1-r1.ebuild | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild index 144271f84a10..1fe6e28e6526 100644 --- a/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild +++ b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild @@ -1,22 +1,27 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517="poetry" PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi DESCRIPTION="Pygments lexer and style Ansible snippets" -HOMEPAGE="https://github.com/ansible-community/ansible-pygments; +HOMEPAGE=" + https://github.com/ansible-community/ansible-pygments/ + https://pypi.org/project/ansible-pygments/ +" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~arm64 ~riscv" -RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/pygments[${PYTHON_USEDEP}] +" PATCHES=( "${FILESDIR}"/${PN}-0.1.1-make_lexer_test_compare_tokens.patch
[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/
commit: 971c44f4a8ffd7bbe737987a945a7de2ebd8f356 Author: Marek Szuba gentoo org> AuthorDate: Tue Dec 5 12:15:13 2023 + Commit: Marek Szuba gentoo org> CommitDate: Tue Dec 5 12:15:54 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=971c44f4 dev-python/ansible-pygments: enable py3.12 Signed-off-by: Marek Szuba gentoo.org> dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild index 9af143aac38e..ccaf7b22ee7a 100644 --- a/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild +++ b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517="poetry" PYPI_NO_NORMALIZE=1
[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/files/, dev-python/ansible-pygments/
commit: d1841f909c97a2fc9f3e34d990ca192da2eb78af Author: Marek Szuba gentoo org> AuthorDate: Tue Dec 5 12:06:12 2023 + Commit: Marek Szuba gentoo org> CommitDate: Tue Dec 5 12:15:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1841f90 dev-python/ansible-pygments: patch tests to be less dependent on the version of Pygments Closes: https://bugs.gentoo.org/906695 Signed-off-by: Marek Szuba gentoo.org> .../ansible-pygments-0.1.1-r1.ebuild | 7 +- ...ents-0.1.1-make_lexer_test_compare_tokens.patch | 324 + ...ansible-pygments-0.1.1-tests_pygments2_14.patch | 75 - 3 files changed, 327 insertions(+), 79 deletions(-) diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild index acf6231a5358..9af143aac38e 100644 --- a/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild +++ b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) DISTUTILS_USE_PEP517="poetry" PYPI_NO_NORMALIZE=1 @@ -16,11 +16,10 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~riscv" -# 2.14.0+ needed in order for tests to pass -RDEPEND=">=dev-python/pygments-2.14.0[${PYTHON_USEDEP}]" +RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]" PATCHES=( - "${FILESDIR}"/${PN}-0.1.1-tests_pygments2_14.patch + "${FILESDIR}"/${PN}-0.1.1-make_lexer_test_compare_tokens.patch ) distutils_enable_tests pytest diff --git a/dev-python/ansible-pygments/files/ansible-pygments-0.1.1-make_lexer_test_compare_tokens.patch b/dev-python/ansible-pygments/files/ansible-pygments-0.1.1-make_lexer_test_compare_tokens.patch new file mode 100644 index ..41ce8a5c2314 --- /dev/null +++ b/dev-python/ansible-pygments/files/ansible-pygments-0.1.1-make_lexer_test_compare_tokens.patch @@ -0,0 +1,324 @@ +Backported upstream patch 179c74e9f1a5dc870dec6d4db6cab60d2dca1ed2 + +--- a/tests/lexer_test.py b/tests/lexer_test.py +@@ -1,26 +1,24 @@ + # Author: Felix Fontein + # License: BSD-2-Clause + # Copyright: Felix Fontein , 2021 +-"""Tests for Pygments lexers.""" ++"""Tests for Pygments lexers. + +-from pygments import highlight +-# pylint: disable=no-name-in-module +-# Ref: https://github.com/PyCQA/pylint/issues/491 +-from pygments.formatters import HtmlFormatter +- +-from ansible_pygments.lexers import AnsibleOutputLexer ++They rely on token comparison for stability reasons. Relying on ++additional style formatting is known to break with updates to ++the pygments library itself. ++""" + ++from pygments import __version__ as _pygments_version ++from pygments.lexers import get_lexer_by_name as _get_lexer_by_name ++from pygments.token import Token + +-def run_test(data, lexer): +-"""Format the data snippet as HTML using a given lexer.""" +-formatter = HtmlFormatter() +-result = highlight(data, lexer, formatter) +-return formatter.get_style_defs('.highlight'), result ++PYGMENTS_VERSION_INFO = tuple(map(int, _pygments_version.split('.'))) ++IS_OLD_PYGMENTS_PRE_2_14 = PYGMENTS_VERSION_INFO <= (2, 14, 0) + + + def test_ansible_output_lexer(): +-"""Test that AnsibleOutputLexer produces expected HTML output.""" +-data = R""" ++"""Test that ``AnsibleOutputLexer`` produces expected tokens.""" ++ansible_play_output_example = R""" + ok: [windows] => { + "account": { + "account_name": "vagrant-domain", +@@ -71,58 +69,226 @@ + + changed: [localhost] + """ +-_, result = run_test(data, AnsibleOutputLexer()) +-print(result) + +-# pylint: disable=line-too-long +-assert result == R"""ok: [windows] = { +-account: { +-account_name: vagrant-domain, +-type: User +-}, +-authentication_package: Kerberos, +-user_flags: [] +-} +- +-TASK [paused] +-Sunday 11 November 2018 20:16:48 +0100 (0:00:00.041) 0:07:59.637 *** + before +-+++ after +-@@ -1,5 +1,5 @@ +- { +-- exists: false, +-- paused: false, +-- running: false +-+ exists: true, +-+ paused: true, +-+ running: true +- } +-\ No newline at end of file +- +-changed: [localhost] +- +-TASK [volumes (more volumes)] +-Sunday 11 November 2018 20:19:25 +0100 (0:00:00.607) 0:10:36.974 *** + before +-+++ after +-@@ -1,11 +1,11 @@ +- { +- expected_binds: [ +--/tmp:/tmp:rw, +--/:/whatever:rw,z +-+/tmp:/somewhereelse:ro,Z, +-+/tmp:/tmp:rw +- ], +- expected_volumes: { +--/tmp: {}, +--/whatever: {} +-+/somewhereelse: {}, +-+/tmp: {} +- }, +- running: true +- } +-\ No newline at end of file +- +-changed: [localhost] +- +-"""
[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/
commit: 64884475f44f5a6afb2cd25bc6df9754cddd8cfa Author: Michał Górny gentoo org> AuthorDate: Fri Mar 17 11:58:28 2023 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 17 15:20:13 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64884475 dev-python/ansible-pygments: Use pypi.eclass Signed-off-by: Michał Górny gentoo.org> dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild index 245c0808deda..acf6231a5358 100644 --- a/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild +++ b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild @@ -5,12 +5,12 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) DISTUTILS_USE_PEP517="poetry" +PYPI_NO_NORMALIZE=1 -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Pygments lexer and style Ansible snippets" HOMEPAGE="https://github.com/ansible-community/ansible-pygments; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/files/, dev-python/ansible-pygments/
commit: b59d58e2d9ff7397783f18be11efc5fa1ad7 Author: Marek Szuba gentoo org> AuthorDate: Mon Feb 27 10:24:38 2023 + Commit: Marek Szuba gentoo org> CommitDate: Mon Feb 27 12:45:00 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b59d dev-python/ansible-pygments: patch tests to support current Pygments Revision bump because of an RDEPEND change required to match the expected test output, straight to stable because https://bugs.gentoo.org/892061 Signed-off-by: Marek Szuba gentoo.org> ...1.1.ebuild => ansible-pygments-0.1.1-r1.ebuild} | 8 ++- ...ansible-pygments-0.1.1-tests_pygments2_14.patch | 75 ++ 2 files changed, 81 insertions(+), 2 deletions(-) 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 similarity index 73% rename from dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild rename to dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild index 0f4d366bc7b9..77088a1a54f2 100644 --- a/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild +++ b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild @@ -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 ..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(): + + TASK [paused] + Sunday 11 November 2018 20:16:48 +0100 (0:00:00.041) 0:07:59.637 *** + before +-+++ after +-@@ -1,5 +1,5 @@ +- { +-- exists: false, +-- paused: false, +-- running: false +-+ exists: true, +-+ paused: true, +-+ running: true +- } ++--- before + after ++@@ -1,5 +1,5 @@ ++ { ++- exists: false, ++- paused: false, ++- running: false +++ exists: true, +++ paused: true, +++ running: true ++ } + \ No newline at end of file + + changed: [localhost] + + TASK [volumes (more volumes)] + Sunday 11 November 2018 20:19:25 +0100 (0:00:00.607) 0:10:36.974 *** + before +-+++ after +-@@ -1,11 +1,11 @@ +- { +- expected_binds: [ +--/tmp:/tmp:rw, +--/:/whatever:rw,z +-+/tmp:/somewhereelse:ro,Z, +-+/tmp:/tmp:rw +- ], +- expected_volumes: { +--/tmp: {}, +--/whatever: {} +-+/somewhereelse: {}, +-+/tmp: {} +- }, +- running: true +- } ++--- before + after ++@@ -1,11 +1,11 @@ ++ { ++ expected_binds: [ ++-/tmp:/tmp:rw, ++-/:/whatever:rw,z +++/tmp:/somewhereelse:ro,Z, +++/tmp:/tmp:rw ++ ], ++ expected_volumes: { ++-/tmp: {}, ++-/whatever: {} +++/somewhereelse: {}, +++/tmp: {} ++ }, ++ running: true ++ } + \ No newline at end of file + + changed: [localhost]
[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/
commit: 5b3794f8f90515f2779691d9b8d716f9786b735d Author: Marek Szuba gentoo org> AuthorDate: Mon Feb 27 10:28:37 2023 + Commit: Marek Szuba gentoo org> CommitDate: Mon Feb 27 12:45:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3794f8 dev-python/ansible-pygments: enable py3.11 Closes: https://bugs.gentoo.org/896746 Signed-off-by: Marek Szuba gentoo.org> dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.ebuild index 77088a1a54f2..245c0808deda 100644 --- a/dev-python/ansible-pygments/ansible-pygments-0.1.1-r1.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
[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/
commit: 32d1edffce18e2d65f0b3447a1d8621b72606ea3 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Sep 27 07:05:22 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Sep 27 07:05:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32d1edff dev-python/ansible-pygments: Stabilize 0.1.1 amd64, #872965 Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild index 5883dcff29a8..ab220457c355 100644 --- a/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild +++ b/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="amd64 ~riscv" # 2.11.0+ needed in order for tests to pass RDEPEND=">=dev-python/pygments-2.11.0[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/
commit: 8ee598135e5cd0654c73a22c8cdd0a89e278295f Author: Marek Szuba gentoo org> AuthorDate: Sat Mar 26 21:49:09 2022 + Commit: Marek Szuba gentoo org> CommitDate: Sat Mar 26 22:31:15 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ee59813 dev-python/ansible-pygments: drop 0.1.0 Signed-off-by: Marek Szuba gentoo.org> dev-python/ansible-pygments/Manifest| 1 - .../ansible-pygments/ansible-pygments-0.1.0.ebuild | 21 - 2 files changed, 22 deletions(-) diff --git a/dev-python/ansible-pygments/Manifest b/dev-python/ansible-pygments/Manifest index c33191699c30..ac1516cb2b6c 100644 --- a/dev-python/ansible-pygments/Manifest +++ b/dev-python/ansible-pygments/Manifest @@ -1,2 +1 @@ -DIST ansible-pygments-0.1.0.tar.gz 8046 BLAKE2B a6b9873dc8494af77a8c71de45f23dbd14419f3abb98d577631d51be9fe48cc88f5bec2f77707fd376369e325538800a47ae014a13f85022f805466a2e590316 SHA512 370a28e984f1c19c78b3047c5506847d625ad46458067804fcc7cc850d01cb77f837fbc80071fc9ff0e9df31805e48477a3026ce28389de8de368d35bd9d9428 DIST ansible-pygments-0.1.1.tar.gz 8446 BLAKE2B ff631dd24c723035db7ab11a6c3fc0c90e8cebd72e6b0fa0d8b2c4bc4250ff5fb1e4180366e4ee084aab90bf24a8c3b2ecfad2c421b9f0cfdbf7675c94f0fcf7 SHA512 1ad2f4568d46d7fc617c6e674bcd9aea48e14307d91c476b51a04f778b452f18cb983d87d4872664d567b984193edee2af7964854fb2f3ae37ab4bce09c387d4 diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild deleted file mode 100644 index 4cb71a916654.. --- a/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -DISTUTILS_USE_SETUPTOOLS="pyproject.toml" - -inherit distutils-r1 - -DESCRIPTION="Pygments lexer and style Ansible snippets" -HOMEPAGE="https://github.com/ansible-community/ansible-pygments; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/
commit: 82e1fcf6443a8ca174fda422653ffcc2312636aa Author: Marek Szuba gentoo org> AuthorDate: Thu Jan 27 14:30:42 2022 + Commit: Marek Szuba gentoo org> CommitDate: Thu Jan 27 14:32:01 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e1fcf6 dev-python/ansible-pygments: add 0.1.1 So great to see upstream react to bug reports in such timely fashion! Closes: https://bugs.gentoo.org/832151 Signed-off-by: Marek Szuba gentoo.org> dev-python/ansible-pygments/Manifest | 1 + .../ansible-pygments/ansible-pygments-0.1.1.ebuild | 22 ++ 2 files changed, 23 insertions(+) diff --git a/dev-python/ansible-pygments/Manifest b/dev-python/ansible-pygments/Manifest index 70e2d302fa8b..c33191699c30 100644 --- a/dev-python/ansible-pygments/Manifest +++ b/dev-python/ansible-pygments/Manifest @@ -1 +1,2 @@ DIST ansible-pygments-0.1.0.tar.gz 8046 BLAKE2B a6b9873dc8494af77a8c71de45f23dbd14419f3abb98d577631d51be9fe48cc88f5bec2f77707fd376369e325538800a47ae014a13f85022f805466a2e590316 SHA512 370a28e984f1c19c78b3047c5506847d625ad46458067804fcc7cc850d01cb77f837fbc80071fc9ff0e9df31805e48477a3026ce28389de8de368d35bd9d9428 +DIST ansible-pygments-0.1.1.tar.gz 8446 BLAKE2B ff631dd24c723035db7ab11a6c3fc0c90e8cebd72e6b0fa0d8b2c4bc4250ff5fb1e4180366e4ee084aab90bf24a8c3b2ecfad2c421b9f0cfdbf7675c94f0fcf7 SHA512 1ad2f4568d46d7fc617c6e674bcd9aea48e14307d91c476b51a04f778b452f18cb983d87d4872664d567b984193edee2af7964854fb2f3ae37ab4bce09c387d4 diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild new file mode 100644 index ..5883dcff29a8 --- /dev/null +++ b/dev-python/ansible-pygments/ansible-pygments-0.1.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517="poetry" + +inherit distutils-r1 + +DESCRIPTION="Pygments lexer and style Ansible snippets" +HOMEPAGE="https://github.com/ansible-community/ansible-pygments; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +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}]" + +distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/
commit: a2d5850166df44b3407efda99f8d51a85a92f54e Author: Marek Szuba gentoo org> AuthorDate: Thu Jan 27 14:20:07 2022 + Commit: Marek Szuba gentoo org> CommitDate: Thu Jan 27 14:32:00 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2d58501 dev-python/ansible-pygments: add long description to metadata.xml Signed-off-by: Marek Szuba gentoo.org> dev-python/ansible-pygments/metadata.xml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/dev-python/ansible-pygments/metadata.xml b/dev-python/ansible-pygments/metadata.xml index c29d69545a24..966223c0e2ad 100644 --- a/dev-python/ansible-pygments/metadata.xml +++ b/dev-python/ansible-pygments/metadata.xml @@ -5,6 +5,13 @@ mare...@gentoo.org Marek Szuba + + This project provides a dev-python/pygments lexer that is able to handle + app-admin/ansible output. It may be used anywhere Pygments is integrated. + The lexer is registered globally under the name "ansible-output". + + It also provides a Pygments style for tools needing to highlight code snippets. + ansible-community/ansible-pygments
[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/
commit: 5a0549ff94659ccdcc0cde0a49180b766ce00652 Author: Marek Szuba gentoo org> AuthorDate: Fri Sep 10 09:42:29 2021 + Commit: Marek Szuba gentoo org> CommitDate: Fri Sep 10 10:21:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a0549ff dev-python/ansible-pygments: keyword 0.1.0 for ~riscv Signed-off-by: Marek Szuba gentoo.org> dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild index d1a3cf44213..4cb71a91665 100644 --- a/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild +++ b/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-pygments/
commit: 4807058aa8061af381abb00b5cadb7062432ad37 Author: Marek Szuba gentoo org> AuthorDate: Tue Aug 17 12:07:03 2021 + Commit: Marek Szuba gentoo org> CommitDate: Tue Aug 17 12:10:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4807058a dev-python/ansible-pygments: initial import Signed-off-by: Marek Szuba gentoo.org> dev-python/ansible-pygments/Manifest| 1 + .../ansible-pygments/ansible-pygments-0.1.0.ebuild | 21 + dev-python/ansible-pygments/metadata.xml| 13 + 3 files changed, 35 insertions(+) diff --git a/dev-python/ansible-pygments/Manifest b/dev-python/ansible-pygments/Manifest new file mode 100644 index 000..70e2d302fa8 --- /dev/null +++ b/dev-python/ansible-pygments/Manifest @@ -0,0 +1 @@ +DIST ansible-pygments-0.1.0.tar.gz 8046 BLAKE2B a6b9873dc8494af77a8c71de45f23dbd14419f3abb98d577631d51be9fe48cc88f5bec2f77707fd376369e325538800a47ae014a13f85022f805466a2e590316 SHA512 370a28e984f1c19c78b3047c5506847d625ad46458067804fcc7cc850d01cb77f837fbc80071fc9ff0e9df31805e48477a3026ce28389de8de368d35bd9d9428 diff --git a/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild b/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild new file mode 100644 index 000..d1a3cf44213 --- /dev/null +++ b/dev-python/ansible-pygments/ansible-pygments-0.1.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS="pyproject.toml" + +inherit distutils-r1 + +DESCRIPTION="Pygments lexer and style Ansible snippets" +HOMEPAGE="https://github.com/ansible-community/ansible-pygments; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/ansible-pygments/metadata.xml b/dev-python/ansible-pygments/metadata.xml new file mode 100644 index 000..a06620b5aa8 --- /dev/null +++ b/dev-python/ansible-pygments/metadata.xml @@ -0,0 +1,13 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + mare...@gentoo.org + Marek Szuba + + + + ansible-community/ansible-pygments + ansible-pygments + +