summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-19 10:32:59 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-19 10:32:59 +0000
commit36ee6bea03d629586a0025c26f65df4b50e80e1e (patch)
treeef59bc7372b589de6f80810ed490890ea40aaacf /dev-ruby
parentPYMOL_PATH includes EPREFIX, so we should not use it (diff)
downloadgentoo-2-36ee6bea03d629586a0025c26f65df4b50e80e1e.tar.gz
gentoo-2-36ee6bea03d629586a0025c26f65df4b50e80e1e.tar.bz2
gentoo-2-36ee6bea03d629586a0025c26f65df4b50e80e1e.zip
Version bump, don't mask as it seems to work oute quite fine anyway. We still don't have tests, but we unbundle term-ansicolor at least. Upstream has been contacted to see for a full tarball release for tests and documentation.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/coderay/ChangeLog11
-rw-r--r--dev-ruby/coderay/coderay-0.9.2_pre455.ebuild40
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-ruby/coderay/ChangeLog b/dev-ruby/coderay/ChangeLog
index 64b3309e9963..bb91cbe5a5b9 100644
--- a/dev-ruby/coderay/ChangeLog
+++ b/dev-ruby/coderay/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-ruby/coderay
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coderay/ChangeLog,v 1.15 2010/01/24 14:00:59 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coderay/ChangeLog,v 1.16 2010/02/19 10:32:59 flameeyes Exp $
+
+*coderay-0.9.2_pre455 (19 Feb 2010)
+
+ 19 Feb 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +coderay-0.9.2_pre455.ebuild:
+ Version bump, don't mask as it seems to work oute quite fine anyway. We
+ still don't have tests, but we unbundle term-ansicolor at least. Upstream
+ has been contacted to see for a full tarball release for tests and
+ documentation.
24 Jan 2010; Hans de Graaff <graaff@gentoo.org> -coderay-0.8.312.ebuild,
-coderay-0.8.357.ebuild, -coderay-0.8.357-r1.ebuild:
diff --git a/dev-ruby/coderay/coderay-0.9.2_pre455.ebuild b/dev-ruby/coderay/coderay-0.9.2_pre455.ebuild
new file mode 100644
index 000000000000..faa9b936009d
--- /dev/null
+++ b/dev-ruby/coderay/coderay-0.9.2_pre455.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coderay/coderay-0.9.2_pre455.ebuild,v 1.1 2010/02/19 10:32:59 flameeyes Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 jruby"
+
+if [ ${PV/_pre} != ${PV} ]; then
+ # Instead of the standard X.Y.Z.preT form, coderay is released as
+ # X.Y.Z.T.pre… since we need something sane for our versioning, we
+ # have to play with it around… sigh!
+ inherit versionator
+
+ prever=$(get_version_component_range 4)
+ RUBY_FAKEGEM_VERSION="$(get_version_component_range 1-3).${prever#pre}.pre"
+fi
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_EXTRADOC="lib/README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby library for syntax highlighting."
+HOMEPAGE="http://coderay.rubychan.de/"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+ # By default coderay seems to bundle an unused copy of
+ # term-ansicolor; we remove it so that we don't clutter with
+ # bundled libraries, but we don't depend on it since it's
+ # otherwise unused.
+ rm -r lib/term || die
+}