Accepting request 917348 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/917348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-citeproc?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2021-09-10 21:40:55 +00:00 committed by Git OBS Bridge
commit 4b513703d4
4 changed files with 60 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe7760863c53553154b55babe85d49acba68b5c4b87cf7b311fe470ca7139d24
size 574411

3
citeproc-0.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d37944d39bb92e9f61b4dddb52e7aa12bb171c0f96b62a3a7bf5c12bd47d8792
size 579769

View File

@ -1,3 +1,59 @@
-------------------------------------------------------------------
Sat Aug 21 16:27:59 UTC 2021 - psimons@suse.com
- Update citeproc to version 0.5.
## 0.5
* Add `linkBibliography` field to `CiteprocOptions` [API change].
When this is set to True, we hyperlink bibliography entries according
to the draft of the CSL v1.02 spec (Appendix VI). When an entry has
a DOI, PMCID, PMID, or URL available but none of these are rendered
by the style, add a link to the title (or, if no title is present,
the whole entry), using the URL for the DOI, PMCID, PMID, or URL
(in that order of priority). (Benjamin Bray, #88.)
* In generating citation labels, only use `issued` date.
Not, for example, `accessed` (#80).
* Citeproc.Locale: export `lookupQuotes`. [API change]
* Citeproc.Types: Add `localizeQuotes` method to CiteprocOutput class
[API change].
* Citeproc.CslJson, Citeproc.Pandoc: Implement `localizeQuotes`.
* Citeproc: apply `localizeQuotes` after rendering. This ensures
that quotes are properly localized and flipflopped. Previously this
was done in `renderCslJson` (for CSL JSON) and in pandoc
(for Pandoc Inlines). It is more consistent to do this as part
of the rendering pipeline, in citeproc itself.
* Citeproc.CslJson: Drop the Locale parameter from the signature of
`renderCslJson` [breaking API change]. It was only needed for quote
localization, which now occurs outside of this function.
* Citeproc.Pandoc: use a Span with class csl-quoted for quotes,
rather than a Quoted inline. This way we can leave Quoted elements
passed in by pandoc alone, and we won't get strange effects like the
one described in #87 (where `"` behaves differently when in
a citation suffix).
* Default to Shifted with `icu` flag (#83). This makes the library
behave similarly whether compiled with `icu` or with the default
`unicode-collation` and prevents test failures with `icu`.
* Require recent text-icu with icu flag.
Older versions don't build with newer versions of icu4c.
* Support links in CslJson (Benjamin Bray). Currently they are
only supported in rendering, not parsing (in support of #88).
* Allow test cases to specify CiteprocOptions (Benjamin Bray).
* Update locales from upstream.
* Add new CSL tests to repository.
-------------------------------------------------------------------
Mon Jul 19 07:06:10 UTC 2021 - psimons@suse.com

View File

@ -19,7 +19,7 @@
%global pkg_name citeproc
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.4.1
Version: 0.5
Release: 0
Summary: Generates citations and bibliography from CSL styles
License: BSD-2-Clause