From 793097ece4f5cc5d59ebd94d6e11833fd0969b7692d0d42366ca9c788a217124 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 11 Jun 2020 06:26:38 +0000 Subject: [PATCH] Accepting request 812760 from home:pluskalm:branches:Publishing - Update to version 9.0.0: * Port asciidoc to run on Python 3.5+ * Drop internal implementation of OrderedDict and use the standard library collections.OrderedDict instead * Implement Dockerfile for running asciidoc * Add Catalan translation * Add docbook5 backend * Fix misspellings in various files and documents * Use UTC for testing instead of Pacific/Auckland (which observes daylight saving time) * Use "with" context statement for opening and closing files instead of older try/finally pattern * Search sibling paths before system wide paths in asciidocapi * Add manpage for testasciidoc.py * Use argparse instead of optparse for argument parsing * Add simplified Chinese translation (thanks @muirmok) * vim-asciidoc: speed up the refresh process for big files * Allow specifying floatstyle attribute for figures, tables, equations, examples in docbook (thanks @psaris) * Use https://pypi.org/project/trans/[trans python module] (if available) to better handle character decomposition to ascii for ascii-ids (thanks @rkel) * Use lru_cache to memoize repeated calls to macro look-up giving potential ~15% speed-up on parsing * Fix index terms requiring two characters instead of just one * Properly capture and use colophon, dedication, and preface for docbooks in Japanese (see #2 (comment)) * make install did not include the unwraplatex.py filter * Fix a2x option collection from input file with non-ascii encoding OBS-URL: https://build.opensuse.org/request/show/812760 OBS-URL: https://build.opensuse.org/package/show/Publishing/asciidoc?expand=0&rev=37 --- asciidoc-9.0.0.tar.gz | 3 +++ asciidoc-9.0.0rc2.tar.gz | 3 --- asciidoc.changes | 48 ++++++++++++++++++++++++++++++++++++++++ asciidoc.spec | 9 ++------ asciidoc.version.patch | 24 +++++++++++++------- 5 files changed, 69 insertions(+), 18 deletions(-) create mode 100644 asciidoc-9.0.0.tar.gz delete mode 100644 asciidoc-9.0.0rc2.tar.gz diff --git a/asciidoc-9.0.0.tar.gz b/asciidoc-9.0.0.tar.gz new file mode 100644 index 0000000..c184f5d --- /dev/null +++ b/asciidoc-9.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04f219e24476ce169508917766e93279d13b3de69ae9ce40fdfd908162e441c4 +size 1142656 diff --git a/asciidoc-9.0.0rc2.tar.gz b/asciidoc-9.0.0rc2.tar.gz deleted file mode 100644 index 12c1b23..0000000 --- a/asciidoc-9.0.0rc2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ae4730dccaa9d5026e7d7f1bccc0cb28ebfc71e62f10151082e8a00d90708cbb -size 1145229 diff --git a/asciidoc.changes b/asciidoc.changes index 044ef95..f7390d5 100644 --- a/asciidoc.changes +++ b/asciidoc.changes @@ -1,3 +1,51 @@ +------------------------------------------------------------------- +Tue Jun 9 05:21:24 UTC 2020 - Martin Pluskal + +- Update to version 9.0.0: + * Port asciidoc to run on Python 3.5+ + * Drop internal implementation of OrderedDict and use the + standard library collections.OrderedDict instead + * Implement Dockerfile for running asciidoc + * Add Catalan translation + * Add docbook5 backend + * Fix misspellings in various files and documents + * Use UTC for testing instead of Pacific/Auckland (which observes + daylight saving time) + * Use "with" context statement for opening and closing files + instead of older try/finally pattern + * Search sibling paths before system wide paths in asciidocapi + * Add manpage for testasciidoc.py + * Use argparse instead of optparse for argument parsing + * Add simplified Chinese translation (thanks @muirmok) + * vim-asciidoc: speed up the refresh process for big files + * Allow specifying floatstyle attribute for figures, tables, + equations, examples in docbook (thanks @psaris) + * Use https://pypi.org/project/trans/[trans python module] + (if available) to better handle character decomposition to + ascii for ascii-ids (thanks @rkel) + * Use lru_cache to memoize repeated calls to macro look-up + giving potential ~15% speed-up on parsing + * Fix index terms requiring two characters instead of just one + * Properly capture and use colophon, dedication, and preface for + docbooks in Japanese (see #2 (comment)) + * make install did not include the unwraplatex.py filter + * Fix a2x option collection from input file with non-ascii + encoding + * Fix options attribute not being properly parsed in Delimited + Blocks attribute list + * Migrate from hierarchical A-A-P build system to top-level + Makefile + * Add make help target that prints out usage message for make + * Fix double slash issue in Makefile when installing asciidoc + or its docs + * Commit generated test files to the repository for continuous + integration + * Test against Python 3.5+ on Travis-CI + * Remove symlink tests/asciidocapi.py in favor of just appending + to sys.path + * Add requires directive to testasciidoc.conf to indicate + necessary external dependencies (e.g. source-highlight) + ------------------------------------------------------------------- Thu Apr 23 12:00:49 UTC 2020 - Stephan Kulow diff --git a/asciidoc.spec b/asciidoc.spec index 5e28e90..94694eb 100644 --- a/asciidoc.spec +++ b/asciidoc.spec @@ -17,7 +17,7 @@ Name: asciidoc -Version: 9.0.0rc2 +Version: 9.0.0 Release: 0 Summary: Text-Based Document Generation License: GPL-2.0-or-later @@ -65,20 +65,15 @@ pushd %{buildroot}%{_bindir} mv a2x.py a2x popd -# install vim files -mkdir -p %{buildroot}%{_datadir}/vim/site/{syntax,ftdetect} -install -m 0644 vim/syntax/* %{buildroot}%{_datadir}/vim/site/syntax - %files %license COPYRIGHT %doc README.asciidoc BUGS.txt CHANGELOG.txt %config %{_sysconfdir}/%{name} %{_bindir}/%{name} %{_bindir}/a2x -%{_datadir}/vim %{_mandir}/man1/* %files examples -%doc doc examples +%doc doc website %changelog diff --git a/asciidoc.version.patch b/asciidoc.version.patch index 5c464c1..2bee95b 100644 --- a/asciidoc.version.patch +++ b/asciidoc.version.patch @@ -1,8 +1,10 @@ Avoid version number in generated files. Output will be identical between versions. In case the output changes, build-compare will catch it. ---- a/html4.conf -+++ b/html4.conf +Index: asciidoc-py3-9.0.0/html4.conf +=================================================================== +--- asciidoc-py3-9.0.0.orig/html4.conf ++++ asciidoc-py3-9.0.0/html4.conf @@ -460,7 +460,7 @@ endif::[] @@ -12,8 +14,10 @@ In case the output changes, build-compare will catch it. {title} ---- a/html5.conf -+++ b/html5.conf +Index: asciidoc-py3-9.0.0/html5.conf +=================================================================== +--- asciidoc-py3-9.0.0.orig/html5.conf ++++ asciidoc-py3-9.0.0/html5.conf @@ -539,7 +539,7 @@ bodydata= @@ -23,8 +27,10 @@ In case the output changes, build-compare will catch it. {title} ---- a/slidy.conf -+++ b/slidy.conf +Index: asciidoc-py3-9.0.0/slidy.conf +=================================================================== +--- asciidoc-py3-9.0.0.orig/slidy.conf ++++ asciidoc-py3-9.0.0/slidy.conf @@ -68,7 +68,7 @@ text=

|

ifndef::copyright[] @@ -34,8 +40,10 @@ In case the output changes, build-compare will catch it. ifdef::linkcss[] ---- a/xhtml11.conf -+++ b/xhtml11.conf +Index: asciidoc-py3-9.0.0/xhtml11.conf +=================================================================== +--- asciidoc-py3-9.0.0.orig/xhtml11.conf ++++ asciidoc-py3-9.0.0/xhtml11.conf @@ -531,7 +531,7 @@ cellspacing="0" cellpadding="4">