public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/ruby-overlay:master commit in: dev-ruby/do_sqlite3/
@ 2011-04-24 18:40 Hans de Graaff
  0 siblings, 0 replies; 3+ messages in thread
From: Hans de Graaff @ 2011-04-24 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     40e7c199ceb289eec4db3eaeee720271c686810d
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Sun Apr 24 18:34:55 2011 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Apr 24 18:34:55 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=40e7c199

Version bump.

(Portage version: 2.1.9.42/git/Linux x86_64, signed Manifest commit with key 0xAE7BB49B0EBD264A!)

---
 dev-ruby/do_sqlite3/ChangeLog                |    7 +++-
 dev-ruby/do_sqlite3/do_sqlite3-0.10.3.ebuild |   47 ++++++++++++++++++++++++++
 2 files changed, 53 insertions(+), 1 deletions(-)

diff --git a/dev-ruby/do_sqlite3/ChangeLog b/dev-ruby/do_sqlite3/ChangeLog
index 78e0bf5..e9f55e3 100644
--- a/dev-ruby/do_sqlite3/ChangeLog
+++ b/dev-ruby/do_sqlite3/ChangeLog
@@ -1,7 +1,12 @@
 # ChangeLog for dev-ruby/do_sqlite3
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*do_sqlite3-0.10.3 (24 Apr 2011)
+
+  24 Apr 2011; Hans de Graaff <graaff@gentoo.org> +do_sqlite3-0.10.3.ebuild:
+  Version bump.
+
 *do_sqlite3-0.10.2 (15 Aug 2010)
 
   15 Aug 2010; Hans de Graaff <graaff@gentoo.org> -do_sqlite3-0.9.9.ebuild,

diff --git a/dev-ruby/do_sqlite3/do_sqlite3-0.10.3.ebuild b/dev-ruby/do_sqlite3/do_sqlite3-0.10.3.ebuild
new file mode 100644
index 0000000..86a96e0
--- /dev/null
+++ b/dev-ruby/do_sqlite3/do_sqlite3-0.10.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="ChangeLog.markdown README.markdown"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="A DataObjects driver for SQLite3"
+HOMEPAGE="http://rubyforge.org/projects/dorb"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+# Specs depend on spec files from data_objects, which we no longer
+# install by default.
+#RESTRICT="test"
+
+RDEPEND="${RDEPEND} dev-db/sqlite:3"
+DEPEND="${DEPEND} dev-db/sqlite:3"
+
+ruby_add_bdepend "test? ( dev-ruby/jeweler dev-ruby/bacon )"
+
+ruby_add_rdepend "=dev-ruby/data_objects-${PV}"
+
+each_ruby_configure() {
+	${RUBY} -Cext/do_sqlite3 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
+	# the lazy load of other extensions; see bug #320545.
+	find . -name Makefile -print0 | xargs -0 \
+		sed -i -e 's:-Wl,--no-undefined::' || die "--no-undefined removal failed"
+
+	emake -Cext/do_sqlite3 || die
+	mv ext/do_sqlite3/*$(get_modname) lib/ || die
+}



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

* [gentoo-commits] proj/ruby-overlay:master commit in: dev-ruby/do_sqlite3/
@ 2013-11-06 23:11 Peter Wilmott
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Wilmott @ 2013-11-06 23:11 UTC (permalink / raw
  To: gentoo-commits

commit:     9285ddd704cd686dffe0934036a9e94d8cc53c88
Author:     Peter Wilmott <p <AT> p8952 <DOT> info>
AuthorDate: Wed Nov  6 23:08:48 2013 +0000
Commit:     Peter Wilmott <p <AT> p8952 <DOT> info>
CommitDate: Wed Nov  6 23:08:48 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=9285ddd7

dev-ruby/do_sqlite3: Unset doc task and remove dependency on rake-compiler

Package-Manager: portage-2.2.7

---
 dev-ruby/do_sqlite3/ChangeLog                 |  3 +++
 dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild | 16 +++++++++++++---
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/do_sqlite3/ChangeLog b/dev-ruby/do_sqlite3/ChangeLog
index 3be7f91..be5c73a 100644
--- a/dev-ruby/do_sqlite3/ChangeLog
+++ b/dev-ruby/do_sqlite3/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  06 Nov 2013; Peter Wilmott <p@p8952.info> do_sqlite3-0.10.13.ebuild:
+  dev-ruby/do_sqlite3: Unset doc task and remove dependency on rake-compiler
+
 *do_sqlite3-0.10.13 (29 Oct 2013)
 
   29 Oct 2013; Peter Wilmott <p@p8952.info> +do_sqlite3-0.10.13.ebuild,

diff --git a/dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild b/dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild
index 11ff841..5d416f1 100644
--- a/dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild
+++ b/dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild
@@ -6,12 +6,12 @@ EAPI=5
 USE_RUBY="ruby19"
 
 RUBY_FAKEGEM_TASK_TEST="spec"
-RUBY_FAKEGEM_TASK_DOC="yard"
+RUBY_FAKEGEM_TASK_DOC=""
 
 RUBY_FAKEGEM_DOCDIR="doc"
 RUBY_FAKEGEM_EXTRADOC="README.markdown"
 
-inherit ruby-fakegem
+inherit multilib ruby-fakegem
 
 DESCRIPTION="Implements the DataObjects API for Sqlite3"
 HOMEPAGE="http://datamapper.org/"
@@ -24,10 +24,20 @@ IUSE=""
 DEPEND+="dev-db/sqlite:3"
 
 ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.8.7 )"
-ruby_add_bdepend "test? ( dev-ruby/rake-compiler dev-ruby/rspec:2 )"
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
 
 ruby_add_rdepend "dev-ruby/data_objects"
 
 all_ruby_prepare() {
 	cp "${FILESDIR}/${PN}.gemspec" "${WORKDIR}/all/${P}/${PN}.gemspec"
+	sed -i -e 's/, :compile//g' tasks/spec.rake 
+}
+
+each_ruby_configure() {
+	${RUBY} -Cext/do_sqlite3 extconf.rb || die
+}
+
+each_ruby_compile() {
+	emake -Cext/do_sqlite3 V=1
+	cp -v ext/do_sqlite3/*$(get_modname) lib/ || die
 }


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

* [gentoo-commits] proj/ruby-overlay:master commit in: dev-ruby/do_sqlite3/
@ 2013-11-07 21:20 Peter Wilmott
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Wilmott @ 2013-11-07 21:20 UTC (permalink / raw
  To: gentoo-commits

commit:     5bb4fb3733713a51e3f7fb60e7bc3d9a4ab8d4ff
Author:     Peter Wilmott <p <AT> p8952 <DOT> info>
AuthorDate: Thu Nov  7 21:19:37 2013 +0000
Commit:     Peter Wilmott <p <AT> p8952 <DOT> info>
CommitDate: Thu Nov  7 21:19:37 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=5bb4fb37

dev-ruby/do_sqlite3: Prevent 'rake clean' from deleting do_sqlite3.so

Package-Manager: portage-2.2.7

---
 dev-ruby/do_sqlite3/ChangeLog                 | 3 +++
 dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/do_sqlite3/ChangeLog b/dev-ruby/do_sqlite3/ChangeLog
index be5c73a..2710666 100644
--- a/dev-ruby/do_sqlite3/ChangeLog
+++ b/dev-ruby/do_sqlite3/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  07 Nov 2013; Peter Wilmott <p@p8952.info> do_sqlite3-0.10.13.ebuild:
+  dev-ruby/do_sqlite3: Prevent 'rake clean' from deleting do_sqlite3.so
+
   06 Nov 2013; Peter Wilmott <p@p8952.info> do_sqlite3-0.10.13.ebuild:
   dev-ruby/do_sqlite3: Unset doc task and remove dependency on rake-compiler
 

diff --git a/dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild b/dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild
index 5d416f1..04a690a 100644
--- a/dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild
+++ b/dev-ruby/do_sqlite3/do_sqlite3-0.10.13.ebuild
@@ -30,7 +30,8 @@ ruby_add_rdepend "dev-ruby/data_objects"
 
 all_ruby_prepare() {
 	cp "${FILESDIR}/${PN}.gemspec" "${WORKDIR}/all/${P}/${PN}.gemspec"
-	sed -i -e 's/, :compile//g' tasks/spec.rake 
+	sed -i -e 's/, :compile//g' tasks/spec.rake
+	sed -i -e 's/.so//g' Rakefile
 }
 
 each_ruby_configure() {
@@ -39,5 +40,5 @@ each_ruby_configure() {
 
 each_ruby_compile() {
 	emake -Cext/do_sqlite3 V=1
-	cp -v ext/do_sqlite3/*$(get_modname) lib/ || die
+	mv ext/do_sqlite3/*$(get_modname) lib/do_sqlite3 || die
 }


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

end of thread, other threads:[~2013-11-07 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07 21:20 [gentoo-commits] proj/ruby-overlay:master commit in: dev-ruby/do_sqlite3/ Peter Wilmott
  -- strict thread matches above, loose matches on Subject: below --
2013-11-06 23:11 Peter Wilmott
2011-04-24 18:40 Hans de Graaff

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