asciidoc/asciidoc.version.patch
Martin Pluskal 793097ece4 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
2020-06-11 06:26:38 +00:00

56 lines
2.6 KiB
Diff

Avoid version number in generated files.
Output will be identical between versions.
In case the output changes, build-compare will catch it.
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>
<meta http-equiv="Content-Type" content="text/html; charset={encoding}">
-<meta name="generator" content="AsciiDoc {asciidoc-version}">
+<meta name="generator" content="AsciiDoc">
<meta name="description" content="{description}">
<meta name="keywords" content="{keywords}">
<title>{title}</title>
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>
<meta http-equiv="Content-Type" content="text/html; charset={encoding}">
-<meta name="generator" content="AsciiDoc {asciidoc-version}">
+<meta name="generator" content="AsciiDoc">
<meta name="description" content="{description}">
<meta name="keywords" content="{keywords}">
<title>{title}</title>
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}" />]
<meta name="copyright" content="Copyright &#169; {copyright}" />
-<meta name="generator" content="AsciiDoc {asciidoc-version}" />
+<meta name="generator" content="AsciiDoc" />
<meta name="duration" content="{duration}" />
ifdef::linkcss[]
<link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}.css" type="text/css" />
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>
<meta http-equiv="Content-Type" content="{quirks=application/xhtml+xml}{quirks?text/html}; charset={encoding}" />
-<meta name="generator" content="AsciiDoc {asciidoc-version}" />
+<meta name="generator" content="AsciiDoc" />
<meta name="description" content="{description}" />
<meta name="keywords" content="{keywords}" />
<title>{title}</title>