15
0

18 Commits

Author SHA256 Message Date
f734a4e3de Accepting request 1160439 from devel:languages:python
- update to 2.3.1:
  * Document that pandoc 3.1.* is supported
  * Document older pandoc 2.19 support
  * Make MetaMap/List completely pythonic
  * Figure, Table: fix to_json() crash if caption is None

- Update to version 2.2.3

OBS-URL: https://build.opensuse.org/request/show/1160439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panflute?expand=0&rev=9
2024-03-22 14:20:26 +00:00
72c5d1cbbc - update to 2.3.1:
* Document that pandoc 3.1.* is supported
  * Document older pandoc 2.19 support
  * Make MetaMap/List completely pythonic
  * Figure, Table: fix to_json() crash if caption is None
- Update to version 2.2.3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-panflute?expand=0&rev=17
2024-03-21 17:17:54 +00:00
590d666ec2 Accepting request 1108349 from devel:languages:python
- Stop using greedy globs in %files.
- Switch to pyproject macros.
- Drop unneeded {Build,}Requires on future.

OBS-URL: https://build.opensuse.org/request/show/1108349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panflute?expand=0&rev=8
2023-09-01 12:19:40 +00:00
bde5a7f2f5 - Stop using greedy globs in %files.
- Switch to pyproject macros.
- Drop unneeded {Build,}Requires on future.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-panflute?expand=0&rev=15
2023-09-01 00:27:55 +00:00
50216530a8 Accepting request 1090387 from devel:languages:python
- update to 2.3.0:
  * Update Pandoc API from 1.22 to 1.23 (Pandoc 3.0):
  * Add `Figure` block object
  * Remove `Null` block object (scheduled for removed)

OBS-URL: https://build.opensuse.org/request/show/1090387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panflute?expand=0&rev=7
2023-06-02 22:07:24 +00:00
19767cbd74 - update to 2.3.0:
* Update Pandoc API from 1.22 to 1.23 (Pandoc 3.0):
  * Add `Figure` block object
  * Remove `Null` block object (scheduled for removed)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-panflute?expand=0&rev=13
2023-06-01 20:17:12 +00:00
ef2de71990 Accepting request 1008153 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1008153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panflute?expand=0&rev=6
2022-10-06 05:42:06 +00:00
83e117cb10 Accepting request 1008030 from home:yarunachalam:branches:devel:languages:python
- Update to version 2.2.3 
  * Added equality operator to element objects (Doc, Block, Inline, Str, etc.)
    Misc. bugfixes
- Update to version 2.2.1
  * Minor improvement to stringify()
  * Bugfixes detected by flake8
- Update to version 2.2.0
  * The run_filters() function, as well as .walk() method now support as optional argument a stop_if function.
    If this argument is used and not none, then .walk() will not walk through an element's children if stop_if(element) is True.
  This has two uses:
  We can speed up filters by avoiding going too deep into the document's tree. For instance:
  def stop_if(elem):
    return isinstance(elem, pf.Inline)
  Will stop walking the tree once it reaches an inline element
  * Some filters become easier to write, because we can just act on a main element such as Table and then by hand call .walk() to each table component
    This also simplifies possible stringify() improvements, as discussed in #218 and illustrated in c8b4365 for DefinitionList elements
    Other minor changes:
    Simplified element.walk() code and added .walk() methods to ListContainer and DictContainer
    Minor code cleanup to reduce pycodestyle warnings
- Update to version 2.1.3
  * Update documentation and dependencies:
  Add support and test against Python 3.10 and Pandoc 2.16
  * Improve test matrix suite
  Test and document lists of elements as return values of filters (the items on the list will be inserted at the same level as the item being replaced)
- Update to version 2.1.1
  * Same as 2.1.0 but fixed a dependency (wheels) required to publish to pypi
- Update to version 2.1.0
  * autofilter.py: add pandoc 2.12+ support to get_filter_dirs
  * add pandoc_path argument to run_pandoc(): run_pandoc(text='', args=None, pandoc_path=which('pandoc')
  * fix a few docstrings

OBS-URL: https://build.opensuse.org/request/show/1008030
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-panflute?expand=0&rev=11
2022-10-05 09:41:46 +00:00
905c141783 Accepting request 807644 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/807644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panflute?expand=0&rev=5
2020-05-26 15:16:29 +00:00
Tomáš Chvátal
387d1e6b18 Accepting request 807592 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/807592
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-panflute?expand=0&rev=9
2020-05-20 11:27:48 +00:00
15f9ab62a2 Accepting request 795801 from devel:languages:python
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/795801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panflute?expand=0&rev=4
2020-04-21 11:10:26 +00:00
Tomáš Chvátal
071f5edb0f - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-panflute?expand=0&rev=7
2020-04-20 11:31:24 +00:00
322c43e239 Accepting request 784293 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/784293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panflute?expand=0&rev=3
2020-03-12 22:07:51 +00:00
Tomáš Chvátal
79b48214d8 Accepting request 784291 from home:mcalabkova:branches:devel:languages:python
- Update to version 1.12.5
  * tweak error messages of panflute.dump
  * allow slice assignment to element items (via ListContainer)
  * Tables should now work well without a header or without a body.
  * stringify() now adds quotes around the contents of a Quoted() element.

OBS-URL: https://build.opensuse.org/request/show/784291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-panflute?expand=0&rev=5
2020-03-12 11:41:09 +00:00
1e7f9afd04 Accepting request 749650 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/749650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panflute?expand=0&rev=2
2019-11-20 09:27:47 +00:00
Todd R
7b55f14d3f Accepting request 749649 from home:TheBlackCat:branches:devel:languages:python
shutilwhich isn't needed for python3 and prevents other python  packages using this one.

OBS-URL: https://build.opensuse.org/request/show/749649
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-panflute?expand=0&rev=3
2019-11-19 15:11:14 +00:00
0b696b31a1 Accepting request 700462 from devel:languages:python
Pandoc filters package for Python

OBS-URL: https://build.opensuse.org/request/show/700462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panflute?expand=0&rev=1
2019-05-13 12:48:59 +00:00
Todd R
b2b114619f Accepting request 700461 from home:TheBlackCat:branches:devel:languages:python:jupyter
Pandoc filters package for Python

OBS-URL: https://build.opensuse.org/request/show/700461
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-panflute?expand=0&rev=1
2019-05-03 17:07:09 +00:00