From: | "Mike Gilbert (floppym)" <floppym@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/docbook-xsl-stylesheets: docbook-xsl-stylesheets-1.77.1.ebuild ChangeLog |
Date: | Tue, 03 Jul 2012 13:55:05 |
Message-Id: | 20120703135442.648772004B@flycatcher.gentoo.org |
1 | floppym 12/07/03 13:54:42 |
2 | |
3 | Modified: ChangeLog |
4 | Added: docbook-xsl-stylesheets-1.77.1.ebuild |
5 | Log: |
6 | Version bump for bug 423861. |
7 | |
8 | (Portage version: 2.2.0_alpha114/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.114 app-text/docbook-xsl-stylesheets/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog?rev=1.114&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog?rev=1.114&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog?r1=1.113&r2=1.114 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v |
20 | retrieving revision 1.113 |
21 | retrieving revision 1.114 |
22 | diff -u -r1.113 -r1.114 |
23 | --- ChangeLog 23 May 2012 04:21:28 -0000 1.113 |
24 | +++ ChangeLog 3 Jul 2012 13:54:42 -0000 1.114 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for app-text/docbook-xsl-stylesheets |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v 1.113 2012/05/23 04:21:28 flameeyes Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v 1.114 2012/07/03 13:54:42 floppym Exp $ |
30 | + |
31 | +*docbook-xsl-stylesheets-1.77.1 (03 Jul 2012) |
32 | + |
33 | + 03 Jul 2012; Mike Gilbert <floppym@g.o> |
34 | + +docbook-xsl-stylesheets-1.77.1.ebuild: |
35 | + Version bump for bug 423861. |
36 | |
37 | *docbook-xsl-stylesheets-1.77.0 (23 May 2012) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.77.1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.77.1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.77.1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: docbook-xsl-stylesheets-1.77.1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.77.1.ebuild,v 1.1 2012/07/03 13:54:42 floppym Exp $ |
52 | |
53 | EAPI=4 |
54 | |
55 | DOCBOOKDIR="/usr/share/sgml/${PN/-//}" |
56 | MY_PN="${PN%-stylesheets}" |
57 | MY_P="${MY_PN}-${PV}" |
58 | |
59 | DESCRIPTION="XSL Stylesheets for Docbook" |
60 | HOMEPAGE="http://wiki.docbook.org/topic/DocBookXslStylesheets" |
61 | SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2" |
62 | |
63 | LICENSE="BSD" |
64 | SLOT="0" |
65 | KEYWORDS="~alpha ~amd64 ~arm ~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 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
66 | IUSE="ruby" |
67 | |
68 | RDEPEND=">=app-text/build-docbook-catalog-1.1 |
69 | ruby? ( || ( dev-lang/ruby dev-lang/ruby-enterprise ) )" |
70 | |
71 | S="${WORKDIR}/${MY_P}" |
72 | |
73 | # Makefile is broken since 1.76.0 |
74 | RESTRICT=test |
75 | |
76 | # The makefile runs tests, not builds. |
77 | src_compile() { :; } |
78 | |
79 | src_test() { |
80 | emake check || die "test failed" |
81 | } |
82 | |
83 | src_install() { |
84 | # The changelog is now zipped, and copied as the RELEASE-NOTES, so we |
85 | # don't need to install it |
86 | dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO |
87 | |
88 | insinto ${DOCBOOKDIR} |
89 | doins VERSION |
90 | |
91 | local i |
92 | for i in $(find . -maxdepth 1 -mindepth 1 -type d -exec basename {} \;); do |
93 | [[ "$i" == "epub" ]] && ! use ruby && continue |
94 | |
95 | cd "${S}"/${i} |
96 | for doc in ChangeLog README; do |
97 | if [ -e "$doc" ]; then |
98 | mv ${doc} ${doc}.${i} |
99 | dodoc ${doc}.${i} |
100 | rm ${doc}.${i} |
101 | fi |
102 | done |
103 | |
104 | doins -r "${S}"/${i} |
105 | done |
106 | |
107 | if use ruby; then |
108 | local cmd="dbtoepub${MY_PN#docbook-xsl}" |
109 | |
110 | # we can't use a symlink or it'll look for the library in the |
111 | # wrong path. |
112 | dodir /usr/bin |
113 | cat - > "${D}"/usr/bin/${cmd} <<EOF |
114 | #!/usr/bin/env ruby |
115 | |
116 | load "${DOCBOOKDIR}/epub/bin/dbtoepub" |
117 | EOF |
118 | fperms 0755 /usr/bin/${cmd} |
119 | fi |
120 | } |
121 | |
122 | pkg_postinst() { |
123 | build-docbook-catalog |
124 | } |
125 | |
126 | pkg_postrm() { |
127 | build-docbook-catalog |
128 | } |