17
0

18 Commits

Author SHA256 Message Date
7531a2d5b9 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
4b9d4bf40f - 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
b5f454eae6 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
84df8563af - 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
78b0d519f2 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
17b984295b - 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
00a5a01435 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
5315ac389c 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
dc1473a86f 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
1e939a2457 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
bfc6d45a4c 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
dfca5a907d - 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
e671420c79 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
74a6ce2846 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
4aa7e71642 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
8525f29f38 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
224c9fd06f 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
5d8691601c 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