summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-11-22 01:49:51 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-11-22 01:49:51 +0000
commit08be620f1a6e205d543cf62ececd5009ff739793 (patch)
tree7cacb2bf2becc677c1d9e258c380bc426099e8da /dev-ruby/stamp
parentFix ffmpeg configuration on ARM, thanks to Michael Kurinnov on bug 491466. En... (diff)
downloadgentoo-2-08be620f1a6e205d543cf62ececd5009ff739793.tar.gz
gentoo-2-08be620f1a6e205d543cf62ececd5009ff739793.tar.bz2
gentoo-2-08be620f1a6e205d543cf62ececd5009ff739793.zip
Add improvements from dev-zero's overlay.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/stamp')
-rw-r--r--dev-ruby/stamp/ChangeLog8
-rw-r--r--dev-ruby/stamp/stamp-0.5.0-r1.ebuild42
-rw-r--r--dev-ruby/stamp/stamp-0.5.0.ebuild20
3 files changed, 49 insertions, 21 deletions
diff --git a/dev-ruby/stamp/ChangeLog b/dev-ruby/stamp/ChangeLog
index 6581e58fc088..73999ea42b4c 100644
--- a/dev-ruby/stamp/ChangeLog
+++ b/dev-ruby/stamp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/stamp
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stamp/ChangeLog,v 1.1 2013/11/20 15:33:30 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stamp/ChangeLog,v 1.2 2013/11/22 01:49:51 mrueg Exp $
+
+*stamp-0.5.0-r1 (22 Nov 2013)
+
+ 22 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +stamp-0.5.0-r1.ebuild,
+ -stamp-0.5.0.ebuild:
+ Add improvements from dev-zero's overlay.
*stamp-0.5.0 (20 Nov 2013)
diff --git a/dev-ruby/stamp/stamp-0.5.0-r1.ebuild b/dev-ruby/stamp/stamp-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..02a1a32dc865
--- /dev/null
+++ b/dev-ruby/stamp/stamp-0.5.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stamp/stamp-0.5.0-r1.ebuild,v 1.1 2013/11/22 01:49:51 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_RECIPE_TEST="cucumber"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+inherit ruby-fakegem
+
+
+DESCRIPTION="Date and time formatting for humans"
+HOMEPAGE="https://github.com/jeremyw/stamp"
+SRC_URI="https://github.com/jeremyw/stamp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND=""
+
+ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' Rakefile || die "sed failed"
+ sed -i -e '/bundler/,+7d' features/support/env.rb || die "sed failed"
+}
+
+all_ruby_compile() {
+ all_fakegem_compile
+
+ if use doc ; then
+ yard || die "yard failed"
+ fi
+}
diff --git a/dev-ruby/stamp/stamp-0.5.0.ebuild b/dev-ruby/stamp/stamp-0.5.0.ebuild
deleted file mode 100644
index 45750e4fbef1..000000000000
--- a/dev-ruby/stamp/stamp-0.5.0.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stamp/stamp-0.5.0.ebuild,v 1.1 2013/11/20 15:33:30 mrueg Exp $
-
-EAPI=5
-USE_RUBY="ruby18 ruby19"
-
-RUBY_FAKEGEM_EXTRADOC="README.md"
-RUBY_FAKEGEM_RECIPE_TEST="cucumber"
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Date and time formatting for humans"
-HOMEPAGE="https://github.com/jeremyw/stamp"
-LICENSE="MIT"
-
-KEYWORDS="~amd64"
-SLOT="0"
-IUSE=""