1
0

Accepting request 989683 from devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/989683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pandocfilters?expand=0&rev=7
This commit is contained in:
Richard Brown 2022-07-19 15:19:04 +00:00 committed by Git OBS Bridge
commit d29cdee291
4 changed files with 19 additions and 12 deletions

View File

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

BIN
pandocfilters-1.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Jul 17 08:08:03 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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 <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pandocfilters
#
# Copyright (c) 2021 SUSE LLC
# 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
@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pandocfilters
Version: 1.4.3
Version: 1.5.0
Release: 0
Summary: Python module for writing pandoc filters
License: BSD-3-Clause
Group: Development/Languages/Python
URL: http://github.com/jgm/pandocfilters
URL: https://github.com/jgm/pandocfilters
Source: https://pypi.io/packages/source/p/pandocfilters/pandocfilters-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@ -43,10 +43,6 @@ or using the --filter (or -F) command-line option.
%prep
%setup -q -n pandocfilters-%{version}
# Fix usr/bin/env call in example
sed -i 's/^#\!\/.*//g' examples/*.py
# Fix: spurious-executable-perm (Badness: 50)
chmod a-x examples/*.py
%build
%python_build
@ -56,9 +52,7 @@ chmod a-x examples/*.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%doc examples/
%license LICENSE
%{python_sitelib}/*