Gentoo Archives: gentoo-commits

From: "Dirkjan Ochtman (djc)" <djc@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/asciidoc: asciidoc-8.6.9.ebuild ChangeLog
Date: Tue, 23 Sep 2014 19:31:09
Message-Id: 20140923193105.73948610E@oystercatcher.gentoo.org
1 djc 14/09/23 19:31:05
2
3 Modified: ChangeLog
4 Added: asciidoc-8.6.9.ebuild
5 Log:
6 Version bump asciidoc to 8.6.9 (bug 494250)
7
8 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 30380381)
9
10 Revision Changes Path
11 1.94 app-text/asciidoc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/asciidoc/ChangeLog?rev=1.94&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/asciidoc/ChangeLog?rev=1.94&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/asciidoc/ChangeLog?r1=1.93&r2=1.94
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/asciidoc/ChangeLog,v
20 retrieving revision 1.93
21 retrieving revision 1.94
22 diff -u -r1.93 -r1.94
23 --- ChangeLog 31 Mar 2014 20:36:42 -0000 1.93
24 +++ ChangeLog 23 Sep 2014 19:31:05 -0000 1.94
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-text/asciidoc
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/ChangeLog,v 1.93 2014/03/31 20:36:42 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/ChangeLog,v 1.94 2014/09/23 19:31:05 djc Exp $
30 +
31 +*asciidoc-8.6.9 (23 Sep 2014)
32 +
33 + 23 Sep 2014; Dirkjan Ochtman <djc@g.o> +asciidoc-8.6.9.ebuild:
34 + Version bump asciidoc to 8.6.9 (bug 494250)
35
36 31 Mar 2014; Michał Górny <mgorny@g.o> asciidoc-8.6.8-r1.ebuild,
37 asciidoc-9999.ebuild:
38
39
40
41 1.1 app-text/asciidoc/asciidoc-8.6.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/asciidoc/asciidoc-8.6.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/asciidoc/asciidoc-8.6.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: asciidoc-8.6.9.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/asciidoc-8.6.9.ebuild,v 1.1 2014/09/23 19:31:05 djc Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 )
55
56 [ "$PV" == "9999" ] && inherit mercurial autotools
57 inherit python-single-r1
58
59 DESCRIPTION="A text document format for writing short documents, articles, books and UNIX man pages"
60 HOMEPAGE="http://www.methods.co.nz/asciidoc/"
61 if [ "$PV" == "9999" ]; then
62 EHG_REPO_URI="https://asciidoc.googlecode.com/hg/"
63 SRC_URI=""
64 KEYWORDS=""
65 else
66 SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
67 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
68 fi
69
70 LICENSE="GPL-2"
71 SLOT="0"
72 IUSE="examples graphviz highlight test vim-syntax"
73
74 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
75
76 RDEPEND=">=app-text/docbook-xsl-stylesheets-1.75
77 dev-libs/libxslt
78 graphviz? ( media-gfx/graphviz )
79 app-text/docbook-xml-dtd:4.5
80 highlight? ( || ( dev-python/pygments[${PYTHON_USEDEP}] dev-util/source-highlight ) )
81 ${PYTHON_DEPS}
82 "
83 DEPEND="test? ( dev-util/source-highlight
84 media-sound/lilypond
85 media-gfx/imagemagick
86 dev-texlive/texlive-latex
87 app-text/dvipng
88 media-gfx/graphviz
89 ${PYTHON_DEPS} )
90 "
91
92 if [ "$PV" == "9999" ]; then
93 DEPEND="${DEPEND}
94 dev-util/aap
95 www-client/lynx
96 dev-util/source-highlight"
97 fi
98
99 src_prepare() {
100 if ! use vim-syntax; then
101 sed -i -e '/^install/s/install-vim//' Makefile.in || die
102 else
103 sed -i\
104 -e "/^vimdir/s:@sysconfdir@/vim:${EPREFIX}/usr/share/vim/vimfiles:" \
105 -e 's:/etc/vim::' \
106 Makefile.in || die
107 fi
108
109 # Only needed for prefix - harmless (does nothing) otherwise
110 sed -i -e "s:^CONF_DIR=.*:CONF_DIR='${EPREFIX}/etc/asciidoc':" \
111 "${S}/asciidoc.py" || die
112
113 [ "$PV" == "9999" ] && eautoconf
114 }
115
116 src_configure() {
117 econf --sysconfdir="${EPREFIX}"/usr/share
118 }
119
120 src_compile() {
121 default
122
123 if [ "$PV" == "9999" ]; then
124 cd doc || die
125 aap -f main.aap ../{CHANGELOG,README,BUGS} || die
126 fi
127 }
128
129 src_install() {
130 use vim-syntax && dodir /usr/share/vim/vimfiles
131
132 emake DESTDIR="${D}" install
133
134 python_fix_shebang "${ED}"/usr/bin/*.py
135
136 if use examples; then
137 # This is a symlink to a directory
138 rm examples/website/images || die
139
140 dodoc -r examples
141 docompress -x /usr/share/doc/${PF}/examples
142 dosym ../../../asciidoc/images /usr/share/doc/${PF}/examples
143 fi
144
145 dodoc BUGS CHANGELOG README docbook-xsl/asciidoc-docbook-xsl.txt \
146 dblatex/dblatex-readme.txt filters/code/code-filter-readme.txt
147 }
148
149 src_test() {
150 cd tests || die
151 local -x ASCIIDOC_PY=../asciidoc.py
152 "${PYTHON}" test${PN}.py update || die
153 "${PYTHON}" test${PN}.py run || die
154 }