public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/ruby-overlay:master commit in: dev-ruby/dm-types/
@ 2013-10-29 19:18 Peter Wilmott
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Wilmott @ 2013-10-29 19:18 UTC (permalink / raw
  To: gentoo-commits

commit:     342fff53c06e963e66d6af0b895e33db942fa666
Author:     Peter Wilmott <p <AT> p8952 <DOT> info>
AuthorDate: Tue Oct 29 18:53:51 2013 +0000
Commit:     Peter Wilmott <p <AT> p8952 <DOT> info>
CommitDate: Tue Oct 29 18:53:51 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=342fff53

dev-ruby/dm-types: Initial commit, dependency for datamapper(dm)-1.2.x

Package-Manager: portage-2.2.7

---
 dev-ruby/dm-types/ChangeLog             |  9 ++++++
 dev-ruby/dm-types/dm-types-1.2.2.ebuild | 50 +++++++++++++++++++++++++++++++++
 dev-ruby/dm-types/metadata.xml          |  5 ++++
 3 files changed, 64 insertions(+)

diff --git a/dev-ruby/dm-types/ChangeLog b/dev-ruby/dm-types/ChangeLog
new file mode 100644
index 0000000..0adfe24
--- /dev/null
+++ b/dev-ruby/dm-types/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-ruby/dm-types
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*dm-types-1.2.2 (29 Oct 2013)
+
+  29 Oct 2013; Peter Wilmott <p@p8952.info> +dm-types-1.2.2.ebuild,
+  +metadata.xml:
+  dev-ruby/dm-types: Initial commit, dependency for datamapper(dm)-1.2.x

diff --git a/dev-ruby/dm-types/dm-types-1.2.2.ebuild b/dev-ruby/dm-types/dm-types-1.2.2.ebuild
new file mode 100644
index 0000000..53c60d8
--- /dev/null
+++ b/dev-ruby/dm-types/dm-types-1.2.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+USE_RUBY="ruby19"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+RUBY_FAKEGEM_TASK_DOC="yard"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="DataMapper plugin providing extra data types"
+HOMEPAGE="http://datamapper.org/"
+
+RUBY_FAKEGEM_GEMSPEC="dm-types.gemspec"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "doc? ( dev-ruby/jeweler >=dev-ruby/yard-0.8.7 )"
+ruby_add_bdepend "test? (
+	=dev-ruby/dm-migrations-1.2.0
+	=dev-ruby/dm-validations-1.2.0
+	dev-ruby/jeweler
+	dev-ruby/rspec:0 )"
+
+ruby_add_rdepend "
+	=dev-ruby/dm-core-1.2.1
+	>=dev-ruby/bcrypt-ruby-3.0
+	>=dev-ruby/multi_json-1.0
+	>=dev-ruby/stringex-1.4
+	>=dev-ruby/uuidtools-2.1"
+
+all_ruby_prepare() {
+	sed -i -e "s/gem 'jeweler'/#gem 'jeweler'/g" Rakefile || die
+
+	sed -i -e "s/'bcrypt-ruby', '~> 3.0'/'bcrypt-ruby', '>= 3.0'/g" \
+	dm-types.gemspec || die
+
+	sed -i -e "s/'stringex',    '~> 1.4'/'stringex',    '>= 1.4'/g" \
+	dm-types.gemspec || die
+
+	sed -i -e '/fastercsv/d' dm-types.gemspec || die
+}

diff --git a/dev-ruby/dm-types/metadata.xml b/dev-ruby/dm-types/metadata.xml
new file mode 100644
index 0000000..8521361
--- /dev/null
+++ b/dev-ruby/dm-types/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/ruby-overlay:master commit in: dev-ruby/dm-types/
@ 2013-11-12 19:42 Peter Wilmott
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Wilmott @ 2013-11-12 19:42 UTC (permalink / raw
  To: gentoo-commits

commit:     40cdf8c31dce6734328f144c6f12dfe9a1f247e7
Author:     Peter Wilmott <p <AT> p8952 <DOT> info>
AuthorDate: Tue Nov 12 19:19:48 2013 +0000
Commit:     Peter Wilmott <p <AT> p8952 <DOT> info>
CommitDate: Tue Nov 12 19:19:48 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=40cdf8c3

dm-types: Use versionator + slots

Package-Manager: portage-2.2.7

---
 dev-ruby/dm-types/ChangeLog             | 3 +++
 dev-ruby/dm-types/dm-types-1.2.2.ebuild | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-ruby/dm-types/ChangeLog b/dev-ruby/dm-types/ChangeLog
index 0adfe24..0d0582b 100644
--- a/dev-ruby/dm-types/ChangeLog
+++ b/dev-ruby/dm-types/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  12 Nov 2013; Peter Wilmott <p@p8952.info> dm-types-1.2.2.ebuild:
+  dm-types: Use versionator + slots
+
 *dm-types-1.2.2 (29 Oct 2013)
 
   29 Oct 2013; Peter Wilmott <p@p8952.info> +dm-types-1.2.2.ebuild,

diff --git a/dev-ruby/dm-types/dm-types-1.2.2.ebuild b/dev-ruby/dm-types/dm-types-1.2.2.ebuild
index 53c60d8..e69afc7 100644
--- a/dev-ruby/dm-types/dm-types-1.2.2.ebuild
+++ b/dev-ruby/dm-types/dm-types-1.2.2.ebuild
@@ -11,7 +11,7 @@ RUBY_FAKEGEM_TASK_DOC="yard"
 RUBY_FAKEGEM_DOCDIR="doc"
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"
 
-inherit ruby-fakegem
+inherit ruby-fakegem versionator
 
 DESCRIPTION="DataMapper plugin providing extra data types"
 HOMEPAGE="http://datamapper.org/"
@@ -19,19 +19,19 @@ HOMEPAGE="http://datamapper.org/"
 RUBY_FAKEGEM_GEMSPEC="dm-types.gemspec"
 
 LICENSE="MIT"
-SLOT="0"
+SLOT="$(get_version_component_range 1-2)"
 KEYWORDS="~amd64"
 IUSE=""
 
 ruby_add_bdepend "doc? ( dev-ruby/jeweler >=dev-ruby/yard-0.8.7 )"
 ruby_add_bdepend "test? (
-	=dev-ruby/dm-migrations-1.2.0
+	dev-ruby/dm-migrations:1.2
 	=dev-ruby/dm-validations-1.2.0
 	dev-ruby/jeweler
 	dev-ruby/rspec:0 )"
 
 ruby_add_rdepend "
-	=dev-ruby/dm-core-1.2.1
+	dev-ruby/dm-core:1.2
 	>=dev-ruby/bcrypt-ruby-3.0
 	>=dev-ruby/multi_json-1.0
 	>=dev-ruby/stringex-1.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-12 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-29 19:18 [gentoo-commits] proj/ruby-overlay:master commit in: dev-ruby/dm-types/ Peter Wilmott
  -- strict thread matches above, loose matches on Subject: below --
2013-11-12 19:42 Peter Wilmott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox