SHA256
1
0
forked from pool/ghc-citeproc

14 Commits

Author SHA256 Message Date
21e7ead830 Accepting request 1279240 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1279240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-citeproc?expand=0&rev=26
2025-05-22 14:57:07 +00:00
1937a10955 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-citeproc revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=54
2025-05-22 10:59:00 +00:00
b6d50a79d4 Accepting request 1246285 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1246285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-citeproc?expand=0&rev=25
2025-02-17 19:54:28 +00:00
610bcd5e8d osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-citeproc revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=52
2025-02-10 22:00:52 +00:00
997909a008 Accepting request 1238208 from devel:languages:haskell
OBS-URL: https://build.opensuse.org/request/show/1238208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-citeproc?expand=0&rev=24
2025-01-16 17:31:27 +00:00
cb46f855cb version update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=50
2025-01-16 10:17:25 +00:00
b9454c3ef8 Accepting request 1231427 from devel:languages:haskell
version update for ghc-9.10.1

OBS-URL: https://build.opensuse.org/request/show/1231427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-citeproc?expand=0&rev=23
2024-12-20 22:10:24 +00:00
OBS User buildservice-autocommit
bca5ea1a65 baserev update by copy to link target
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=49
2024-12-20 22:10:24 +00:00
OBS User buildservice-autocommit
56b5918143 Updating link to change in openSUSE:Factory/ghc-citeproc revision 23
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=1be23d1724508c3f86f119133e03fd29
2024-12-20 22:10:24 +00:00
923b05e672 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-citeproc revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=48
2024-12-17 22:00:58 +00:00
c6a43ed887 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-citeproc revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=47
2024-12-16 09:30:51 +00:00
c1d1d0e2f1 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-citeproc revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=46
2024-12-10 11:25:52 +00:00
2b810d1147 Accepting request 1218540 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1218540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-citeproc?expand=0&rev=22
2024-10-28 14:18:10 +00:00
b9c19a6478 osc copypac from project:devel:languages:haskell:ghc-9.8.x package:ghc-citeproc revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-citeproc?expand=0&rev=44
2024-10-26 13:48:27 +00:00
4 changed files with 78 additions and 5 deletions

View File

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

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

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

View File

@@ -1,3 +1,70 @@
-------------------------------------------------------------------
Mon May 12 23:06:21 UTC 2025 - Peter Simons <psimons@suse.com>
- Update citeproc to version 0.9.0.1.
## 0.9.0.1
* Fix `readAsInt` so it handles negative numbers in strings.
`readAsInt` attempts to read strings as integers, but previously
it didn't properly handle strings like `"-387"`, which are
sometimes used in bibliographies. See jgm/pandoc#10839.
## 0.9
* Fix handling of `type` conditions in `if` (#151).
In an `if` element with `type="article-journal chapter"`, citeproc
previously treated this as two separate conditions
(type=article-journal, type=chapter). But it seems that the
intended behavior is to treat it as a single condition that
succeeds if any of the listed types match. The difference between
current and intended behavior comes out when `match="all"` is used;
this will always fail when `type` contains more than one type.
To fix this, we change the `HasType` constructor on `Condition`
so that it takes a list of Texts rather than single one [API change],
and we populate it with the result of splitting the argument
of `type`. In Eval, we change the clause for the HasType condition
so that it succeeds if any of the types in the list match.
* Add `--link-citations` and `--link-bibliography` options to binary
(#142, Daphne Preston-Kendal).
* Bump containers upper bound.
-------------------------------------------------------------------
Sun Feb 9 08:05:28 UTC 2025 - Peter Simons <psimons@suse.com>
- Update citeproc to version 0.8.1.3.
## 0.8.1.3
* Don't add SubstitutedVal to variables that were empty (#148).
This fixes a bug which caused `variable=` tests to succeed
in some cases where they should have failed.
-------------------------------------------------------------------
Wed Dec 20 16:59:45 UTC 2024 - Peter Simons <psimons@suse.com>
- Update citeproc to version 0.8.1.2.
## 0.8.1.2
* Allow containers 0.7 (#143)
* Update tests to use Diff >= 1.0 (#146).
* Fix `dropTextWhile` and `dropTextWhileEnd` in Citeproc.Pandoc.
Ensure that they treat SoftBreak like Space (jgm/pandoc#10451).
-------------------------------------------------------------------
Mon Dec 16 07:54:13 UTC 2024 - Peter Simons <psimons@suse.com>
- Enable building of the citeproc executable.
-------------------------------------------------------------------
Tue Oct 15 06:38:18 UTC 2024 - Peter Simons <psimons@suse.com>
- Update citeproc to version 0.8.1.1 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Mon Jun 24 18:28:18 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-citeproc
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.8.1.1
Version: 0.9.0.1
Release: 0
Summary: Generates citations and bibliography from CSL styles
License: BSD-2-Clause
@@ -28,6 +28,8 @@ URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-aeson-pretty-devel
BuildRequires: ghc-aeson-pretty-prof
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-attoparsec-prof
@@ -53,6 +55,8 @@ BuildRequires: ghc-safe-prof
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-scientific-prof
BuildRequires: ghc-text-devel
BuildRequires: ghc-text-icu-devel
BuildRequires: ghc-text-icu-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-prof
@@ -113,6 +117,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%autosetup -n %{pkg_name}-%{version}
%build
%define cabal_configure_options -f+executable
%ghc_lib_build
%install
@@ -129,6 +134,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%files -f %{name}.files
%license LICENSE
%{_bindir}/citeproc
%files devel -f %{name}-devel.files
%doc CHANGELOG.md README.md