diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-05-23 04:21:28 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-05-23 04:21:28 +0000 |
commit | 1dbb828c35364260f7914c6349b7b82961d967b1 (patch) | |
tree | 33a4a0c2ec6bbce3406355131fb9bd74c3f9948c /app-text/docbook-xsl-stylesheets | |
parent | Version bump; add a ruby USE flag to install dbtoepub script (or remove it). (diff) | |
download | historical-1dbb828c35364260f7914c6349b7b82961d967b1.tar.gz historical-1dbb828c35364260f7914c6349b7b82961d967b1.tar.bz2 historical-1dbb828c35364260f7914c6349b7b82961d967b1.zip |
Version bump; add a ruby USE flag to install dbtoepub script (or remove it).
Package-Manager: portage-2.2.0_alpha107/cvs/Linux x86_64
Diffstat (limited to 'app-text/docbook-xsl-stylesheets')
4 files changed, 104 insertions, 6 deletions
diff --git a/app-text/docbook-xsl-stylesheets/ChangeLog b/app-text/docbook-xsl-stylesheets/ChangeLog index 68fc5f2a57e4..477e351b8966 100644 --- a/app-text/docbook-xsl-stylesheets/ChangeLog +++ b/app-text/docbook-xsl-stylesheets/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/docbook-xsl-stylesheets # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v 1.112 2012/04/26 17:21:45 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/ChangeLog,v 1.113 2012/05/23 04:21:28 flameeyes Exp $ + +*docbook-xsl-stylesheets-1.77.0 (23 May 2012) + + 23 May 2012; Diego E. Pettenò <flameeyes@gentoo.org> + +docbook-xsl-stylesheets-1.77.0.ebuild, metadata.xml: + Version bump; add a ruby USE flag to install dbtoepub script (or remove it). 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> docbook-xsl-stylesheets-1.76.1.ebuild: diff --git a/app-text/docbook-xsl-stylesheets/Manifest b/app-text/docbook-xsl-stylesheets/Manifest index 2bdaa316f63a..dcd34bd20bdb 100644 --- a/app-text/docbook-xsl-stylesheets/Manifest +++ b/app-text/docbook-xsl-stylesheets/Manifest @@ -3,14 +3,20 @@ Hash: SHA1 DIST docbook-xsl-1.75.2.tar.bz2 1543130 RMD160 2e297bd1ce0d480b6f8ea03846a8f8c0100b72dd SHA1 cd146012c07f3c2c79c1cd927ad1faf5bee6cc74 SHA256 0dcc3aebd2ada8719e47b77c62ab986c4f2747f9a7cab6f629b6472e6d058e09 DIST docbook-xsl-1.76.1.tar.bz2 3682531 RMD160 83acc9ba6dc4df04cef98988cf007d8168301431 SHA1 dc9fa422c53e0a4f0e32b5c8ec896b39080bc14d SHA256 d6bdfd76f672c810299c71443e5127431ffb87d2c79d818aee72c86eaccd312c +DIST docbook-xsl-1.77.0.tar.bz2 4255710 RMD160 e5534357eeb1792bef66a851743caf1a19b1bf0f SHA1 36d261fbbae43b2478fa4f2241f9dac90d930ef8 SHA256 184e23813139cee4531dd475d983097c9dbce0e0a8790596f53a66c8e039eb56 EBUILD docbook-xsl-stylesheets-1.75.2.ebuild 1657 RMD160 060bbdac0dcb8cee5cad698f3b6e8c05e97ef500 SHA1 68a43f198a14943094532ccee785ee21b14f54fe SHA256 108530ac0367dd139aafe31a06f7370db46538592af8f48137c2c14f0008789a EBUILD docbook-xsl-stylesheets-1.76.1.ebuild 1667 RMD160 7501e29c68130effcc4cedd80320d8b38fa82ec6 SHA1 66f83351a58daee8d211ed6cdeb0a2af7da65adb SHA256 3c63181b440fcdceafcc8b585bef54ecba520c5a79da78359d6e86db0221cea0 -MISC ChangeLog 16230 RMD160 be3da138b661d0223e36757c59b5e3d4c046096f SHA1 1cd0fc2b44793632db012894ae6bc5093c987765 SHA256 7366bb7f0048c8f8b5b9ed9f95aed1b71fe3e19691f748099488614a0c8c68ec -MISC metadata.xml 159 RMD160 a94e7b2c191d1593b8bc416d266571e001c2f673 SHA1 3c1d0831d8acacef390234d20d7711cabded861a SHA256 52cf1b9dda72e2d61fef95515c8a124ac9f1196e5509e5636e269f396fcba8a3 +EBUILD docbook-xsl-stylesheets-1.77.0.ebuild 2062 RMD160 441c171fa18ed1c98a2c064786ed23a52582e22d SHA1 1b3881d8c1d6f79396e9e653c748ea4dfebd654c SHA256 3cb6fa1754184d5d38e873f2c15584e90ef6270cbe40c0aceb45f63e527293af +MISC ChangeLog 16470 RMD160 e40ebe9775a36ffc79dcabea8b77741e40613ee8 SHA1 838b71f8539530087c77647141f1fb2d6e6ef6eb SHA256 c0d341dcab5021d09134c22b0431b9d0d0019b16507353b2e5527383642d57af +MISC metadata.xml 338 RMD160 fee57ebc139a79c07651c44508ef3bbdc5ffebb4 SHA1 b25aff03934ee4911b75a06f764003bf828cb95c SHA256 a739dbb5eecf28a28e295ee5f7e6b3fd9e5349800489f2b87541a9f6fb580663 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEARECAAYFAk+ZhC4ACgkQvFcC4BYPU0qvSQCfVSzbl1p5nw6E0iq1Zt8UE6t5 -zLwAn2rG2Hak1C7Zv/v5dC9ECljVEohj -=Eyyd +iQEcBAEBAgAGBQJPvGXRAAoJEBzRPIrUMBNColAH/3exEMhPxLMBaVk3YdRC65Wh +Kpie/Jw4WycnghzRltF+y7bKic7vFEO+qm0TKkj5x+TDloEZ+aTb61l99jnsbkoK +XuGrdHuypywDKFeFWxDlgaIQMdR37YHsugVZ2gFc5WV+R1T4X0uFEQttQmh38YwQ +Ry7Bj2/8SrGsxSSgzlHOnzLFqXZzQS7uMgQrrYZyzE9J/U+iHERcDBSXu+AmWQGY +5dM3wsjAYJs41Kk7jZjx9nVxwD/p5VW7Gi6/kH9T3/qCkgT5DUVpKXSbyvoDPo/K +zHDEB2RlsQJXcQ4VjVEcAvGC8acwdLPHYaKypvinkjJEjnPOqTW5f+X6uov5w7Q= +=D10A -----END PGP SIGNATURE----- diff --git a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.77.0.ebuild b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.77.0.ebuild new file mode 100644 index 000000000000..4a36e2cf7ec8 --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.77.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.77.0.ebuild,v 1.1 2012/05/23 04:21:28 flameeyes Exp $ + +EAPI=4 + +DOCBOOKDIR="/usr/share/sgml/${PN/-//}" +MY_PN="${PN%-stylesheets}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="XSL Stylesheets for Docbook" +HOMEPAGE="http://wiki.docbook.org/topic/DocBookXslStylesheets" +SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +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" +IUSE="ruby" + +RDEPEND=">=app-text/build-docbook-catalog-1.1 + ruby? ( || ( dev-lang/ruby dev-lang/ruby-enterprise ) )" + +S="${WORKDIR}/${MY_P}" + +# Makefile is broken since 1.76.0 +RESTRICT=test + +# The makefile runs tests, not builds. +src_compile() { :; } + +src_test() { + emake check || die "test failed" +} + +src_install() { + # The changelog is now zipped, and copied as the RELEASE-NOTES, so we + # don't need to install it + dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO + + insinto ${DOCBOOKDIR} + doins VERSION + + local i + for i in $(find . -maxdepth 1 -mindepth 1 -type d -exec basename {} \;); do + [[ "$i" == "epub" ]] && ! use ruby && continue + + cd "${S}"/${i} + for doc in ChangeLog README; do + if [ -e "$doc" ]; then + mv ${doc} ${doc}.${i} + dodoc ${doc}.${i} + rm ${doc}.${i} + fi + done + + doins -r "${S}"/${i} + done + + if use ruby; then + local cmd="dbtoepub${MY_PN#docbook-xsl}" + + # we can't use a symlink or it'll look for the library in the + # wrong path. + dodir /usr/bin + cat - > "${D}"/usr/bin/${cmd} <<EOF +#!/usr/bin/env ruby + +load "${DOCBOOKDIR}/epub/bin/dbtoepub" +EOF + fperms 0755 /usr/bin/${cmd} + fi +} + +pkg_postinst() { + build-docbook-catalog +} + +pkg_postrm() { + build-docbook-catalog +} diff --git a/app-text/docbook-xsl-stylesheets/metadata.xml b/app-text/docbook-xsl-stylesheets/metadata.xml index e96086477315..c63d5ad9a048 100644 --- a/app-text/docbook-xsl-stylesheets/metadata.xml +++ b/app-text/docbook-xsl-stylesheets/metadata.xml @@ -2,4 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sgml</herd> + <use> + <flag name="ruby"> + Install the Ruby-based dbtoepub script; requires an interpreter + compatible with <pkg>app-admin/eselect-ruby</pkg>. + </flag> + </use> </pkgmetadata> |