ports/133433: [MAINTAINER] textproc/asciidoc: update to 8.4.2
Peter Schuller
peter.schuller at infidyne.com
Mon Apr 6 18:10:04 UTC 2009
>Number: 133433
>Category: ports
>Synopsis: [MAINTAINER] textproc/asciidoc: update to 8.4.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 06 18:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: peter.schuller at infidyne.com
>Release: FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD prometheus.scode.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Mar 27 19:04:46 CET 2009
>Description:
- Update to 8.4.2
- Include patch to fix a problem with non-determinstic ordering of configuration
loading (see http://hg.sharesource.org/asciidoc/raw-diff/1dfa7028bbb3/asciidoc.py). The
patch has gone into trunk and won't be needed when the next asciidoc is released.
Added file(s):
- files/patch-asciidoc.py
Generated with FreeBSD Port Tools 0.77
Upstream ChangeLog:
1. Version 8.4.2 (2009-03-19)
Additions and changes
* Added [1]testasciidoc, a tool to verify AsciiDoc conformance.
* A warning is issued if nested inline passthroughs are encountered.
* asciidocapi: setting an attribute value to None will undefine
(delete) the attribute (this in addition to the name! attribute
name format that the asciidoc(1) command uses).
__________________________________________________________________
2. Version 8.4.1 (2009-03-10)
Additions and changes
* AsciiDoc now has a [2]Python API. The following minimal example
compiles mydoc.txt to mydoc.html:
from asciidocapi import AsciiDocAPI
asciidoc = AsciiDocAPI()
asciidoc.execute('mydoc.txt')
* Backtick quoting for monospaced text is now implemented as an
inline literal passthrough. This makes more sense since monospace
text is usually intended to be rendered literally. See
[3]Regression issues below for the impact this may have on existing
documents. Here are some examples that would previously have had to
be escaped:
The `++i` and `++j` auto-increments.
Paths `~/.vim` and `~/docs`.
The `__init__` method.
The `{id}` attribute.
* Added --doctest option to asciidoc(1) command.
* Added an optional second argument to BlockId element, this sets the
{reftext} attribute which in turn is used to set the xreflabel
attribute in DocBook elements.
* Added lists to --help syntax summary.
* {infile} and {indir} attributes reflect the current input file
(previously always referred to the root document).
* {docfile} (new) and {docdir} (previously deprecated) attributes
refer to the root document specified on the asciidoc(1)
command-line.
* Vim syntax highlighter improvements.
* Syntax summary command (asciidoc -h syntax) additions.
* Admonition icons now have transparent backgrounds.
* Changed yellow W3C badges to blue ones in page footers.
Bug fixes
* Dropped asciidoc(1) broken undocumented --profile option.
* Em dash replacement now recognized at start of block.
2.1. Regression issues
Replacing backtick quoting with the inline literal passthrough raises
two regression scenarios for existing documents:
1. You have escaped the expansion of enclosed inline elements, for
example: \{id}. You would need to delete the backslashes: {id} (if
you don't the backslashes will be printed). Mostly it's just a case
of interactively finding and replacing of all occurrences of `\.
2. There are enclosed inline elements, for example: some *bold*
monospaced. You would need to switch to plus character monospace
quoting: +some *bold* monospaced+ (if you don't the enclosed
elements won't be expanded).
If your existing documents include these cases and you don't want to
upgrade then use the -a no-inline-literal command-line option,
alternatively put this in ~/.asciidoc/asciidoc.conf:
[attributes]
no-inline-literal=
__________________________________________________________________
>How-To-Repeat:
>Fix:
--- asciidoc-8.4.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/Makefile /usr/ports/textproc/asciidoc/Makefile
--- /usr/ports/textproc/asciidoc.orig/Makefile 2009-02-03 06:42:23.000000000 +0100
+++ /usr/ports/textproc/asciidoc/Makefile 2009-03-23 21:16:58.774433288 +0100
@@ -6,7 +6,7 @@
#
PORTNAME= asciidoc
-PORTVERSION= 8.3.5
+PORTVERSION= 8.4.2
CATEGORIES= textproc
MASTER_SITES= http://www.methods.co.nz/asciidoc/ \
SF
diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/distinfo /usr/ports/textproc/asciidoc/distinfo
--- /usr/ports/textproc/asciidoc.orig/distinfo 2009-02-03 06:42:23.000000000 +0100
+++ /usr/ports/textproc/asciidoc/distinfo 2009-03-23 21:16:58.834431538 +0100
@@ -1,3 +1,3 @@
-MD5 (asciidoc-8.3.5.tar.gz) = d3478021edb4dedd4431ad32dd60ee84
-SHA256 (asciidoc-8.3.5.tar.gz) = f9441ea25f4e948274e94a4e56b341c8b0058c62280cdcc3d06c926a0c230220
-SIZE (asciidoc-8.3.5.tar.gz) = 1112688
+MD5 (asciidoc-8.4.2.tar.gz) = 2a7a146c4651f2dc212fd8cd50392e13
+SHA256 (asciidoc-8.4.2.tar.gz) = c17a1ac6e958d4b0e00b2a3ccc14d0abfb81da34972b8eb3cf9484e1a1e645b8
+SIZE (asciidoc-8.4.2.tar.gz) = 1143803
diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/files/patch-Makefile.in /usr/ports/textproc/asciidoc/files/patch-Makefile.in
--- /usr/ports/textproc/asciidoc.orig/files/patch-Makefile.in 2009-01-18 03:20:02.000000000 +0100
+++ /usr/ports/textproc/asciidoc/files/patch-Makefile.in 2009-03-23 21:16:58.841431999 +0100
@@ -1,16 +1,17 @@
---- Makefile.in.orig 2008-12-31 07:33:56.000000000 +0300
-+++ Makefile.in 2009-01-15 20:48:23.000000000 +0300
-@@ -4,9 +4,6 @@
+--- Makefile.in.orig 2009-03-21 16:33:53.974304216 +0100
++++ Makefile.in 2009-03-21 16:35:21.188379366 +0100
+@@ -4,10 +4,6 @@
.NOTPARALLEL:
-INSTALL = @INSTALL@
-INSTALL_PROG = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
+-
SED = @SED@
-@@ -90,7 +87,7 @@
+ prefix = @prefix@
+@@ -90,7 +86,7 @@
$(INSTALL) -d $(DESTDIR)/$($@)
$(PROGTARGETS): % : %dir
@@ -19,12 +20,12 @@
$(DATATARGETS): % : %dir
$(INSTALL_DATA) $($@) $(DESTDIR)/$($<)/
-@@ -147,7 +144,7 @@
+@@ -147,7 +143,7 @@
build: fixconfpath
--install: $(PROGTARGETS) $(DATATARGETS) renameprog install-vim
-+install: $(PROGTARGETS) $(DATATARGETS) renameprog
+-install: $(PROGTARGETS) $(DATATARGETS) progsymlink install-vim
++install: $(PROGTARGETS) $(DATATARGETS) progsymlink
uninstall: uninstall-vim
rm -f $(DESTDIR)/$(progdir)/asciidoc
diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/files/patch-asciidoc.py /usr/ports/textproc/asciidoc/files/patch-asciidoc.py
--- /usr/ports/textproc/asciidoc.orig/files/patch-asciidoc.py 1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/textproc/asciidoc/files/patch-asciidoc.py 2009-04-06 19:44:09.685808688 +0200
@@ -0,0 +1,17 @@
+--- asciidoc.py Mon Mar 30 18:37:04 2009 +1300
++++ asciidoc.py Fri Apr 03 12:38:26 2009 +1300
+@@ -3845,9 +3845,9 @@
+ else:
+ sections[section] = contents
+ rdr.close()
+- document.update_attributes() # So they are available immediately.
+ self.load_sections(sections)
+ self.loaded.append(os.path.realpath(fname))
++ document.update_attributes() # So they are available immediately.
+
+ def load_sections(self,sections):
+ '''Loads sections dictionary. Each dictionary entry contains a
+
+
+
+
diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/pkg-plist /usr/ports/textproc/asciidoc/pkg-plist
--- /usr/ports/textproc/asciidoc.orig/pkg-plist 2009-01-18 03:20:02.000000000 +0100
+++ /usr/ports/textproc/asciidoc/pkg-plist 2009-03-23 21:16:58.843438077 +0100
@@ -1,5 +1,6 @@
bin/a2x
bin/asciidoc
+bin/asciidoc.py
etc/asciidoc/asciidoc.conf
etc/asciidoc/dblatex/asciidoc-dblatex.sty
etc/asciidoc/dblatex/asciidoc-dblatex.xsl
--- asciidoc-8.4.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list