From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/graaff:master commit in: dev-ruby/krb5-auth/
Date: Tue, 16 Sep 2014 09:21:10 +0000 (UTC) [thread overview]
Message-ID: <1410859257.66ef49d85c2dda1f4043997985a2d866d0494716.graaff@gentoo> (raw)
commit: 66ef49d85c2dda1f4043997985a2d866d0494716
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Tue Sep 16 09:20:57 2014 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 09:20:57 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=66ef49d8
Add ruby20, ruby21. EAPI=5. Work around deprecated rake code.
Package-Manager: portage-2.2.8-r1
---
dev-ruby/krb5-auth/ChangeLog | 7 +++-
dev-ruby/krb5-auth/krb5-auth-0.7-r5.ebuild | 54 ++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+), 1 deletion(-)
diff --git a/dev-ruby/krb5-auth/ChangeLog b/dev-ruby/krb5-auth/ChangeLog
index 956f63d..4a6873d 100644
--- a/dev-ruby/krb5-auth/ChangeLog
+++ b/dev-ruby/krb5-auth/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for dev-ruby/krb5-auth
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*krb5-auth-0.7-r5 (16 Sep 2014)
+
+ 16 Sep 2014; Hans de Graaff <graaff@gentoo.org> +krb5-auth-0.7-r5.ebuild:
+ Add ruby20, ruby21. EAPI=5. Work around deprecated rake code.
+
*krb5-auth-0.7-r4 (11 Oct 2012)
11 Oct 2012; Hans de Graaff <graaff@gentoo.org> +krb5-auth-0.7-r4.ebuild,
diff --git a/dev-ruby/krb5-auth/krb5-auth-0.7-r5.ebuild b/dev-ruby/krb5-auth/krb5-auth-0.7-r5.ebuild
new file mode 100644
index 0000000..c90b44b
--- /dev/null
+++ b/dev-ruby/krb5-auth/krb5-auth-0.7-r5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README TODO example.rb"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_EXTRAINSTALL="ext"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby bindings for the Kerberos library"
+HOMEPAGE="http://rubyforge.org/projects/krb5-auth/"
+LICENSE="GPL-2"
+
+KEYWORDS="~amd64 ~x86 ~x86-macos"
+SLOT="0"
+IUSE=""
+
+DEPEND="${DEPEND} virtual/krb5"
+RDEPEND="${RDEPEND} virtual/krb5"
+
+RUBY_PATCHES=( ${P}-ruby19.patch )
+
+all_ruby_prepare() {
+ # Move the example out of the bin directory to avoid auto-installation
+ mv bin/example.rb . || die
+ rmdir bin || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die
+}
+
+each_ruby_compile() {
+ # We have injected --no-undefined in Ruby as a safety precaution
+ # against broken ebuilds, but these bindings unfortunately rely on
+ # a symbol that cannot be linked directly.
+ find . -name Makefile -print0 | xargs -0 \
+ sed -i -e 's:-Wl,--no-undefined::' || die "--no-undefined removal failed"
+
+ emake V=1 -Cext || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ dodoc example.rb
+}
next reply other threads:[~2014-09-16 9:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-16 9:21 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-01 4:57 [gentoo-commits] dev/graaff:master commit in: dev-ruby/krb5-auth/ Hans de Graaff
2011-06-03 11:32 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1410859257.66ef49d85c2dda1f4043997985a2d866d0494716.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox