From 60f231f43b2efb873a93f2f1e31ff31a04e340b4ae8241e3a2b72063a5678f74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 21:46:02 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-pandocfilters revision a07b14538589282b2617329b70b050d3 --- .gitattributes | 23 ++++++++++++++ pandocfilters-1.5.0.tar.gz | 3 ++ python-pandocfilters.changes | 57 ++++++++++++++++++++++++++++++++++ python-pandocfilters.spec | 59 ++++++++++++++++++++++++++++++++++++ 4 files changed, 142 insertions(+) create mode 100644 .gitattributes create mode 100644 pandocfilters-1.5.0.tar.gz create mode 100644 python-pandocfilters.changes create mode 100644 python-pandocfilters.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/pandocfilters-1.5.0.tar.gz b/pandocfilters-1.5.0.tar.gz new file mode 100644 index 0000000..56d1420 --- /dev/null +++ b/pandocfilters-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38 +size 8405 diff --git a/python-pandocfilters.changes b/python-pandocfilters.changes new file mode 100644 index 0000000..940a2b7 --- /dev/null +++ b/python-pandocfilters.changes @@ -0,0 +1,57 @@ +------------------------------------------------------------------- +Sun Jul 17 08:08:03 UTC 2022 - Dirk Müller + +- update to 1.5.0: + * Added an environment variable `PANDOCFILTER_CLEANUP` that when + `get_filename4code` is used, temporary directory will be cleaned up + automatically. + * `examples/` is no longer included in the distribution (i.e. source + distribution or binary wheels found on PyPI.) This should be a backward + incompatible change as `examples/` is never exposed as a Python module, nor + entry points. + * Added a couple of examples. + +------------------------------------------------------------------- +Mon Oct 25 19:55:22 UTC 2021 - Matej Cepl + +- Making rpmlint more happy. + +------------------------------------------------------------------- +Mon Oct 25 14:02:31 UTC 2021 - Dominique Leuenberger + +- Mark exampls/*.py non-executable. + +------------------------------------------------------------------- +Thu Mar 4 21:06:04 UTC 2021 - Dirk Müller + +- update to 1.4.3: + * LilyPond: take in account width and staffsize from metadata + * Autodetect gregorio executables + * Fix metavars example + * Documentation fixes + +------------------------------------------------------------------- +Tue Dec 4 12:51:06 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Fri May 11 19:57:34 UTC 2018 - toddrme2178@gmail.com + +- pandoc is not strictly necessart to use this. + +------------------------------------------------------------------- +Sat Nov 4 02:08:16 UTC 2017 - arun@gmx.de + +- update to version 1.4.2: + * Fixed minor RST error in README. + * Fixed typo. + * Change element constructor function elt() to return a list instead + of a tuple when numargs > 1, enabling elements to be traversed by + walk(). + * Fix indentation of a doc-string + +------------------------------------------------------------------- +Fri Mar 31 03:40:09 UTC 2017 - toddrme2178@gmail.com + +- Initial version diff --git a/python-pandocfilters.spec b/python-pandocfilters.spec new file mode 100644 index 0000000..302e3b1 --- /dev/null +++ b/python-pandocfilters.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-pandocfilters +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-pandocfilters +Version: 1.5.0 +Release: 0 +Summary: Python module for writing pandoc filters +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://github.com/jgm/pandocfilters +Source: https://pypi.io/packages/source/p/pandocfilters/pandocfilters-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Recommends: pandoc >= 1.16 +BuildArch: noarch + +%python_subpackages + +%description +Pandoc filters are pipes that read a JSON serialization of the +Pandoc AST from stdin, transform it in some way, and write it +to stdout. They can be used with pandoc (>= 1.12) either using +pipes. +pandoc -t json -s | ./caps.py | pandoc -f json +or using the --filter (or -F) command-line option. + +%prep +%setup -q -n pandocfilters-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog