summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/pg/ChangeLog7
-rw-r--r--dev-ruby/pg/Manifest10
-rw-r--r--dev-ruby/pg/pg-0.10.1.ebuild54
3 files changed, 66 insertions, 5 deletions
diff --git a/dev-ruby/pg/ChangeLog b/dev-ruby/pg/ChangeLog
index efaa5d1d21de..d5742f82194c 100644
--- a/dev-ruby/pg/ChangeLog
+++ b/dev-ruby/pg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/pg
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.21 2011/01/02 15:42:16 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.22 2011/01/19 20:29:40 graaff Exp $
+
+*pg-0.10.1 (19 Jan 2011)
+
+ 19 Jan 2011; Hans de Graaff <graaff@gentoo.org> +pg-0.10.1.ebuild:
+ Version bump.
*pg-0.10.0 (02 Jan 2011)
diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 310aa6110116..a06ef0ea0978 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -2,15 +2,17 @@
Hash: SHA256
DIST pg-0.10.0.gem 113152 RMD160 275bb3a173a952f6d9d81121625d995940a53e99 SHA1 0b9031187af42b2ce8416800a553c602e15a75c1 SHA256 8e891eaa62769b6e3d52545b87cc27f0a76357ecc8dd784599be297fe71aa319
+DIST pg-0.10.1.gem 113664 RMD160 b5ef41c64357c4a92b39179647fa04b90a549b4d SHA1 37c97087235128296a30e89c9294aa32bff9d6d6 SHA256 af1e71ebe15bb4ee17bc42a221040fae15ddaf61592f7b8010df60a38acab597
DIST pg-0.9.0.gem 100352 RMD160 e1db8140493cda141c49569a2a209f07f75e3113 SHA1 40aca1b69c5b88a89d05598f6f062f33cb609b4b SHA256 cd277796982956bac3f21f01b80f9075fe8692799e0dcc6eb20905506a2354c6
EBUILD pg-0.10.0.ebuild 1396 RMD160 6e8165be325690691142738eaf0303f58218150b SHA1 ea22e1b61308c197d5bb24677cec94f6672bdce7 SHA256 0e07736b2512e57b6a184562a4961f3b6dc884dbcd1db02a77c15a93348f3ed0
+EBUILD pg-0.10.1.ebuild 1393 RMD160 3781c2a793eeab4e0b7f639359176d386f1d58ea SHA1 3348089530a8265ffe7045a959a5db102de31222 SHA256 087fe5908a8aec81807ecf92b203c9e3b7e916b4739f31a905e62fa971bfa339
EBUILD pg-0.9.0-r1.ebuild 1628 RMD160 91ef930a84d028b74fbf5cdc88e6bff4c4a5bb87 SHA1 eecf89c9d1f575b958f8c93d665a0208f6411723 SHA256 5985d8cd5ad5eef9d3b1595e3f9def6b34cafec1fc863a41822c36f2d51f2f4e
-MISC ChangeLog 2989 RMD160 b7a6f83ec7feea15f2c735902a444fef2372d15f SHA1 fcae418aeba4e0f60f4014b9a737c644b7288e53 SHA256 4a816b7038f57d33e857d1b5e520921f72de3c2e696965704048f395bc3ed62a
+MISC ChangeLog 3101 RMD160 ec318a0599790a59170ffe89728e8138a6e226a5 SHA1 de53cf2e8077b610ae361e1aab5ad55bcd46f216 SHA256 0fb32bdddf6c91654251f2cd1cb6941dc85951185308fef9a3904b6473dfdef5
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iF4EAREIAAYFAk0gnN0ACgkQrnu0mw69JkrbfQD9Ep4TeGR0rDuwXvzS7tN5kiGD
-6VZtmPbak3/moU1KzqsA/2lL0MwJsSAi51bpg91E+mXXpSGpsM1J/bVsv12ns6Wk
-=wsTC
+iF4EAREIAAYFAk03SbkACgkQrnu0mw69Jko0oQD/ZxEq81Ypf9zI3L/wh4J8u0ue
+sX+hXLVN4oM5ga61C0YA/RCVh+RTeGdoizKWslffIY8x8QkoVmj+GmP41qIlln2u
+=b1BN
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/pg/pg-0.10.1.ebuild b/dev-ruby/pg/pg-0.10.1.ebuild
new file mode 100644
index 000000000000..829d8ddf1232
--- /dev/null
+++ b/dev-ruby/pg/pg-0.10.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.10.1.ebuild,v 1.1 2011/01/19 20:29:40 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18 ruby19"
+
+RUBY_FAKEGEM_TEST_TASK=""
+
+RUBY_FAKEGEM_TASK_DOC="apidocs"
+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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND="${RDEPEND}
+ dev-db/postgresql-base"
+DEPEND="${DEPEND}
+ dev-db/postgresql-base
+ test? ( dev-db/postgresql-server )"
+
+ruby_add_bdepend "
+ doc? (
+ dev-ruby/rake-compiler
+ dev-ruby/rubygems )
+ test? ( dev-ruby/rspec:2 )"
+
+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
+ cp ext/*.so lib || die
+}
+
+each_ruby_test() {
+ # Make the rspec call explicit, this way we don't have to depend
+ # on rake-compiler (nor rubygems) _and_ we don't have to rebuild
+ # the whole extension from scratch.
+ ${RUBY} -Ilib -S rspec -fs spec/*_spec.rb || die "spec failed"
+}