1 |
mrueg 13/09/30 23:43:03 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: docbook-xsl-stylesheets-1.78.0-r1.ebuild |
5 |
Log: |
6 |
Add a slotted ruby rdepend |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.138 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.138&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog?rev=1.138&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog?r1=1.137&r2=1.138 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v |
20 |
retrieving revision 1.137 |
21 |
retrieving revision 1.138 |
22 |
diff -u -r1.137 -r1.138 |
23 |
--- ChangeLog 21 Jul 2013 10:01:04 -0000 1.137 |
24 |
+++ ChangeLog 30 Sep 2013 23:43:03 -0000 1.138 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-text/docbook-xsl-stylesheets |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v 1.137 2013/07/21 10:01:04 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v 1.138 2013/09/30 23:43:03 mrueg Exp $ |
30 |
+ |
31 |
+*docbook-xsl-stylesheets-1.78.0-r1 (30 Sep 2013) |
32 |
+ |
33 |
+ 30 Sep 2013; Manuel RĂ¼ger <mrueg@g.o> |
34 |
+ +docbook-xsl-stylesheets-1.78.0-r1.ebuild: |
35 |
+ Add a slotted ruby rdepend |
36 |
|
37 |
21 Jul 2013; Pacho Ramos <pacho@g.o> metadata.xml: |
38 |
Cleanup due http://gentoo.2317880.n4.nabble.com/sgml-herd-has-no-maintainers- |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.78.0-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.78.0-r1.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.78.0-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: docbook-xsl-stylesheets-1.78.0-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 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.78.0-r1.ebuild,v 1.1 2013/09/30 23:43:03 mrueg Exp $ |
52 |
|
53 |
EAPI=5 |
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 ~arm-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:1.9 dev-lang/ruby:2.0 ) )" |
70 |
DEPEND="" |
71 |
|
72 |
S="${WORKDIR}/${MY_P}" |
73 |
|
74 |
# Makefile is broken since 1.76.0 |
75 |
RESTRICT=test |
76 |
|
77 |
# The makefile runs tests, not builds. |
78 |
src_compile() { :; } |
79 |
|
80 |
src_test() { |
81 |
emake check |
82 |
} |
83 |
|
84 |
src_install() { |
85 |
# The changelog is now zipped, and copied as the RELEASE-NOTES, so we |
86 |
# don't need to install it |
87 |
dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO |
88 |
|
89 |
insinto ${DOCBOOKDIR} |
90 |
doins VERSION VERSION.xsl |
91 |
|
92 |
local i |
93 |
for i in $(find . -maxdepth 1 -mindepth 1 -type d -exec basename {} \;); do |
94 |
[[ "$i" == "epub" ]] && ! use ruby && continue |
95 |
|
96 |
cd "${S}"/${i} |
97 |
for doc in ChangeLog README; do |
98 |
if [ -e "$doc" ]; then |
99 |
mv ${doc} ${doc}.${i} |
100 |
dodoc ${doc}.${i} |
101 |
rm ${doc}.${i} |
102 |
fi |
103 |
done |
104 |
|
105 |
doins -r "${S}"/${i} |
106 |
done |
107 |
|
108 |
if use ruby; then |
109 |
local cmd="dbtoepub${MY_PN#docbook-xsl}" |
110 |
|
111 |
# we can't use a symlink or it'll look for the library in the |
112 |
# wrong path. |
113 |
dodir /usr/bin |
114 |
cat - > "${D}"/usr/bin/${cmd} <<EOF |
115 |
#!/usr/bin/env ruby |
116 |
|
117 |
load "${DOCBOOKDIR}/epub/bin/dbtoepub" |
118 |
EOF |
119 |
fperms 0755 /usr/bin/${cmd} |
120 |
fi |
121 |
} |
122 |
|
123 |
pkg_postinst() { |
124 |
build-docbook-catalog |
125 |
} |
126 |
|
127 |
pkg_postrm() { |
128 |
build-docbook-catalog |
129 |
} |