Dominique Leuenberger 2020-06-14 16:13:34 +00:00 committed by Git OBS Bridge
commit 4d89c5ec9f
5 changed files with 69 additions and 18 deletions

3
asciidoc-9.0.0.tar.gz Normal file
View File

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

View File

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

View File

@ -1,3 +1,51 @@
-------------------------------------------------------------------
Tue Jun 9 05:21:24 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- 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 <coolo@suse.com>

View File

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

View File

@ -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::[]
<html>
<head>
@ -12,8 +14,10 @@ In case the output changes, build-compare will catch it.
<meta name="description" content="{description}">
<meta name="keywords" content="{keywords}">
<title>{title}</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=<td class="tableblock halign-{c
<html lang="{lang=en}">
<head>
@ -23,8 +27,10 @@ In case the output changes, build-compare will catch it.
<meta name="description" content="{description}">
<meta name="keywords" content="{keywords}">
<title>{title}</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=<p>|</p>
<meta http-equiv="Content-Type" content="{quirks=application/xhtml+xml}{quirks?text/html}; charset={encoding}" />
ifndef::copyright[<meta name="copyright" content="Copyright &#169; {author}" />]
@ -34,8 +40,10 @@ In case the output changes, build-compare will catch it.
<meta name="duration" content="{duration}" />
ifdef::linkcss[]
<link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}.css" type="text/css" />
--- 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">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang=en}">
<head>