diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-04-30 20:26:32 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-04-30 20:26:32 +0000 |
commit | 448ea8fea09d6a3fd01af58db5a1e463c750e365 (patch) | |
tree | 90aa459544a5f337d27ce024d3a1fe6477357ff7 /dev-ruby/prawn | |
parent | Remove old version. (diff) | |
download | gentoo-2-448ea8fea09d6a3fd01af58db5a1e463c750e365.tar.gz gentoo-2-448ea8fea09d6a3fd01af58db5a1e463c750e365.tar.bz2 gentoo-2-448ea8fea09d6a3fd01af58db5a1e463c750e365.zip |
Remove old version.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/prawn')
-rw-r--r-- | dev-ruby/prawn/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/prawn/prawn-0.4.1.ebuild | 95 |
2 files changed, 4 insertions, 96 deletions
diff --git a/dev-ruby/prawn/ChangeLog b/dev-ruby/prawn/ChangeLog index 89363b73787a..f01c06bf451b 100644 --- a/dev-ruby/prawn/ChangeLog +++ b/dev-ruby/prawn/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/prawn # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn/ChangeLog,v 1.5 2010/02/01 09:23:29 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn/ChangeLog,v 1.6 2010/04/30 20:26:32 graaff Exp $ + + 30 Apr 2010; Hans de Graaff <graaff@gentoo.org> -prawn-0.4.1.ebuild: + Remove old version. *prawn-0.7.2 (01 Feb 2010) diff --git a/dev-ruby/prawn/prawn-0.4.1.ebuild b/dev-ruby/prawn/prawn-0.4.1.ebuild deleted file mode 100644 index 8a8aef8cfed6..000000000000 --- a/dev-ruby/prawn/prawn-0.4.1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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.2 2009/07/16 13:25:05 flameeyes Exp $ - -EAPI=2 - -GITHUB_USER=sandal - -inherit ruby eutils - -DESCRIPTION="Fast, Nimble PDF Generation For Ruby" -HOMEPAGE="http://prawn.majesticseacreature.com/" - -LICENSE="|| ( GPL-2 Ruby )" -SLOT="0" -KEYWORDS="~amd64" -IUSE="doc examples test" - -SRC_URI="http://github.com/${GITHUB_USER}/${PN}/tarball/${PV} -> ${P}.tgz" - -USE_RUBY="ruby18" - -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} - )" - -S="${WORKDIR}" - -src_compile() { - cd "${WORKDIR}"/${GITHUB_USER}-${PN}-* - - if use doc; then - rake rdoc || die "rake rdoc failed" - fi -} - -src_test() { - cd "${WORKDIR}"/${GITHUB_USER}-${PN}-* - - rake test || die "rake test failed" -} - -dofakegemspec() { - cat - > "${T}"/${P}.gemspec <<EOF -Gem::Specification.new do |s| - s.name = "${PN}" - s.version = "${PV}" - s.summary = "${DESCRIPTION}" - s.homepage = "${HOMEPAGE}" -end -EOF - - # Note: this only works with 1.8 so if you need to make it work - # with 1.9 you better wait for ruby-fakegem.eclass. - insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')/../gems/1.8/specifications - doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec" -} - -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." - - dohtml -r www/* || die - - if use doc; then - docinto apidocs - pushd doc - dohtml -r * || die "Installing html documentation failed." - popd - fi - - if use examples; then - docinto examples - dodoc -r examples/* || die "Installing examples failes." - fi -} |