From 048de890381b63012934ecc02abdd9e8854d59648ce1312fe7a5d99e2ef417f7 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Wed, 18 Jan 2023 12:10:35 +0000 Subject: [PATCH] Updating link to change in openSUSE:Factory/ghc-skylighting-core revision 31 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-skylighting-core?expand=0&rev=5fc8f3bd88f7f337d7b9bf300092f132 --- ghc-skylighting-core.changes | 53 +++++++++ ghc-skylighting-core.spec | 4 +- skylighting-core-0.13.2.tar.gz | 3 + skylighting-core-0.13.tar.gz | 3 - skylighting-core.cabal | 208 --------------------------------- 5 files changed, 57 insertions(+), 214 deletions(-) create mode 100644 skylighting-core-0.13.2.tar.gz delete mode 100644 skylighting-core-0.13.tar.gz delete mode 100644 skylighting-core.cabal diff --git a/ghc-skylighting-core.changes b/ghc-skylighting-core.changes index 6b99b07..0b19e2c 100644 --- a/ghc-skylighting-core.changes +++ b/ghc-skylighting-core.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Sun Dec 18 02:14:29 UTC 2022 - Peter Simons + +- Update skylighting-core to version 0.13.2. + ## 0.13.2 + + * Support ConTeXt output via skylighting-format-context (Albert Krewinkel). + + * Update syntax definitions for markdown, nim, javascript. + + ## 0.13.1.2 + + * Update syntax definitions for c, cmake, commonmlisp, css, go, ini, isocpp, + javascript, json, powershell, python, rust, sass, scss, toml, xml. + + * Associate regex captures with a context. This is necessary for proper + implementation of the KDE syntax highlighting algorithm. Captures are + only available within the context to which the match creating the + capture switches. (Closes #160.) + +------------------------------------------------------------------- +Fri Oct 28 22:57:29 UTC 2022 - Peter Simons + +- Update skylighting-core to version 0.13.1.1. + ## 0.13.1.1 + + * Add dart, purescript syntax definitions. + + * Update syntax definitions for isocpp, latex, alert, bash, + cmake, nix, sql-postgresql, vhdl, zsh. + + * Remove obsoleote patch for lua.xml. + + * Add patches for latex.xml and isocpp.xml. + + ## 0.13.1 + + * `getCapture`: fail instead of throwing error if dynamic match not found. + I believe this is the intended behavior for StringDetect, judging + from examples in the KDE documentation. + + * Update xml syntax definitions: + asn1, bash, c, cmake, cpp, cs, d, elixir, fortran-fixed, gcc, glsl, + go, html, java, javascript, lex, lua, markdown, mediawiki, noweb, + ocaml, orgmode, php, powershell, prolog, python, r, ruby, rust, + scheme, sql-postgresql, typescript, vhdl, xml, yacc, yaml, zsh + + * Replace a lambda with pointfree notation (shaving off some RAM usage) + (0xd34df00d). + + * Use `newtype` for `TokenizerM`, giving about 5-10% boost on benchmark + (0xd34df00d). + ------------------------------------------------------------------- Sat Aug 13 17:58:22 UTC 2022 - Peter Simons diff --git a/ghc-skylighting-core.spec b/ghc-skylighting-core.spec index 3f5bdbe..91115f3 100644 --- a/ghc-skylighting-core.spec +++ b/ghc-skylighting-core.spec @@ -19,13 +19,12 @@ %global pkg_name skylighting-core %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.13 +Version: 0.13.2 Release: 0 Summary: Syntax highlighting library License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-attoparsec-devel @@ -77,7 +76,6 @@ files. %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/skylighting-core-0.13.2.tar.gz b/skylighting-core-0.13.2.tar.gz new file mode 100644 index 0000000..160682e --- /dev/null +++ b/skylighting-core-0.13.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05156ea0633bf037480a8e21d54af8390c1b227893d0bcb7cd880e69fd739f47 +size 806784 diff --git a/skylighting-core-0.13.tar.gz b/skylighting-core-0.13.tar.gz deleted file mode 100644 index e404188..0000000 --- a/skylighting-core-0.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7688fd91973e03259c1c7c7f5000c3a47bbcdba6f43947aae9a12e09bd84606 -size 768478 diff --git a/skylighting-core.cabal b/skylighting-core.cabal deleted file mode 100644 index cfeb965..0000000 --- a/skylighting-core.cabal +++ /dev/null @@ -1,208 +0,0 @@ -name: skylighting-core -version: 0.13 -x-revision: 1 -synopsis: syntax highlighting library -description: Skylighting is a syntax highlighting library. - It derives its tokenizers from XML syntax - definitions used by KDE's KSyntaxHighlighting - framework, so any syntax supported by that - framework can be added. An optional command-line - program is provided. - - Skylighting is intended to be the successor to - highlighting-kate. - - This package provides the core highlighting - functionality under a permissive license. It also - bundles XML parser definitions licensed under the - GPL. - -homepage: https://github.com/jgm/skylighting -license: BSD3 -license-file: LICENSE -author: John MacFarlane -maintainer: jgm@berkeley.edu -copyright: (C) 2016-2018 John MacFarlane -category: Text -build-type: Simple -extra-source-files: README.md - changelog.md - xml/*.xml - xml/*.xml.patch - test/default.theme - test/cases/abc.ada - test/cases/abc.agda - test/cases/abc.c - test/cases/abc.clojure - test/cases/abc.cpp - test/cases/abc.cs - test/cases/abc.d - test/cases/abc.fortran - test/cases/abc.go - test/cases/abc.haskell - test/cases/abc.java - test/cases/abc.javascript - test/cases/abc.julia - test/cases/abc.kotlin - test/cases/abc.lisp - test/cases/abc.matlab - test/cases/abc.ocaml - test/cases/abc.perl - test/cases/abc.php - test/cases/abc.prolog - test/cases/abc.python - test/cases/abc.r - test/cases/abc.ruby - test/cases/abc.scala - test/cases/abc.scheme - test/cases/abc.tcl - test/cases/archive.rhtml - test/cases/life.lua - test/cases/hk91.html - test/cases/if.cmake - test/cases/docbook.xml - test/cases/issue41.djangotemplate - test/expected/abc.ada.native - test/expected/abc.agda.native - test/expected/abc.c.native - test/expected/abc.clojure.native - test/expected/abc.cpp.native - test/expected/abc.cs.native - test/expected/abc.d.native - test/expected/abc.fortran.native - test/expected/abc.go.native - test/expected/abc.haskell.native - test/expected/abc.java.native - test/expected/abc.javascript.native - test/expected/abc.julia.native - test/expected/abc.kotlin.native - test/expected/abc.lisp.native - test/expected/abc.matlab.native - test/expected/abc.ocaml.native - test/expected/abc.perl.native - test/expected/abc.php.native - test/expected/abc.prolog.native - test/expected/abc.python.native - test/expected/abc.r.native - test/expected/abc.ruby.native - test/expected/abc.scala.native - test/expected/abc.scheme.native - test/expected/abc.tcl.native - test/expected/archive.rhtml.native - test/expected/life.lua.native - test/expected/hk91.html.native - test/expected/if.cmake.native - test/expected/issue41.djangotemplate.native - test/expected/docbook.xml.native - -cabal-version: >=1.10 - -source-repository head - type: git - location: https://github.com/jgm/skylighting.git - -library - exposed-modules: Skylighting.Core - Skylighting.Types - Skylighting.Regex - Skylighting.Parser - Skylighting.Styles - Skylighting.Loader - Skylighting.Tokenizer - other-modules: Regex.KDE - Regex.KDE.Regex - Regex.KDE.Compile - Regex.KDE.Match - other-extensions: CPP - build-depends: base >= 4.8 && < 5.0, - mtl, - transformers, - text, - binary, - bytestring, - directory >= 1.2.5, - filepath, - aeson >= 1.0, - case-insensitive, - attoparsec, - utf8-string, - xml-conduit >= 1.9.1.0 && < 1.10, - safe, - base64-bytestring, - colour >= 2.0, - containers >= 0.6.0.1 - hs-source-dirs: src - ghc-prof-options: -fprof-auto-exported - default-language: Haskell2010 - ghc-options: -Wall - if impl(ghc >= 8.4) - ghc-options: -fhide-source-paths - if impl(ghc >= 8.10) - ghc-options: -Wunused-packages - -Flag executable - Description: Build skylighting-extract tool - Default: False - -test-suite test-skylighting - type: exitcode-stdio-1.0 - main-is: test-skylighting.hs - hs-source-dirs: test - build-depends: base >= 4.8 && < 5.0, - tasty, - tasty-golden, - tasty-hunit, - tasty-quickcheck, - QuickCheck, - containers, - Diff, - text, - pretty-show, - aeson >= 1.0, - bytestring, - directory, - filepath, - skylighting-core - default-language: Haskell2010 - ghc-options: -Wall - if impl(ghc >= 8.10) - ghc-options: -Wunused-packages - -benchmark benchmark-skylighting - Type: exitcode-stdio-1.0 - Main-Is: benchmark.hs - Hs-Source-Dirs: benchmark - Build-Depends: skylighting-core, - base >= 4.8 && < 5, - filepath, - text, - containers, - criterion >= 1.0 - Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind - if impl(ghc >= 8.4) - ghc-options: -fhide-source-paths - if impl(ghc >= 8.10) - ghc-options: -Wunused-packages - Default-Language: Haskell2010 - -executable skylighting-extract - build-depends: base >= 4.8 && < 5.0, - skylighting-core, - filepath, - text, - binary, - containers, - directory - if flag(executable) - buildable: True - else - buildable: False - hs-source-dirs: bin - main-is: extract.hs - default-language: Haskell2010 - other-extensions: CPP - ghc-options: -Wall - if impl(ghc >= 8.10) - ghc-options: -Wunused-packages - if impl(ghc >= 8.4) - ghc-options: -fhide-source-paths