[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments-github-lexers/files/, dev-python/pygments-github-lexers/
commit: f615aa42e328f6046f98e9c7742ad4eb2302b5c1 Author: Patrick McLean gentoo org> AuthorDate: Wed Apr 24 15:32:50 2024 + Commit: Patrick McLean gentoo org> CommitDate: Wed Apr 24 16:36:35 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f615aa42 dev-python/pygments-github-lexers: Revbump, add py312 (bug #929490) Add patch to get rid of warnings about invalid escape sequences. Closes: https://bugs.gentoo.org/929490 Signed-off-by: Patrick McLean gentoo.org> ...ents-github-lexers-0.0.5-escape-sequences.patch | 22 ++ dev-python/pygments-github-lexers/metadata.xml | 2 +- ...uild => pygments-github-lexers-0.0.5-r2.ebuild} | 9 ++--- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/dev-python/pygments-github-lexers/files/pygments-github-lexers-0.0.5-escape-sequences.patch b/dev-python/pygments-github-lexers/files/pygments-github-lexers-0.0.5-escape-sequences.patch new file mode 100644 index ..65c90e857bb2 --- /dev/null +++ b/dev-python/pygments-github-lexers/files/pygments-github-lexers-0.0.5-escape-sequences.patch @@ -0,0 +1,22 @@ +diff --git a/pygments_github_lexers/github.py b/pygments_github_lexers/github.py +index d2fa4b2..36a5c94 100644 +--- a/pygments_github_lexers/github.py b/pygments_github_lexers/github.py +@@ -53,7 +53,7 @@ class Dasm16Lexer(RegexLexer): + + # Regexes yo + char = r'[a-zA-Z$._0-9@]' +-identifier = r'(?:[a-zA-Z$_]' + char + '*|\.' + char + '+)' ++identifier = r'(?:[a-zA-Z$_]' + char + r'*|\.' + char + '+)' + number = r'[+-]?(?:0[xX][a-zA-Z0-9]+|\d+)' + binary_number = r'0b[01_]+' + instruction = r'(?i)(' + '|'.join(INSTRUCTIONS) + ')' +@@ -379,7 +379,7 @@ class TOMLLexer(RegexLexer): + (r'#.*?$', Comment.Single), + (r'"(|\\"|[^"])*"', String), + (r'(true|false)$', Keyword.Constant), +-('[a-zA-Z_][a-zA-Z0-9_\-]*', Name), ++(r'[a-zA-Z_][a-zA-Z0-9_\-]*', Name), + + # Datetime + (r'\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z', Number.Integer), diff --git a/dev-python/pygments-github-lexers/metadata.xml b/dev-python/pygments-github-lexers/metadata.xml index ad287ae27558..90e6c7f88d46 100644 --- a/dev-python/pygments-github-lexers/metadata.xml +++ b/dev-python/pygments-github-lexers/metadata.xml @@ -6,7 +6,7 @@ Patrick McLean -pygments-github-lexers +pygments-github-lexers liluo/pygments-github-lexers diff --git a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r1.ebuild b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r2.ebuild similarity index 74% rename from dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r1.ebuild rename to dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r2.ebuild index c367787797d7..dba3d0327867 100644 --- a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r1.ebuild +++ b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 @@ -14,7 +14,6 @@ SRC_URI="https://github.com/liluo/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RDEPEND=" dev-python/pygments[${PYTHON_USEDEP}] @@ -23,4 +22,8 @@ BDEPEND=" ${RDEPEND} " +PATCHES=( + "${FILESDIR}/pygments-github-lexers-0.0.5-escape-sequences.patch" +) + # no tests
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments-github-lexers/
commit: b4ec12f2ac52e676191394073ce4c737af14a9bf Author: Michał Górny gentoo org> AuthorDate: Mon Jul 24 11:19:33 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 24 11:33:12 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ec12f2 dev-python/pygments-github-lexers: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pygments-github-lexers/Manifest | 1 - .../pygments-github-lexers-0.0.5.ebuild| 22 -- 2 files changed, 23 deletions(-) diff --git a/dev-python/pygments-github-lexers/Manifest b/dev-python/pygments-github-lexers/Manifest index a870796f81ea..93a451e8bf75 100644 --- a/dev-python/pygments-github-lexers/Manifest +++ b/dev-python/pygments-github-lexers/Manifest @@ -1,2 +1 @@ DIST pygments-github-lexers-0.0.5.gh.tar.gz 6337 BLAKE2B 21fb1a0627c9ebf42d86d6cceea3ebec4339ef29b1d881d8b3bd5f90060ec2ba76a69ae4bf9e92420a10950ae20c7ea7ff44d5fccf8add06be1f1353cd8b7800 SHA512 429a8a81eb0228c806b6fafe5e1c64be92e719170b1af666aa9c9c7923ff4058972a167193dd0ab1ace0395fa1f6621212f800b07dcce4e59970fd905e046d71 -DIST pygments-github-lexers-0.0.5.tar.gz 6337 BLAKE2B 21fb1a0627c9ebf42d86d6cceea3ebec4339ef29b1d881d8b3bd5f90060ec2ba76a69ae4bf9e92420a10950ae20c7ea7ff44d5fccf8add06be1f1353cd8b7800 SHA512 429a8a81eb0228c806b6fafe5e1c64be92e719170b1af666aa9c9c7923ff4058972a167193dd0ab1ace0395fa1f6621212f800b07dcce4e59970fd905e046d71 diff --git a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild deleted file mode 100644 index 73e033368786.. --- a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..10} pypy3 ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="Pygments Github custom lexers" -HOMEPAGE="https://github.com/liluo/pygments-github-lexers; -SRC_URI="https://github.com/liluo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND}" - -# no tests
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments-github-lexers/
commit: 08dd96389dc1cc113ae6ff86726211b04af69387 Author: Patrick McLean gentoo org> AuthorDate: Wed May 3 18:22:39 2023 + Commit: Patrick McLean gentoo org> CommitDate: Wed May 3 18:22:39 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08dd9638 dev-python/pygments-github-lexers: Revbump, eapi8, py311 Closes: https://bugs.gentoo.org/896830 Signed-off-by: Patrick McLean gentoo.org> dev-python/pygments-github-lexers/Manifest| 1 + 0.5.ebuild => pygments-github-lexers-0.0.5-r1.ebuild} | 15 ++- .../pygments-github-lexers-0.0.5.ebuild | 3 ++- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/dev-python/pygments-github-lexers/Manifest b/dev-python/pygments-github-lexers/Manifest index cf833a132202..a870796f81ea 100644 --- a/dev-python/pygments-github-lexers/Manifest +++ b/dev-python/pygments-github-lexers/Manifest @@ -1 +1,2 @@ +DIST pygments-github-lexers-0.0.5.gh.tar.gz 6337 BLAKE2B 21fb1a0627c9ebf42d86d6cceea3ebec4339ef29b1d881d8b3bd5f90060ec2ba76a69ae4bf9e92420a10950ae20c7ea7ff44d5fccf8add06be1f1353cd8b7800 SHA512 429a8a81eb0228c806b6fafe5e1c64be92e719170b1af666aa9c9c7923ff4058972a167193dd0ab1ace0395fa1f6621212f800b07dcce4e59970fd905e046d71 DIST pygments-github-lexers-0.0.5.tar.gz 6337 BLAKE2B 21fb1a0627c9ebf42d86d6cceea3ebec4339ef29b1d881d8b3bd5f90060ec2ba76a69ae4bf9e92420a10950ae20c7ea7ff44d5fccf8add06be1f1353cd8b7800 SHA512 429a8a81eb0228c806b6fafe5e1c64be92e719170b1af666aa9c9c7923ff4058972a167193dd0ab1ace0395fa1f6621212f800b07dcce4e59970fd905e046d71 diff --git a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r1.ebuild similarity index 68% copy from dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild copy to dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r1.ebuild index d1aa2990ca2a..c367787797d7 100644 --- a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild +++ b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5-r1.ebuild @@ -1,21 +1,26 @@ # Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{9..10} pypy3 ) +PYTHON_COMPAT=( python3_{9..11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="Pygments Github custom lexers" HOMEPAGE="https://github.com/liluo/pygments-github-lexers; -SRC_URI="https://github.com/liluo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/liluo/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND}" +RDEPEND=" + dev-python/pygments[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" # no tests diff --git a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild index d1aa2990ca2a..73e033368786 100644 --- a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild +++ b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild @@ -1,9 +1,10 @@ # Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{9..10} pypy3 ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="Pygments Github custom lexers"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments-github-lexers/
commit: efdbf9db6b5f737f4867c31dd56335c6a3dc2042 Author: Patrick McLean gentoo org> AuthorDate: Mon May 24 19:44:58 2021 + Commit: Patrick McLean gentoo org> CommitDate: Mon May 24 19:45:18 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efdbf9db dev-python/pygments-github-lexers: Add py3{9,10} Signed-off-by: Patrick McLean gentoo.org> dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild index 1bdbafc3b73..d62e0bc47d3 100644 --- a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild +++ b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild @@ -1,9 +1,9 @@ -# Copyright 2019-2020 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} pypy3 ) +PYTHON_COMPAT=( python3_{7..10} pypy3 ) inherit distutils-r1 DESCRIPTION="Pygments Github custom lexers"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygments-github-lexers/
commit: 318387de1bbe3b38ce98fcf1bfc19d03b5a520aa Author: Patrick McLean gentoo org> AuthorDate: Sat Dec 7 21:43:28 2019 + Commit: Patrick McLean gentoo org> CommitDate: Sat Dec 7 21:55:29 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=318387de dev-python/pygments-github-lexers: New package Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Patrick McLean gentoo.org> dev-python/pygments-github-lexers/Manifest | 1 + dev-python/pygments-github-lexers/metadata.xml | 12 .../pygments-github-lexers-0.0.5.ebuild | 21 + 3 files changed, 34 insertions(+) diff --git a/dev-python/pygments-github-lexers/Manifest b/dev-python/pygments-github-lexers/Manifest new file mode 100644 index 000..cf833a13220 --- /dev/null +++ b/dev-python/pygments-github-lexers/Manifest @@ -0,0 +1 @@ +DIST pygments-github-lexers-0.0.5.tar.gz 6337 BLAKE2B 21fb1a0627c9ebf42d86d6cceea3ebec4339ef29b1d881d8b3bd5f90060ec2ba76a69ae4bf9e92420a10950ae20c7ea7ff44d5fccf8add06be1f1353cd8b7800 SHA512 429a8a81eb0228c806b6fafe5e1c64be92e719170b1af666aa9c9c7923ff4058972a167193dd0ab1ace0395fa1f6621212f800b07dcce4e59970fd905e046d71 diff --git a/dev-python/pygments-github-lexers/metadata.xml b/dev-python/pygments-github-lexers/metadata.xml new file mode 100644 index 000..a3d3849c687 --- /dev/null +++ b/dev-python/pygments-github-lexers/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +chutz...@gentoo.org +Patrick McLean + + +pygments-github-lexers +liluo/pygments-github-lexers + + diff --git a/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild new file mode 100644 index 000..33275a6e114 --- /dev/null +++ b/dev-python/pygments-github-lexers/pygments-github-lexers-0.0.5.ebuild @@ -0,0 +1,21 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) +inherit distutils-r1 + +DESCRIPTION="Pygments Github custom lexers" +HOMEPAGE="https://github.com/liluo/pygments-github-lexers; +SRC_URI="https://github.com/liluo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND}" + +# no tests