~dricottone/huttese-apk

11c9b9fd0a1cb96deb2a1983bdca2de7ea5d480d — Sebastian 2 years ago b53db3a
py3-pygments: update Hare string grammar

Signed-off-by: Sebastian <sebastian@sebsite.pw>
2 files changed, 5 insertions(+), 5 deletions(-)

M sr.ht/py3-pygments/0001-lexers-add-Hare.patch
M sr.ht/py3-pygments/APKBUILD
M sr.ht/py3-pygments/0001-lexers-add-Hare.patch => sr.ht/py3-pygments/0001-lexers-add-Hare.patch +3 -3
@@ 59,9 59,9 @@ index 00000000..f501d670
+            (r'//.*?$', Comment.Single),
+        ],
+        'statements': [
+            (r'(L?)(")', bygroups(String.Affix, String), 'string'),
+            (r"(L?)(')(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])(')",
+             bygroups(String.Affix, String.Char, String.Char, String.Char)),
+            (r'"', String, 'string'),
+            (r'`[^`]*`', String),
+            (r"'(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'", String.Char),
+            (r'(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[LlUu]*', Number.Float),
+            (r'(\d+\.\d*|\.\d+|\d+[fF])[fF]?', Number.Float),
+            (r'0x[0-9a-fA-F]+[LlUu]*', Number.Hex),

M sr.ht/py3-pygments/APKBUILD => sr.ht/py3-pygments/APKBUILD +2 -2
@@ 3,7 3,7 @@
pkgname=py3-pygments
_pkgname=Pygments
pkgver=2.11.2
pkgrel=0
pkgrel=1
pkgdesc="Syntax highlighting package written in Python"
url="https://pygments.org/"
arch="noarch"


@@ 60,5 60,5 @@ doc() {

sha512sums="
606ff0c35fa47882f4c5c3794827132e1ee6ccbb4895ae858f9c93ea0c92b73163c9f4d630b51a8bb782ba0b4944a66d1059ad5d017d3191a0a5b30c1e5b8f9f  Pygments-2.11.2.tar.gz
d5b38a4febb44e4f79ac4372614e1d8a4a9cbc3c0464db264636d40ae5582250ab9d3f91d31aeb71542c01f0436d5acf7f2318f3877cbecd4aeb2a473bf5c094  0001-lexers-add-Hare.patch
a21662217e3e1e10e4394fb368b7e8d48deb2d17efc63428d757eb330a3299aafc4c06328e9be2921639741c5d85fedd53fbdcdd82f950cd88c69e57220355ee  0001-lexers-add-Hare.patch
"