From: Diego Elio Pettenò Date: Mon, 26 Apr 2010 14:45:04 +0000 (+0000) Subject: Bump to 0.9.0 final; testsuite only works with Ruby 1.8, but it builds fine with... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7c5deb65e8dd07c0be04a0f1f0c50fbd0e186aba;p=gentoo.git Bump to 0.9.0 final; testsuite only works with Ruby 1.8, but it builds fine with 1.9 as well. Package-Manager: portage-2.2_rc67/cvs/Linux x86_64 --- diff --git a/dev-ruby/pg/ChangeLog b/dev-ruby/pg/ChangeLog index 1e35dd9d49ab..9fc3654d71a8 100644 --- a/dev-ruby/pg/ChangeLog +++ b/dev-ruby/pg/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/pg # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.10 2010/02/19 09:30:14 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.11 2010/04/26 14:45:03 flameeyes Exp $ + +*pg-0.9.0 (26 Apr 2010) + + 26 Apr 2010; Diego E. Pettenò + -pg-0.9.0_pre156.ebuild, +pg-0.9.0.ebuild: + Bump to 0.9.0 final; testsuite only works with Ruby 1.8, but it builds + fine with 1.9 as well. *pg-0.9.0_pre156 (19 Feb 2010) diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest index 847326d9502a..a405ba1fcd75 100644 --- a/dev-ruby/pg/Manifest +++ b/dev-ruby/pg/Manifest @@ -2,15 +2,15 @@ Hash: SHA1 DIST pg-0.8.0.gem 71680 RMD160 4d966f6eb01f9341e9bc6adac8f0367798f9cf2c SHA1 a00a560068901f13a01a814f7d98e47f7d494f0a SHA256 6b3319d7cce4fdaaa2ab149bec70dadeaeb21889f92fb4a7e37fbda0bac2c9c0 -DIST pg-0.9.0.pre156.gem 93696 RMD160 493280865a227e953239635ce340d053306a6d4f SHA1 7088836afd0ce9901b55325e6054166b801c1b1b SHA256 a72263f17aa93d2e21cb091151a693c0ace7ad3d8df03c4bff53e427d07f7a4c +DIST pg-0.9.0.gem 100352 RMD160 e1db8140493cda141c49569a2a209f07f75e3113 SHA1 40aca1b69c5b88a89d05598f6f062f33cb609b4b SHA256 cd277796982956bac3f21f01b80f9075fe8692799e0dcc6eb20905506a2354c6 EBUILD pg-0.8.0.ebuild 1228 RMD160 0176e4c112ac331a11debac57ebde29c5ac74d00 SHA1 709e0a07572f17113b13b5afea5d1169d216ae02 SHA256 a1e629900f7529967c323d9a74953100925869af130f17884d002cb37dfa626d -EBUILD pg-0.9.0_pre156.ebuild 1157 RMD160 7503443453fbe9a0423b8daf922757799dfe3183 SHA1 4bcc555b71d0dc9148e3de0d3dcf2bf73418d188 SHA256 ea72d20d18858d35ddf5a0385c7471b80984a949499d2a31ead797276a7c8808 -MISC ChangeLog 1540 RMD160 83913b3d5a97a4bef73042da29ac47af0818652b SHA1 089de02b06af04827f65fafb72f24414a9186f1d SHA256 27f2da381d5d90333c70bc49a5cc76c42f9b81db6ab9b92f47afb1217ce9e3ce +EBUILD pg-0.9.0.ebuild 1301 RMD160 7fcf6ad2dfa902fbdfef4de8fcd69b82cd430e12 SHA1 333f6cbab5dbea77b9fd949b46e5e243d648d74a SHA256 a1969af4c16ad9038c07992e618d3c49ccf98dc001037ca0ba9619417c9ada1e +MISC ChangeLog 1765 RMD160 7dd6b631531ad754f8f8f32855510b2706c992cc SHA1 89fd1c66e74670808ff9731efa498765ec9f502f SHA256 29302ffbed8ff9df4521794e1c72a1c7fd094483eca3f38241fe119ac11ab6c4 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) +Version: GnuPG v2.0.15 (GNU/Linux) -iEYEARECAAYFAkt+Wd0ACgkQAiZjviIA2XhGigCfd4xDukcf8jPEWSFry4QRj84c -aiIAoISZx0RhEo8M11J9D72vr9uCCs0E -=kd7q +iEYEARECAAYFAkvVpv0ACgkQAiZjviIA2XgolACeOYx3et8Eu/ItxQ9fZfMr2pf/ +8xsAoOV5wKloypWsVO5v8QDzuSnwHX/d +=sTS2 -----END PGP SIGNATURE----- diff --git a/dev-ruby/pg/pg-0.9.0.ebuild b/dev-ruby/pg/pg-0.9.0.ebuild new file mode 100644 index 000000000000..4f752b93bebf --- /dev/null +++ b/dev-ruby/pg/pg-0.9.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.9.0.ebuild,v 1.1 2010/04/26 14:45:04 flameeyes Exp $ + +EAPI=2 +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_TEST_TASK="spec" + +RUBY_FAKEGEM_TASK_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="docs/api" +RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors README" + +inherit ruby-fakegem + +DESCRIPTION="Ruby extension library providing an API to PostgreSQL" +HOMEPAGE="http://bitbucket.org/ged/ruby-pg/" + +LICENSE="|| ( GPL-2 Ruby )" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="dev-db/postgresql-base" +DEPEND="${RDEPEND} + test? ( dev-db/postgresql-server )" + +# For the rakefile (and thus doc generation and testing) to work as +# intended, you need both rake-compiler _and_ the real RubyGems +# package; what is shipped with Ruby 1.9 is not good enough as it +# lacks the packaging tasks for Rake. +ruby_add_bdepend doc "dev-ruby/rake-compiler dev-ruby/rubygems" +ruby_add_bdepend test "dev-ruby/rspec dev-ruby/rake-compiler dev-ruby/rubygems" + +each_ruby_configure() { + pushd ext + ${RUBY} extconf.rb || die "extconf.rb failed" + popd +} + +each_ruby_compile() { + pushd ext + emake CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "emake failed" + popd +} diff --git a/dev-ruby/pg/pg-0.9.0_pre156.ebuild b/dev-ruby/pg/pg-0.9.0_pre156.ebuild deleted file mode 100644 index 22b4db786398..000000000000 --- a/dev-ruby/pg/pg-0.9.0_pre156.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.9.0_pre156.ebuild,v 1.1 2010/02/19 09:30:14 flameeyes Exp $ - -EAPI=2 -USE_RUBY="ruby18 ruby19" - -# Tests will always fail because they need access to the pgsql server -RUBY_FAKEGEM_TEST_TASK="spec" -RESTRICT="test" - -# Disable documentation generation, until upstream problems with the -# build system are fixed, see: -# http://bitbucket.org/ged/ruby-pg/issue/15/080-gem-has-broken-rakefile -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_DOCDIR="doc/rdoc" -RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors README" - -inherit ruby-fakegem - -DESCRIPTION="Ruby extension library providing an API to PostgreSQL" -HOMEPAGE="http://bitbucket.org/ged/ruby-pg/" - -LICENSE="|| ( GPL-2 Ruby )" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -RDEPEND="dev-db/postgresql-base" -DEPEND="${RDEPEND}" - -each_ruby_compile() { - pushd "${S}"/ext - ${RUBY} extconf.rb || die "extconf.rb failed" - emake || die "emake failed" - popd -} - -each_ruby_install() { - ruby_fakegem_newins ext/pg_ext.so lib/pg_ext.so - each_fakegem_install -}