diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-07-16 13:25:05 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-07-16 13:25:05 +0000 |
commit | 4310600bb5ccb5b85f8397c59fac6bdf7659c444 (patch) | |
tree | 78e7043b698cd520c482b586f8c1145b59769a4e /dev-ruby/prawn | |
parent | Version bump wrt #277418, thanks to Diego E. Pettenò and Corvus Corax. (diff) | |
download | historical-4310600bb5ccb5b85f8397c59fac6bdf7659c444.tar.gz historical-4310600bb5ccb5b85f8397c59fac6bdf7659c444.tar.bz2 historical-4310600bb5ccb5b85f8397c59fac6bdf7659c444.zip |
Make sure to install the needed datafiles, and patch the code to find it in our correct layout.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/prawn')
-rw-r--r-- | dev-ruby/prawn/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/prawn/Manifest | 11 | ||||
-rw-r--r-- | dev-ruby/prawn/files/prawn-0.4.1-gentoo.patch | 13 | ||||
-rw-r--r-- | dev-ruby/prawn/prawn-0.4.1.ebuild | 11 |
4 files changed, 34 insertions, 8 deletions
diff --git a/dev-ruby/prawn/ChangeLog b/dev-ruby/prawn/ChangeLog index 0f3ed5b97f40..8b747a69e651 100644 --- a/dev-ruby/prawn/ChangeLog +++ b/dev-ruby/prawn/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/prawn # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn/ChangeLog,v 1.1 2009/07/16 13:09:49 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn/ChangeLog,v 1.2 2009/07/16 13:25:05 flameeyes Exp $ + + 16 Jul 2009; Diego E. Pettenò <flameeyes@gentoo.org> prawn-0.4.1.ebuild, + +files/prawn-0.4.1-gentoo.patch: + Make sure to install the needed datafiles, and patch the code to find it + in our correct layout. *prawn-0.4.1 (16 Jul 2009) diff --git a/dev-ruby/prawn/Manifest b/dev-ruby/prawn/Manifest index 5cd32a1c3535..1dc6bb81b2b7 100644 --- a/dev-ruby/prawn/Manifest +++ b/dev-ruby/prawn/Manifest @@ -1,14 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX prawn-0.4.1-gentoo.patch 557 RMD160 4d2bc5f332f9b95bec4b977285263da9c01b8473 SHA1 1a7330cfa5ced9f5164fe6ffa8dc2c1558977c75 SHA256 1b9dcd59b630f6aaaf6a5484e3822280a974266151ff89df4c42b240ed35888a DIST prawn-0.4.1.tgz 5146336 RMD160 66141872d927b93411612ba6181be5ce9a3dcabe SHA1 f54f64b169b79455f836fb7f8fba54152f2158ef SHA256 ed1b04dd8eaf585b5f54d3d8a9974fc9297103e5a6dc7668bada39fae5ffa492 -EBUILD prawn-0.4.1.ebuild 1837 RMD160 b72cddc353f6b015fab84de20233776a9420d246 SHA1 58fbe2d90a492a2e0a9c3ae3c1a2efaf87c062ae SHA256 0934882b7552b09ce179beba3a9291f08dc6bd5ab7229b1b513cbe169138ce19 -MISC ChangeLog 354 RMD160 ce4d6969dabbaa544bb3f7588caffdcd6e667320 SHA1 fcd3fd5110701737e929d77fdb4a8065320155f6 SHA256 8eb66fef2b31d26591658ada0ec2528e8ad1c2c77d6db8fb5fb3bf173e7444af +EBUILD prawn-0.4.1.ebuild 2013 RMD160 4999d852e50342365dd6ae6454a9133899fe3f94 SHA1 283e2702c0c7b19aebac4f727f5e4df58b91358e SHA256 21349869ca9526cdc963ce6f585634dae81460a03d596ff1f8fe5176116497cb +MISC ChangeLog 566 RMD160 d31fe49989123bebc8b524b0cacd44e844a3e286 SHA1 37931aeb60621007dfe74e8959d7096ddecb9098 SHA256 aa2abbb2c4e7972d46dfdb1442c3cb40e191f3b1b82b03f534c9b38719788b3c MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAkpfJqMACgkQAiZjviIA2Xin3ACeLjy1FwqAzfmRRwO/0Ys2o0WF -ZEoAnA2dVrZvkrnL6zSkE6DfxRyDTE3H -=2eAs +iEYEARECAAYFAkpfKjYACgkQAiZjviIA2Xi6EgCeLlme1Y6t0qgSa9msLzeLjs9Z +p3YAnRkbrgw3Fs/s14mJKe17L08cT0og +=rkDS -----END PGP SIGNATURE----- diff --git a/dev-ruby/prawn/files/prawn-0.4.1-gentoo.patch b/dev-ruby/prawn/files/prawn-0.4.1-gentoo.patch new file mode 100644 index 000000000000..ca2d6714fad4 --- /dev/null +++ b/dev-ruby/prawn/files/prawn-0.4.1-gentoo.patch @@ -0,0 +1,13 @@ +Index: sandal-prawn-c5c1ddba07efa45fd4b10085ab5ca255a43269be/lib/prawn.rb +=================================================================== +--- sandal-prawn-c5c1ddba07efa45fd4b10085ab5ca255a43269be.orig/lib/prawn.rb ++++ sandal-prawn-c5c1ddba07efa45fd4b10085ab5ca255a43269be/lib/prawn.rb +@@ -18,7 +18,7 @@ module Prawn + dir = File.dirname(file) + + # The base source directory for Prawn as installed on the system +- BASEDIR = File.expand_path(File.join(dir, '..')) ++ BASEDIR = "/usr/share/prawn" + + VERSION = "0.4.1" + diff --git a/dev-ruby/prawn/prawn-0.4.1.ebuild b/dev-ruby/prawn/prawn-0.4.1.ebuild index 76507648510a..8a8aef8cfed6 100644 --- a/dev-ruby/prawn/prawn-0.4.1.ebuild +++ b/dev-ruby/prawn/prawn-0.4.1.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn/prawn-0.4.1.ebuild,v 1.1 2009/07/16 13:09:49 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn/prawn-0.4.1.ebuild,v 1.2 2009/07/16 13:25:05 flameeyes Exp $ EAPI=2 GITHUB_USER=sandal -inherit ruby +inherit ruby eutils DESCRIPTION="Fast, Nimble PDF Generation For Ruby" HOMEPAGE="http://prawn.majesticseacreature.com/" @@ -24,6 +24,7 @@ RDEPEND="dev-ruby/ttfunk" DEPEND="doc? ( dev-ruby/rake ) test? ( dev-ruby/rake + dev-ruby/mocha dev-ruby/test-spec >=dev-ruby/pdf-reader-0.7.3 ${RDEPEND} @@ -64,10 +65,16 @@ EOF src_install() { cd "${WORKDIR}"/${GITHUB_USER}-${PN}-* + # This sucks but it has to go after test and before install. + epatch "${FILESDIR}"/${P}-gentoo.patch + pushd lib doruby -r * || die "install lib failed" popd + insinto /usr/share/${PN} + doins -r data || die + dofakegemspec dodoc README HACKING || die "Installing docs failed." |