summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-12-13 00:57:51 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-12-13 00:57:51 +0000
commit431f29eeeda9a84307c0d4aab1485067f790a709 (patch)
treebf4058135442740b0ec061f7ceb673e3c5e681c3 /dev-ruby/pg
parentautomatically create a tarball of all config.log files when we fail, and tell... (diff)
downloadhistorical-431f29eeeda9a84307c0d4aab1485067f790a709.tar.gz
historical-431f29eeeda9a84307c0d4aab1485067f790a709.tar.bz2
historical-431f29eeeda9a84307c0d4aab1485067f790a709.zip
Version bump.
Package-Manager: portage-2.2.0_alpha80/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/pg')
-rw-r--r--dev-ruby/pg/ChangeLog7
-rw-r--r--dev-ruby/pg/Manifest12
-rw-r--r--dev-ruby/pg/pg-0.12.0.ebuild60
3 files changed, 73 insertions, 6 deletions
diff --git a/dev-ruby/pg/ChangeLog b/dev-ruby/pg/ChangeLog
index c1164a58db8f..97028099824d 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.40 2011/11/27 15:17:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.41 2011/12/13 00:57:51 flameeyes Exp $
+
+*pg-0.12.0 (13 Dec 2011)
+
+ 13 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org> +pg-0.12.0.ebuild:
+ Version bump.
27 Nov 2011; Raúl Porcel <armin76@gentoo.org> pg-0.11.0.ebuild:
ia64/sparc stable wrt #387915
diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 61af4eda00db..079514066c91 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -2,15 +2,17 @@
Hash: SHA1
DIST pg-0.11.0.gem 115200 RMD160 17ce2b76b3cf83416fbc7cfb327c3848acc5716b SHA1 d5aba27392dbfc0dd24ec39ce008b5c9daef3091 SHA256 0c1b91c925439beeb9f03cfb5a71998dc7d4b73754c634f7219a3f36240d65cd
+DIST pg-0.12.0.gem 107008 RMD160 3d50977babf23043beade3379f50abaca0c569c7 SHA1 28df0b4432daa90683213e0449a1ee975b7240a4 SHA256 97cb6386089861f259d03bd092e717a809446a2333a17dac4f5c2d4d9384b400
DIST pg-0.9.0.gem 100352 RMD160 e1db8140493cda141c49569a2a209f07f75e3113 SHA1 40aca1b69c5b88a89d05598f6f062f33cb609b4b SHA256 cd277796982956bac3f21f01b80f9075fe8692799e0dcc6eb20905506a2354c6
EBUILD pg-0.11.0.ebuild 1562 RMD160 33c77989e78c1784f3fa15b3648aef7506f96b61 SHA1 51ac8191047195ffd78eacbc9b853d3398101c16 SHA256 da1aeb64dde59bdfa894030f12e4ad25899d37036dca7d67d31c103864a1c6ea
+EBUILD pg-0.12.0.ebuild 1606 RMD160 3eccec2b13e06648cf09a80de697d8a032f95a7a SHA1 f610a806fa5f081fa2aff5722123340b100f0b43 SHA256 5c074f78ad193f2ea607b660f7a17bc643da9c54a90d4975fbf80d68ad3cca2d
EBUILD pg-0.9.0-r1.ebuild 1774 RMD160 240a6d10fa54283d852ae04739143fb47176c0ea SHA1 817e187ac437df279853c868b3fefbd7117c60bc SHA256 0d9aba3f734e7d3fb8946140101249fd537d9024168b372fdcba7931a51374cd
-MISC ChangeLog 5121 RMD160 af463eb1105ffc43b07bedc0d6582e3156b0837c SHA1 39434911cf31047ff6d3e6ea9e65d05a802615d0 SHA256 dc02af8cbae12cffd940893b70384d25c250c1ad4355482c0aacc0c6e79fb8ae
+MISC ChangeLog 5241 RMD160 97ac136354316f86afcf203b3c6be5b575a6acb4 SHA1 b1e521fbacdeb6bacfd4d0c9680100b3e79e688f SHA256 af5d591f6a4d75ff79a540c6a5be1b6963bb29a275ab3c0e813e4890a92a45ba
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk7SVH8ACgkQuQc30/atMkAzDgCgnZdq0/z6tboqXOW8mWR7ftKg
-mJwAoK6GsG55m2bJAYJsTp8kwVvYi3Sm
-=aZKT
+iEYEARECAAYFAk7mowMACgkQAiZjviIA2XjG5ACgtReJ1v7P7ExyLLzBURtgOrpN
+vbAAnAzVc++e4LTDj/XXr0AhlFM9Kx91
+=M4Dd
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/pg/pg-0.12.0.ebuild b/dev-ruby/pg/pg-0.12.0.ebuild
new file mode 100644
index 000000000000..a0552268c4db
--- /dev/null
+++ b/dev-ruby/pg/pg-0.12.0.ebuild
@@ -0,0 +1,60 @@
+# 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.12.0.ebuild,v 1.1 2011/12/13 00:57:51 flameeyes 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.rdoc README.rdoc History.rdoc"
+
+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/hoe
+ dev-ruby/rake-compiler
+ || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )
+ 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() {
+ if [[ "${EUID}" -ne "0" ]]; then
+ # 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"
+ else
+ ewarn "The userpriv feature must be enabled to run tests."
+ eerror "Testsuite will not be run."
+ fi
+}