1 |
commit: 818727bc7fb9bdebc93ae94b585363a078e42769 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 27 11:27:58 2015 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 27 11:28:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=818727bc |
7 |
|
8 |
app-text/docbook-xsl-stylesheets: Bump to version 1.79.1 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
app-text/docbook-xsl-stylesheets/Manifest | 1 + |
14 |
.../docbook-xsl-stylesheets-1.79.1.ebuild | 81 ++++++++++++++++++++++ |
15 |
2 files changed, 82 insertions(+) |
16 |
|
17 |
diff --git a/app-text/docbook-xsl-stylesheets/Manifest b/app-text/docbook-xsl-stylesheets/Manifest |
18 |
index 476590e..14a3eb7 100644 |
19 |
--- a/app-text/docbook-xsl-stylesheets/Manifest |
20 |
+++ b/app-text/docbook-xsl-stylesheets/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST docbook-xsl-1.78.0.tar.bz2 5011106 SHA256 e43220bfe35cad7eb289291264da472819c4b781173a9a58f72d6e404a1f5923 SHA512 9611e354a8c8e86fa203a0b58356a6229e82f98197a94f9a668c10e10ef3ebb87f468fa03a04292068d1cca5ad31043d78e19981933ee3820910d70ca9e044e2 WHIRLPOOL a2ffba19a2da8c6fc1be9fbdc8ef5b5fc5f13ed8524ffc07bda56b7f986268f45b5c4df2261f6a04c7e12b97aadc2e2a6718268ffe3102aa58589f2db6e6f90c |
23 |
DIST docbook-xsl-1.79.0.tar.bz2 21973361 SHA256 de7ba9cfdc75cb7df4f3e57f080d3a30d97ef2ba6841cbce8bdbd9f6eb43d606 SHA512 5761b9fafe7895a76afacbbf20607fff493fd5a9e3ab4d2f67780c887c24ef12c8313065ea384964a57b6e47d92c7a5167ed16bdf3c4e93576b0af5cb99463ab WHIRLPOOL 45eea4d335d4371d089284f66681702bb0c9b2602f95c7eafe98a22d1ebf9fa621b58a5390ec5735ecece88a104d6e04a7d90e1bd330d71af8d102325ce07853 |
24 |
+DIST docbook-xsl-1.79.1.tar.bz2 21967928 SHA256 725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968 SHA512 83325cbaf1545da6b9b8b77f5f0e6fdece26e3c455164b300a1aa3d19e3bd29ae71fd563553a714a5394968d1a65684c6c7987c77524469358d18b8c227025c7 WHIRLPOOL 3bd03072aba15cda9e7a18cb6c1edfc91cdb706811fd07d5aa69df1ffd5a48394848079cf63c67360104f0c0ec89920268b49d358c62bf5f61d6030938be0a0f |
25 |
|
26 |
diff --git a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1.ebuild b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..aeba632 |
29 |
--- /dev/null |
30 |
+++ b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1.ebuild |
31 |
@@ -0,0 +1,81 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+DOCBOOKDIR="/usr/share/sgml/${PN/-//}" |
39 |
+MY_PN="${PN%-stylesheets}" |
40 |
+MY_P="${MY_PN}-${PV}" |
41 |
+ |
42 |
+DESCRIPTION="XSL Stylesheets for Docbook" |
43 |
+HOMEPAGE="http://wiki.docbook.org/DocBookXslStylesheets" |
44 |
+SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
49 |
+IUSE="ruby" |
50 |
+ |
51 |
+RDEPEND=">=app-text/build-docbook-catalog-1.1 |
52 |
+ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:2.1 dev-lang/ruby:2.2 ) )" |
53 |
+DEPEND="" |
54 |
+ |
55 |
+S="${WORKDIR}/${MY_P}" |
56 |
+ |
57 |
+# Makefile is broken since 1.76.0 |
58 |
+RESTRICT=test |
59 |
+ |
60 |
+# The makefile runs tests, not builds. |
61 |
+src_compile() { :; } |
62 |
+ |
63 |
+src_test() { |
64 |
+ emake check |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ # The changelog is now zipped, and copied as the RELEASE-NOTES, so we |
69 |
+ # don't need to install it |
70 |
+ dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO |
71 |
+ |
72 |
+ insinto ${DOCBOOKDIR} |
73 |
+ doins VERSION VERSION.xsl |
74 |
+ |
75 |
+ local i |
76 |
+ for i in $(find . -maxdepth 1 -mindepth 1 -type d -exec basename {} \;); do |
77 |
+ [[ "$i" == "epub" ]] && ! use ruby && continue |
78 |
+ |
79 |
+ cd "${S}"/${i} |
80 |
+ for doc in ChangeLog README; do |
81 |
+ if [ -e "$doc" ]; then |
82 |
+ mv ${doc} ${doc}.${i} |
83 |
+ dodoc ${doc}.${i} |
84 |
+ rm ${doc}.${i} |
85 |
+ fi |
86 |
+ done |
87 |
+ |
88 |
+ doins -r "${S}"/${i} |
89 |
+ done |
90 |
+ |
91 |
+ if use ruby; then |
92 |
+ local cmd="dbtoepub${MY_PN#docbook-xsl}" |
93 |
+ |
94 |
+ # we can't use a symlink or it'll look for the library in the |
95 |
+ # wrong path. |
96 |
+ dodir /usr/bin |
97 |
+ cat - > "${D}"/usr/bin/${cmd} <<EOF |
98 |
+#!/usr/bin/env ruby |
99 |
+ |
100 |
+load "${DOCBOOKDIR}/epub/bin/dbtoepub" |
101 |
+EOF |
102 |
+ fperms 0755 /usr/bin/${cmd} |
103 |
+ fi |
104 |
+} |
105 |
+ |
106 |
+pkg_postinst() { |
107 |
+ build-docbook-catalog |
108 |
+} |
109 |
+ |
110 |
+pkg_postrm() { |
111 |
+ build-docbook-catalog |
112 |
+} |