1 |
mgorny 15/01/01 23:27:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sgmltools-lite-3.0.3-r13.ebuild |
5 |
Removed: sgmltools-lite-3.0.3-r12.ebuild |
6 |
Log: |
7 |
Fix installed module byte-compilation. |
8 |
|
9 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
10 |
|
11 |
Revision Changes Path |
12 |
1.64 app-text/sgmltools-lite/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/sgmltools-lite/ChangeLog?rev=1.64&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/sgmltools-lite/ChangeLog?rev=1.64&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/sgmltools-lite/ChangeLog?r1=1.63&r2=1.64 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v |
21 |
retrieving revision 1.63 |
22 |
retrieving revision 1.64 |
23 |
diff -u -r1.63 -r1.64 |
24 |
--- ChangeLog 25 Dec 2014 12:05:34 -0000 1.63 |
25 |
+++ ChangeLog 1 Jan 2015 23:27:23 -0000 1.64 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for app-text/sgmltools-lite |
28 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.63 2014/12/25 12:05:34 mgorny Exp $ |
30 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.64 2015/01/01 23:27:23 mgorny Exp $ |
32 |
+ |
33 |
+*sgmltools-lite-3.0.3-r13 (01 Jan 2015) |
34 |
+ |
35 |
+ 01 Jan 2015; Michał Górny <mgorny@g.o> |
36 |
+ +sgmltools-lite-3.0.3-r13.ebuild, -sgmltools-lite-3.0.3-r12.ebuild: |
37 |
+ Fix installed module byte-compilation. |
38 |
|
39 |
*sgmltools-lite-3.0.3-r12 (25 Dec 2014) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 app-text/sgmltools-lite/sgmltools-lite-3.0.3-r13.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r13.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r13.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: sgmltools-lite-3.0.3-r13.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r13.ebuild,v 1.1 2015/01/01 23:27:23 mgorny Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
PYTHON_COMPAT=( python2_7 ) |
58 |
|
59 |
inherit python-single-r1 sgml-catalog |
60 |
|
61 |
DESCRIPTION="Python interface to SGML software in a DocBook/OpenJade env" |
62 |
HOMEPAGE="http://sgmltools-lite.sourceforge.net/" |
63 |
SRC_URI="mirror://sourceforge/sgmltools-lite/${P}.tar.gz |
64 |
mirror://sourceforge/sgmltools-lite/nw-eps-icons-0.0.1.tar.gz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
69 |
IUSE="jadetex" |
70 |
|
71 |
RDEPEND="${PYTHON_DEPS} |
72 |
app-text/sgml-common |
73 |
app-text/docbook-sgml-dtd:3.1 |
74 |
app-text/docbook-dsssl-stylesheets |
75 |
app-text/openjade |
76 |
jadetex? ( app-text/jadetex ) |
77 |
|| ( |
78 |
www-client/w3m |
79 |
www-client/lynx )" |
80 |
DEPEND=${RDEPEND} |
81 |
|
82 |
REQUIRED_USE=${PYTHON_REQUIRED_USE} |
83 |
|
84 |
sgml-catalog_cat_include "/etc/sgml/sgml-lite.cat" \ |
85 |
"/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat" |
86 |
|
87 |
src_prepare() { |
88 |
# Remove CVS directories from the tree |
89 |
find . -name CVS -exec rm -rf {} + || die |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
default |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
einstall etcdir="${D}"/etc/sgml || die |
98 |
|
99 |
dodoc ChangeLog POSTINSTALL README* |
100 |
dohtml -r . |
101 |
|
102 |
cd "${WORKDIR}"/nw-eps-icons-0.0.1/images |
103 |
insinto /usr/share/sgml/docbook/dsssl-stylesheets/images |
104 |
doins *.eps |
105 |
|
106 |
cd callouts |
107 |
insinto /usr/share/sgml/docbook/dsssl-stylesheets/images/callouts |
108 |
doins *.eps |
109 |
|
110 |
rm "${D}"/etc/sgml/catalog.{suse,rh62} |
111 |
|
112 |
# Remove file provided by sgml-common |
113 |
rm "${D}"/usr/bin/sgmlwhich |
114 |
|
115 |
# Remove the backends that require jadetex |
116 |
use jadetex || \ |
117 |
rm "${D}"/usr/share/sgml/misc/sgmltools/python/backends/{Dvi,Ps,Pdf,JadeTeX}.py |
118 |
|
119 |
# List of backends to alias with sgml2* |
120 |
# Do not provide sgml2{txt,rtf,html} anymore, they are part of |
121 |
# linuxdoc-tools |
122 |
local BACKENDS="" |
123 |
use jadetex && BACKENDS="ps dvi pdf" |
124 |
|
125 |
# Create simple alias scripts that people are used to |
126 |
# And make the manpages for those link to the sgmltools-lite manpage |
127 |
mandir="${D}"/usr/share/man/man1 |
128 |
ScripTEXT="#!/bin/sh\n/usr/bin/sgmltools --backend=" |
129 |
for back in ${BACKENDS} |
130 |
do |
131 |
echo -e ${ScripTEXT}${back} '$*' > sgml2${back} |
132 |
exeinto /usr/bin |
133 |
doexe sgml2${back} |
134 |
|
135 |
cd ${mandir} || die |
136 |
ln -sf sgmltools-lite.1.gz sgml2${back}.1.gz || die |
137 |
cd "${S}" || die |
138 |
done |
139 |
|
140 |
python_fix_shebang "${D}" |
141 |
python_optimize "${ED%/}/usr/share/sgml/misc/sgmltools/python" |
142 |
} |
143 |
|
144 |
pkg_postinst() { |
145 |
sgml-catalog_pkg_postinst |
146 |
} |
147 |
|
148 |
pkg_postrm() { |
149 |
sgml-catalog_pkg_postrm |
150 |
} |