summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-04-22 07:11:50 +0000
committerHans de Graaff <graaff@gentoo.org>2012-04-22 07:11:50 +0000
commit2fba932daae40d9f5df61339b207ffba190fee33 (patch)
treed6a3e612b5783b1c3239748e301fb0d6693d11fe
parentVersion bump. Run tests. Add ree18 and ruby19. (diff)
downloadgentoo-2-2fba932daae40d9f5df61339b207ffba190fee33.tar.gz
gentoo-2-2fba932daae40d9f5df61339b207ffba190fee33.tar.bz2
gentoo-2-2fba932daae40d9f5df61339b207ffba190fee33.zip
Version bump.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
-rw-r--r--dev-ruby/tidy-ext/ChangeLog7
-rw-r--r--dev-ruby/tidy-ext/tidy-ext-0.1.12.ebuild35
2 files changed, 41 insertions, 1 deletions
diff --git a/dev-ruby/tidy-ext/ChangeLog b/dev-ruby/tidy-ext/ChangeLog
index 5a67774d9a08..0aca86b4d76f 100644
--- a/dev-ruby/tidy-ext/ChangeLog
+++ b/dev-ruby/tidy-ext/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/tidy-ext
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/ChangeLog,v 1.8 2012/01/03 18:14:33 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/ChangeLog,v 1.9 2012/04/22 07:11:50 graaff Exp $
+
+*tidy-ext-0.1.12 (22 Apr 2012)
+
+ 22 Apr 2012; Hans de Graaff <graaff@gentoo.org> +tidy-ext-0.1.12.ebuild:
+ Version bump.
03 Jan 2012; Jeroen Roovers <jer@gentoo.org> tidy-ext-0.1.11.ebuild:
Marked ~hppa (bug #396663).
diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.12.ebuild b/dev-ruby/tidy-ext/tidy-ext-0.1.12.ebuild
new file mode 100644
index 000000000000..79e8179d1173
--- /dev/null
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.12.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/tidy-ext-0.1.12.ebuild,v 1.1 2012/04/22 07:11:50 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension."
+HOMEPAGE="http://github.com/carld/tidy"
+
+LICENSE="HTML-Tidy"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:0 )"
+
+each_ruby_prepare() {
+ mkdir lib || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension."
+}
+
+each_ruby_compile() {
+ emake -Cext/tidy || die
+ cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension."
+}