summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-02-16 15:52:02 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-02-16 15:52:02 +0000
commitf676ff62ac24b9c69cee1f9689758743bde34d9c (patch)
treeda30c6cd64f6abd5ed8c78e43a09dc6c8e7308c3 /dev-ruby/rack-openid
parentVersion bump. Add ruby21 target. (diff)
downloadgentoo-2-f676ff62ac24b9c69cee1f9689758743bde34d9c.tar.gz
gentoo-2-f676ff62ac24b9c69cee1f9689758743bde34d9c.tar.bz2
gentoo-2-f676ff62ac24b9c69cee1f9689758743bde34d9c.zip
Version bump. Add ruby20 target. Drop ruby18.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/rack-openid')
-rw-r--r--dev-ruby/rack-openid/ChangeLog10
-rw-r--r--dev-ruby/rack-openid/rack-openid-1.4.2.ebuild34
2 files changed, 41 insertions, 3 deletions
diff --git a/dev-ruby/rack-openid/ChangeLog b/dev-ruby/rack-openid/ChangeLog
index 3a423860aea7..cbe7ff9abd53 100644
--- a/dev-ruby/rack-openid/ChangeLog
+++ b/dev-ruby/rack-openid/ChangeLog
@@ -1,10 +1,14 @@
# ChangeLog for dev-ruby/rack-openid
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-openid/ChangeLog,v 1.1 2013/04/30 13:47:20 graaff Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-openid/ChangeLog,v 1.2 2014/02/16 15:52:02 mrueg Exp $
+
+*rack-openid-1.4.2 (16 Feb 2014)
+
+ 16 Feb 2014; Manuel Rüger <mrueg@gentoo.org> +rack-openid-1.4.2.ebuild:
+ Version bump. Add ruby20 target. Drop ruby18.
*rack-openid-1.3.1 (30 Apr 2013)
30 Apr 2013; Hans de Graaff <graaff@gentoo.org> +rack-openid-1.3.1.ebuild,
+metadata.xml:
Initial import. Optional dependency for redmine. Imported from my overlay.
-
diff --git a/dev-ruby/rack-openid/rack-openid-1.4.2.ebuild b/dev-ruby/rack-openid/rack-openid-1.4.2.ebuild
new file mode 100644
index 000000000000..690a07c00257
--- /dev/null
+++ b/dev-ruby/rack-openid/rack-openid-1.4.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-openid/rack-openid-1.4.2.ebuild,v 1.1 2014/02/16 15:52:02 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="Readme.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides a more HTTPish API around the ruby-openid library."
+SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://github.com/grosser/rack-openid"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/ruby-openid-2.1.8 >=dev-ruby/rack-1.1.0"
+
+all_ruby_prepare() {
+ sed -i -e '/[Bb]undler/d' -e '/minitest\/rg/d' -e '/[Ll]og/d' test/helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib test/test_rack_openid.rb || die
+ # Needs unpackaged rots dependency https://github.com/roman/rots
+ # No release available right now
+ #${RUBY} -Ilib test/test_integration.rb || die
+}