[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2024-03-01 Thread Hans de Graaff
commit: 20698ea4834921c59974c20cc70e9638bc344990
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Mar  2 06:27:10 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Mar  2 06:27:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20698ea4

dev-ruby/pg: drop 1.5.3-r1, 1.5.4-r2

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest   |  2 --
 dev-ruby/pg/pg-1.5.3-r1.ebuild | 64 
 dev-ruby/pg/pg-1.5.4-r2.ebuild | 67 --
 3 files changed, 133 deletions(-)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index b98e75c1bec5..9af8e3ee4321 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,6 +1,4 @@
 DIST pg-1.4.6.tar.gz 282608 BLAKE2B 
73616b6ba0373ae81394188fd96d7ca37144b76e5e89d0267e076ea39b9e33d19851d3881e70d9d5934ea26671c07635a22e7e530dd0094a243de8e9d9793fb5
 SHA512 
5cde5441f9864f89e7f44fd72d8becc60c223ba90793812c4756764f9807610d393ecca5ba05187e8aefb0d3530d67a7525b4e2c638160161410b369937e912a
-DIST pg-1.5.3.tar.gz 296167 BLAKE2B 
d1f3d0cfecd2cf006dae3373e378b7784d07d08710595b62c5b2f3e887b8e10f0fc06fb0fbb1cccb995a04c51ced781362ecfe7bc95a311c0609ffc62ed54a7e
 SHA512 
d15f5ddcf83cf70df23cb1e127442ff94850aa47fa78f8fdf34aa88ae43039dca6395413e714b60bee9f825d1016e98fcf446b704bd9bebfc71c0a5a9109a73a
-DIST pg-1.5.4-x86.patch 2744 BLAKE2B 
c60a007ac1133117f458f2bfcfeea7a009a21a865a93ff542e3e4237643f22344b042376c70d15c8c14baa3d5345aee032b61261d3e15e8300d960e548cf4ba0
 SHA512 
a82ef374c0774dd36e636a23c548fcda41533aadf63e8e6e80668c855037b5d75b4d90cb3cbd688b7bfa376f0505edc99586853132b8ebb9449476319545a347
 DIST pg-1.5.4.tar.gz 298368 BLAKE2B 
1028fac00371f9f769ee6c484a518149dc7c89e78ee8c05754a4412c4fec062f958de75bfbfb3f8c570e9598e439156e1d53ba00a8bc6e1be93d00412d153281
 SHA512 
87d950d2240e4d9d540f19ce89b945cb2b4a6d96e79dc7aa67a2dae014f1b20b307d2c195bfe3afe5c86894b94d379980fa2b7c4cf0e6a68a15c58b8d6d469f8
 DIST pg-1.5.5.tar.gz 299336 BLAKE2B 
40410091a24929ee79c14cae8ec6e526a8db569f3f0d5c0637389a099caf8085189bec3fee69c52a07097e1aec62d8da0ee87cdc8be5c7daefebd9e0019e
 SHA512 
4cd12f2b30d9f853f9707d3329eda0999a7ed0f5ebdbbcb3110996db6d80ef6bb4331b3f6648b19f6fd3f63d928552b58190b34808ca714cbd72c54aeed43478
 DIST pg-1.5.6.tar.gz 300559 BLAKE2B 
5430789943f107e18f9b509ab7963d6a5dc702782c30a218f5e648397ccc9f07128bae1beccf47172860fe97ae935308841876f26dad0d9ac223adb96722a302
 SHA512 
5c4cda39699f17864b3dc4daed4ab2096d64245fc2262b948a94c3269b0572a9fab2a42dcba692daf6eeba3354d6a0b05eb5db0f0ca5382b0f8315c1837a0206

diff --git a/dev-ruby/pg/pg-1.5.3-r1.ebuild b/dev-ruby/pg/pg-1.5.3-r1.ebuild
deleted file mode 100644
index 2683eff07653..
--- a/dev-ruby/pg/pg-1.5.3-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby31 ruby32"
-
-RUBY_FAKEGEM_GEMSPEC="pg.gemspec"
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.md History.md"
-
-RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
-
-inherit ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://github.com/ged/ruby-pg;
-SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-RUBY_S="ruby-${P}"
-
-LICENSE="|| ( BSD-2 Ruby-BSD )"
-SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE=""
-
-RDEPEND+=" dev-db/postgresql:*"
-DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server(+),threads(+)] )"
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-
-   sed -e 's/git ls-files -z/find * -print0/' \
-   -e "s:_relative ': './:" \
-   -e 's/__dir__/"."/' \
-   -i ${RUBY_FAKEGEM_GEMSPEC} || die
-
-   # Avoid tests that assume IPv4
-   sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die
-
-   # Fails with network-sandbox
-   sed -i -e '/connects using without host but envirinment variables/askip 
"gentoo"' spec/pg/scheduler_spec.rb || die
-
-   # Avoid test that only works with bundled pg
-   sed -i -e '/tells about the libpq library path/askip "gentoo"' 
spec/pg_spec.rb || 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.
-   RSPEC_VERSION=3 ruby-ng_rspec
-

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2024-03-01 Thread Hans de Graaff
commit: b47f4a840486de989852e14bbc84864d2b83e6f2
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Mar  2 06:23:39 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Mar  2 06:23:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b47f4a84

dev-ruby/pg: add 1.5.6

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  1 +
 dev-ruby/pg/pg-1.5.6.ebuild | 64 +
 2 files changed, 65 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index deb830c8d766..b98e75c1bec5 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -3,3 +3,4 @@ DIST pg-1.5.3.tar.gz 296167 BLAKE2B 
d1f3d0cfecd2cf006dae3373e378b7784d07d0871059
 DIST pg-1.5.4-x86.patch 2744 BLAKE2B 
c60a007ac1133117f458f2bfcfeea7a009a21a865a93ff542e3e4237643f22344b042376c70d15c8c14baa3d5345aee032b61261d3e15e8300d960e548cf4ba0
 SHA512 
a82ef374c0774dd36e636a23c548fcda41533aadf63e8e6e80668c855037b5d75b4d90cb3cbd688b7bfa376f0505edc99586853132b8ebb9449476319545a347
 DIST pg-1.5.4.tar.gz 298368 BLAKE2B 
1028fac00371f9f769ee6c484a518149dc7c89e78ee8c05754a4412c4fec062f958de75bfbfb3f8c570e9598e439156e1d53ba00a8bc6e1be93d00412d153281
 SHA512 
87d950d2240e4d9d540f19ce89b945cb2b4a6d96e79dc7aa67a2dae014f1b20b307d2c195bfe3afe5c86894b94d379980fa2b7c4cf0e6a68a15c58b8d6d469f8
 DIST pg-1.5.5.tar.gz 299336 BLAKE2B 
40410091a24929ee79c14cae8ec6e526a8db569f3f0d5c0637389a099caf8085189bec3fee69c52a07097e1aec62d8da0ee87cdc8be5c7daefebd9e0019e
 SHA512 
4cd12f2b30d9f853f9707d3329eda0999a7ed0f5ebdbbcb3110996db6d80ef6bb4331b3f6648b19f6fd3f63d928552b58190b34808ca714cbd72c54aeed43478
+DIST pg-1.5.6.tar.gz 300559 BLAKE2B 
5430789943f107e18f9b509ab7963d6a5dc702782c30a218f5e648397ccc9f07128bae1beccf47172860fe97ae935308841876f26dad0d9ac223adb96722a302
 SHA512 
5c4cda39699f17864b3dc4daed4ab2096d64245fc2262b948a94c3269b0572a9fab2a42dcba692daf6eeba3354d6a0b05eb5db0f0ca5382b0f8315c1837a0206

diff --git a/dev-ruby/pg/pg-1.5.6.ebuild b/dev-ruby/pg/pg-1.5.6.ebuild
new file mode 100644
index ..2f148b514659
--- /dev/null
+++ b/dev-ruby/pg/pg-1.5.6.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_GEMSPEC="pg.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.md History.md"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://github.com/ged/ruby-pg;
+SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="ruby-${P}"
+
+LICENSE="|| ( BSD-2 Ruby-BSD )"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server(+),threads(+)] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+
+   sed -e 's/git ls-files -z/find * -print0/' \
+   -e "s:_relative ': './:" \
+   -e 's/__dir__/"."/' \
+   -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+   # Avoid tests that assume IPv4
+   sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die
+
+   # Fails with network-sandbox
+   sed -i -e '/connects using without host but envirinment variables/askip 
"gentoo"' spec/pg/scheduler_spec.rb || die
+
+   # Avoid test that only works with bundled pg
+   sed -i -e '/tells about the libpq library path/askip "gentoo"' 
spec/pg_spec.rb || 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2024-02-22 Thread Hans de Graaff
commit: 07ab1d8daf0c403dc3a003be236b86c3b8f46fbc
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Feb 23 06:15:14 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Feb 23 06:15:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ab1d8d

dev-ruby/pg: add 1.5.5

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  1 +
 dev-ruby/pg/pg-1.5.5.ebuild | 64 +
 2 files changed, 65 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index a45eaa318e9a..deb830c8d766 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -2,3 +2,4 @@ DIST pg-1.4.6.tar.gz 282608 BLAKE2B 
73616b6ba0373ae81394188fd96d7ca37144b76e5e89
 DIST pg-1.5.3.tar.gz 296167 BLAKE2B 
d1f3d0cfecd2cf006dae3373e378b7784d07d08710595b62c5b2f3e887b8e10f0fc06fb0fbb1cccb995a04c51ced781362ecfe7bc95a311c0609ffc62ed54a7e
 SHA512 
d15f5ddcf83cf70df23cb1e127442ff94850aa47fa78f8fdf34aa88ae43039dca6395413e714b60bee9f825d1016e98fcf446b704bd9bebfc71c0a5a9109a73a
 DIST pg-1.5.4-x86.patch 2744 BLAKE2B 
c60a007ac1133117f458f2bfcfeea7a009a21a865a93ff542e3e4237643f22344b042376c70d15c8c14baa3d5345aee032b61261d3e15e8300d960e548cf4ba0
 SHA512 
a82ef374c0774dd36e636a23c548fcda41533aadf63e8e6e80668c855037b5d75b4d90cb3cbd688b7bfa376f0505edc99586853132b8ebb9449476319545a347
 DIST pg-1.5.4.tar.gz 298368 BLAKE2B 
1028fac00371f9f769ee6c484a518149dc7c89e78ee8c05754a4412c4fec062f958de75bfbfb3f8c570e9598e439156e1d53ba00a8bc6e1be93d00412d153281
 SHA512 
87d950d2240e4d9d540f19ce89b945cb2b4a6d96e79dc7aa67a2dae014f1b20b307d2c195bfe3afe5c86894b94d379980fa2b7c4cf0e6a68a15c58b8d6d469f8
+DIST pg-1.5.5.tar.gz 299336 BLAKE2B 
40410091a24929ee79c14cae8ec6e526a8db569f3f0d5c0637389a099caf8085189bec3fee69c52a07097e1aec62d8da0ee87cdc8be5c7daefebd9e0019e
 SHA512 
4cd12f2b30d9f853f9707d3329eda0999a7ed0f5ebdbbcb3110996db6d80ef6bb4331b3f6648b19f6fd3f63d928552b58190b34808ca714cbd72c54aeed43478

diff --git a/dev-ruby/pg/pg-1.5.5.ebuild b/dev-ruby/pg/pg-1.5.5.ebuild
new file mode 100644
index ..2f148b514659
--- /dev/null
+++ b/dev-ruby/pg/pg-1.5.5.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_GEMSPEC="pg.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.md History.md"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://github.com/ged/ruby-pg;
+SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="ruby-${P}"
+
+LICENSE="|| ( BSD-2 Ruby-BSD )"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server(+),threads(+)] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+
+   sed -e 's/git ls-files -z/find * -print0/' \
+   -e "s:_relative ': './:" \
+   -e 's/__dir__/"."/' \
+   -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+   # Avoid tests that assume IPv4
+   sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die
+
+   # Fails with network-sandbox
+   sed -i -e '/connects using without host but envirinment variables/askip 
"gentoo"' spec/pg/scheduler_spec.rb || die
+
+   # Avoid test that only works with bundled pg
+   sed -i -e '/tells about the libpq library path/askip "gentoo"' 
spec/pg_spec.rb || 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2024-01-27 Thread Hans de Graaff
commit: b3938931284f14b3e2aaed62040743b9a730f960
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jan 27 11:38:55 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jan 27 11:39:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3938931

dev-ruby/pg: apply upstream fix for x86

Bug: https://bugs.gentoo.org/922334
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest   |  1 +
 dev-ruby/pg/pg-1.5.4-r2.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 687862452f06..a45eaa318e9a 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,3 +1,4 @@
 DIST pg-1.4.6.tar.gz 282608 BLAKE2B 
73616b6ba0373ae81394188fd96d7ca37144b76e5e89d0267e076ea39b9e33d19851d3881e70d9d5934ea26671c07635a22e7e530dd0094a243de8e9d9793fb5
 SHA512 
5cde5441f9864f89e7f44fd72d8becc60c223ba90793812c4756764f9807610d393ecca5ba05187e8aefb0d3530d67a7525b4e2c638160161410b369937e912a
 DIST pg-1.5.3.tar.gz 296167 BLAKE2B 
d1f3d0cfecd2cf006dae3373e378b7784d07d08710595b62c5b2f3e887b8e10f0fc06fb0fbb1cccb995a04c51ced781362ecfe7bc95a311c0609ffc62ed54a7e
 SHA512 
d15f5ddcf83cf70df23cb1e127442ff94850aa47fa78f8fdf34aa88ae43039dca6395413e714b60bee9f825d1016e98fcf446b704bd9bebfc71c0a5a9109a73a
+DIST pg-1.5.4-x86.patch 2744 BLAKE2B 
c60a007ac1133117f458f2bfcfeea7a009a21a865a93ff542e3e4237643f22344b042376c70d15c8c14baa3d5345aee032b61261d3e15e8300d960e548cf4ba0
 SHA512 
a82ef374c0774dd36e636a23c548fcda41533aadf63e8e6e80668c855037b5d75b4d90cb3cbd688b7bfa376f0505edc99586853132b8ebb9449476319545a347
 DIST pg-1.5.4.tar.gz 298368 BLAKE2B 
1028fac00371f9f769ee6c484a518149dc7c89e78ee8c05754a4412c4fec062f958de75bfbfb3f8c570e9598e439156e1d53ba00a8bc6e1be93d00412d153281
 SHA512 
87d950d2240e4d9d540f19ce89b945cb2b4a6d96e79dc7aa67a2dae014f1b20b307d2c195bfe3afe5c86894b94d379980fa2b7c4cf0e6a68a15c58b8d6d469f8

diff --git a/dev-ruby/pg/pg-1.5.4-r2.ebuild b/dev-ruby/pg/pg-1.5.4-r2.ebuild
new file mode 100644
index ..ec48789bc2e8
--- /dev/null
+++ b/dev-ruby/pg/pg-1.5.4-r2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_GEMSPEC="pg.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.md History.md"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://github.com/ged/ruby-pg;
+SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz
+
https://github.com/ged/ruby-pg/commit/fb3fba9eac65291b20f22eb956f02490d62de3ec.patch
 -> ${P}-x86.patch"
+RUBY_S="ruby-${P}"
+
+LICENSE="|| ( BSD-2 Ruby-BSD )"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server(+),threads(+)] )"
+
+PATCHES=( "${DISTDIR}/${P}-x86.patch" )
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+
+   sed -e 's/git ls-files -z/find * -print0/' \
+   -e "s:_relative ': './:" \
+   -e 's/__dir__/"."/' \
+   -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+   # Avoid tests that assume IPv4
+   sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die
+
+   # Fails with network-sandbox
+   sed -i -e '/connects using without host but envirinment variables/askip 
"gentoo"' spec/pg/scheduler_spec.rb || die
+
+   # Avoid test that only works with bundled pg
+   sed -i -e '/tells about the libpq library path/askip "gentoo"' 
spec/pg_spec.rb || 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-12-31 Thread Arthur Zamarin
commit: cc12f1124853871489279ef53e9f037585e83490
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 31 17:01:22 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 31 17:01:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc12f112

dev-ruby/pg: Stabilize 1.5.4-r1 amd64, #921128

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/pg/pg-1.5.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.5.4-r1.ebuild b/dev-ruby/pg/pg-1.5.4-r1.ebuild
index b47e7807e65d..f4dcf4a8515f 100644
--- a/dev-ruby/pg/pg-1.5.4-r1.ebuild
+++ b/dev-ruby/pg/pg-1.5.4-r1.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-12-31 Thread Arthur Zamarin
commit: 23b4d7cc3da29902810c5540a2f10fa1a7d6072b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 31 17:01:23 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 31 17:01:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23b4d7cc

dev-ruby/pg: Stabilize 1.5.4-r1 ppc64, #921128

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/pg/pg-1.5.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.5.4-r1.ebuild b/dev-ruby/pg/pg-1.5.4-r1.ebuild
index f4dcf4a8515f..26fac2d5da84 100644
--- a/dev-ruby/pg/pg-1.5.4-r1.ebuild
+++ b/dev-ruby/pg/pg-1.5.4-r1.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-12-31 Thread Hans de Graaff
commit: 4169f62397e374934691e77c22bfd2081a5642e7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Dec 31 11:07:12 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Dec 31 11:09:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4169f623

dev-ruby/pg: enable ruby33

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/pg-1.5.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.5.4-r1.ebuild b/dev-ruby/pg/pg-1.5.4-r1.ebuild
index 2683eff07653..b47e7807e65d 100644
--- a/dev-ruby/pg/pg-1.5.4-r1.ebuild
+++ b/dev-ruby/pg/pg-1.5.4-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
 
 RUBY_FAKEGEM_GEMSPEC="pg.gemspec"
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-09-18 Thread Sam James
commit: d348afcc2e04147b3a160e5c6fa838ae2788c3bd
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep 18 10:51:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 18 10:54:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d348afcc

dev-ruby/pg: prepare for postgresql to remove USE=threads

It's always available in newer versions.

Bug: https://bugs.gentoo.org/868393
Signed-off-by: Sam James  gentoo.org>

 dev-ruby/pg/{pg-1.4.6.ebuild => pg-1.4.6-r1.ebuild} | 2 +-
 dev-ruby/pg/{pg-1.5.3.ebuild => pg-1.5.3-r1.ebuild} | 2 +-
 dev-ruby/pg/{pg-1.5.4.ebuild => pg-1.5.4-r1.ebuild} | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/pg/pg-1.4.6.ebuild b/dev-ruby/pg/pg-1.4.6-r1.ebuild
similarity index 97%
rename from dev-ruby/pg/pg-1.4.6.ebuild
rename to dev-ruby/pg/pg-1.4.6-r1.ebuild
index 0af91e548339..5bddbc743385 100644
--- a/dev-ruby/pg/pg-1.4.6.ebuild
+++ b/dev-ruby/pg/pg-1.4.6-r1.ebuild
@@ -25,7 +25,7 @@ IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"
 DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
+   test? ( >=dev-db/postgresql-9.4[server(+),threads(+)] )"
 
 all_ruby_prepare() {
# hack the Rakefile to make it sure that it doesn't load

diff --git a/dev-ruby/pg/pg-1.5.3.ebuild b/dev-ruby/pg/pg-1.5.3-r1.ebuild
similarity index 97%
rename from dev-ruby/pg/pg-1.5.3.ebuild
rename to dev-ruby/pg/pg-1.5.3-r1.ebuild
index 0d0fcd602ed2..2683eff07653 100644
--- a/dev-ruby/pg/pg-1.5.3.ebuild
+++ b/dev-ruby/pg/pg-1.5.3-r1.ebuild
@@ -25,7 +25,7 @@ IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"
 DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
+   test? ( >=dev-db/postgresql-9.4[server(+),threads(+)] )"
 
 all_ruby_prepare() {
# hack the Rakefile to make it sure that it doesn't load

diff --git a/dev-ruby/pg/pg-1.5.4.ebuild b/dev-ruby/pg/pg-1.5.4-r1.ebuild
similarity index 97%
rename from dev-ruby/pg/pg-1.5.4.ebuild
rename to dev-ruby/pg/pg-1.5.4-r1.ebuild
index 0d0fcd602ed2..2683eff07653 100644
--- a/dev-ruby/pg/pg-1.5.4.ebuild
+++ b/dev-ruby/pg/pg-1.5.4-r1.ebuild
@@ -25,7 +25,7 @@ IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"
 DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
+   test? ( >=dev-db/postgresql-9.4[server(+),threads(+)] )"
 
 all_ruby_prepare() {
# hack the Rakefile to make it sure that it doesn't load



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-09-08 Thread Hans de Graaff
commit: 03c37daec3f354bbb39d8df02916ed9864dd40dc
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Sep  8 18:49:21 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Sep  8 19:20:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c37dae

dev-ruby/pg: add 1.5.4

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  1 +
 dev-ruby/pg/pg-1.5.4.ebuild | 64 +
 2 files changed, 65 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 644caa02df6c..687862452f06 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,2 +1,3 @@
 DIST pg-1.4.6.tar.gz 282608 BLAKE2B 
73616b6ba0373ae81394188fd96d7ca37144b76e5e89d0267e076ea39b9e33d19851d3881e70d9d5934ea26671c07635a22e7e530dd0094a243de8e9d9793fb5
 SHA512 
5cde5441f9864f89e7f44fd72d8becc60c223ba90793812c4756764f9807610d393ecca5ba05187e8aefb0d3530d67a7525b4e2c638160161410b369937e912a
 DIST pg-1.5.3.tar.gz 296167 BLAKE2B 
d1f3d0cfecd2cf006dae3373e378b7784d07d08710595b62c5b2f3e887b8e10f0fc06fb0fbb1cccb995a04c51ced781362ecfe7bc95a311c0609ffc62ed54a7e
 SHA512 
d15f5ddcf83cf70df23cb1e127442ff94850aa47fa78f8fdf34aa88ae43039dca6395413e714b60bee9f825d1016e98fcf446b704bd9bebfc71c0a5a9109a73a
+DIST pg-1.5.4.tar.gz 298368 BLAKE2B 
1028fac00371f9f769ee6c484a518149dc7c89e78ee8c05754a4412c4fec062f958de75bfbfb3f8c570e9598e439156e1d53ba00a8bc6e1be93d00412d153281
 SHA512 
87d950d2240e4d9d540f19ce89b945cb2b4a6d96e79dc7aa67a2dae014f1b20b307d2c195bfe3afe5c86894b94d379980fa2b7c4cf0e6a68a15c58b8d6d469f8

diff --git a/dev-ruby/pg/pg-1.5.4.ebuild b/dev-ruby/pg/pg-1.5.4.ebuild
new file mode 100644
index ..0d0fcd602ed2
--- /dev/null
+++ b/dev-ruby/pg/pg-1.5.4.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_GEMSPEC="pg.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.md History.md"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://github.com/ged/ruby-pg;
+SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="ruby-${P}"
+
+LICENSE="|| ( BSD-2 Ruby-BSD )"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+
+   sed -e 's/git ls-files -z/find * -print0/' \
+   -e "s:_relative ': './:" \
+   -e 's/__dir__/"."/' \
+   -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+   # Avoid tests that assume IPv4
+   sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die
+
+   # Fails with network-sandbox
+   sed -i -e '/connects using without host but envirinment variables/askip 
"gentoo"' spec/pg/scheduler_spec.rb || die
+
+   # Avoid test that only works with bundled pg
+   sed -i -e '/tells about the libpq library path/askip "gentoo"' 
spec/pg_spec.rb || 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-08-26 Thread Hans de Graaff
commit: f29bcd3c96c21a7e3cf57da01f801fd224a3067f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Aug 26 07:18:14 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Aug 26 07:18:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29bcd3c

dev-ruby/pg: add 1.5.3

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  1 +
 dev-ruby/pg/pg-1.5.3.ebuild | 64 +
 2 files changed, 65 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 08c2c2792b82..2f56d026ceef 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,2 +1,3 @@
 DIST pg-1.4.1.tar.gz 258388 BLAKE2B 
d2f2c81b51fb159a95990382cce316938b97d8ecb1c9590c4a70be741f4806bc47dc99423c1d54e939bc156e287cc7cba28d854dc68900501c10fbaf15cb3076
 SHA512 
e8e0ad7b6df4a98d8ac6dfa8006044f7fbfc45713e1aa866e80a83061be5a6a1a57456cc2ffc14d976c2d108ce526c6fa9d4ce59222a9d9bb3ef676e9dec8da9
 DIST pg-1.4.6.tar.gz 282608 BLAKE2B 
73616b6ba0373ae81394188fd96d7ca37144b76e5e89d0267e076ea39b9e33d19851d3881e70d9d5934ea26671c07635a22e7e530dd0094a243de8e9d9793fb5
 SHA512 
5cde5441f9864f89e7f44fd72d8becc60c223ba90793812c4756764f9807610d393ecca5ba05187e8aefb0d3530d67a7525b4e2c638160161410b369937e912a
+DIST pg-1.5.3.tar.gz 296167 BLAKE2B 
d1f3d0cfecd2cf006dae3373e378b7784d07d08710595b62c5b2f3e887b8e10f0fc06fb0fbb1cccb995a04c51ced781362ecfe7bc95a311c0609ffc62ed54a7e
 SHA512 
d15f5ddcf83cf70df23cb1e127442ff94850aa47fa78f8fdf34aa88ae43039dca6395413e714b60bee9f825d1016e98fcf446b704bd9bebfc71c0a5a9109a73a

diff --git a/dev-ruby/pg/pg-1.5.3.ebuild b/dev-ruby/pg/pg-1.5.3.ebuild
new file mode 100644
index ..0d0fcd602ed2
--- /dev/null
+++ b/dev-ruby/pg/pg-1.5.3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_GEMSPEC="pg.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.md History.md"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://github.com/ged/ruby-pg;
+SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="ruby-${P}"
+
+LICENSE="|| ( BSD-2 Ruby-BSD )"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+
+   sed -e 's/git ls-files -z/find * -print0/' \
+   -e "s:_relative ': './:" \
+   -e 's/__dir__/"."/' \
+   -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+   # Avoid tests that assume IPv4
+   sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die
+
+   # Fails with network-sandbox
+   sed -i -e '/connects using without host but envirinment variables/askip 
"gentoo"' spec/pg/scheduler_spec.rb || die
+
+   # Avoid test that only works with bundled pg
+   sed -i -e '/tells about the libpq library path/askip "gentoo"' 
spec/pg_spec.rb || 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-08-26 Thread Hans de Graaff
commit: 37ec280b07691e2fd60fdbd818d9fbe935d28d73
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Aug 26 07:18:47 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Aug 26 07:18:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ec280b

dev-ruby/pg: drop 1.4.1

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  1 -
 dev-ruby/pg/pg-1.4.1.ebuild | 61 -
 2 files changed, 62 deletions(-)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 2f56d026ceef..644caa02df6c 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,3 +1,2 @@
-DIST pg-1.4.1.tar.gz 258388 BLAKE2B 
d2f2c81b51fb159a95990382cce316938b97d8ecb1c9590c4a70be741f4806bc47dc99423c1d54e939bc156e287cc7cba28d854dc68900501c10fbaf15cb3076
 SHA512 
e8e0ad7b6df4a98d8ac6dfa8006044f7fbfc45713e1aa866e80a83061be5a6a1a57456cc2ffc14d976c2d108ce526c6fa9d4ce59222a9d9bb3ef676e9dec8da9
 DIST pg-1.4.6.tar.gz 282608 BLAKE2B 
73616b6ba0373ae81394188fd96d7ca37144b76e5e89d0267e076ea39b9e33d19851d3881e70d9d5934ea26671c07635a22e7e530dd0094a243de8e9d9793fb5
 SHA512 
5cde5441f9864f89e7f44fd72d8becc60c223ba90793812c4756764f9807610d393ecca5ba05187e8aefb0d3530d67a7525b4e2c638160161410b369937e912a
 DIST pg-1.5.3.tar.gz 296167 BLAKE2B 
d1f3d0cfecd2cf006dae3373e378b7784d07d08710595b62c5b2f3e887b8e10f0fc06fb0fbb1cccb995a04c51ced781362ecfe7bc95a311c0609ffc62ed54a7e
 SHA512 
d15f5ddcf83cf70df23cb1e127442ff94850aa47fa78f8fdf34aa88ae43039dca6395413e714b60bee9f825d1016e98fcf446b704bd9bebfc71c0a5a9109a73a

diff --git a/dev-ruby/pg/pg-1.4.1.ebuild b/dev-ruby/pg/pg-1.4.1.ebuild
deleted file mode 100644
index b5accb3c8c2c..
--- a/dev-ruby/pg/pg-1.4.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
-
-RUBY_FAKEGEM_GEMSPEC="pg.gemspec"
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.rdoc History.rdoc"
-
-RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
-
-inherit ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://github.com/ged/ruby-pg;
-SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-RUBY_S="ruby-${P}"
-
-LICENSE="|| ( BSD-2 Ruby-BSD )"
-SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE=""
-
-RDEPEND+=" dev-db/postgresql:*"
-DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-
-   sed -e 's/git ls-files -z/find * -print0/' \
-   -e "s:_relative ': './:" \
-   -e 's/__dir__/"."/' \
-   -i ${RUBY_FAKEGEM_GEMSPEC} || die
-
-   # Avoid tests that assume IPv4
-   sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die
-
-   # Avoid test that only works with bundled pg
-   sed -i -e '/tells about the libpq library path/askip "gentoo"' 
spec/pg_spec.rb || 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.
-   RSPEC_VERSION=3 ruby-ng_rspec
-   else
-   ewarn "The userpriv feature must be enabled to run tests."
-   eerror "Testsuite will not be run."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-04-17 Thread Sam James
commit: 35d51809916ed23427639c4a02935987fdbe660c
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 17 09:45:36 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 17 09:45:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d51809

dev-ruby/pg: Stabilize 1.4.6 ppc, #904428

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/pg/pg-1.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.4.6.ebuild b/dev-ruby/pg/pg-1.4.6.ebuild
index caf2e4e5d507..b5903de0cdee 100644
--- a/dev-ruby/pg/pg-1.4.6.ebuild
+++ b/dev-ruby/pg/pg-1.4.6.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-04-17 Thread Sam James
commit: fae2c51faa94a8aecbdac62948226b9d289796f0
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 17 09:34:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 17 09:34:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fae2c51f

dev-ruby/pg: Stabilize 1.4.6 amd64, #904428

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/pg/pg-1.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.4.6.ebuild b/dev-ruby/pg/pg-1.4.6.ebuild
index f68d277893ed..caf2e4e5d507 100644
--- a/dev-ruby/pg/pg-1.4.6.ebuild
+++ b/dev-ruby/pg/pg-1.4.6.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-04-17 Thread Sam James
commit: d5977e52ef0c2a420cec80f5f81bea4669314f5a
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 17 09:34:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 17 09:34:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5977e52

dev-ruby/pg: Stabilize 1.4.6 ppc64, #904428

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/pg/pg-1.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.4.6.ebuild b/dev-ruby/pg/pg-1.4.6.ebuild
index e47f01c5b83e..7a7326e60726 100644
--- a/dev-ruby/pg/pg-1.4.6.ebuild
+++ b/dev-ruby/pg/pg-1.4.6.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-04-17 Thread Sam James
commit: 70ddc63321b25f45552f0cf5006d4cc076671690
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 17 09:34:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 17 09:34:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70ddc633

dev-ruby/pg: Stabilize 1.4.6 x86, #904428

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/pg/pg-1.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.4.6.ebuild b/dev-ruby/pg/pg-1.4.6.ebuild
index 7a7326e60726..f68d277893ed 100644
--- a/dev-ruby/pg/pg-1.4.6.ebuild
+++ b/dev-ruby/pg/pg-1.4.6.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-03-28 Thread Sam James
commit: 089423235efadf7fc2842f05421d34253a0f2ac8
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 29 00:48:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 29 00:48:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08942323

dev-ruby/pg: Stabilize 1.4.1 ppc, #903437

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/pg/pg-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.4.1.ebuild b/dev-ruby/pg/pg-1.4.1.ebuild
index 1283ea93419e..1ff76ee8e05d 100644
--- a/dev-ruby/pg/pg-1.4.1.ebuild
+++ b/dev-ruby/pg/pg-1.4.1.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-03-28 Thread Sam James
commit: 810e9f9c6621ad2b3adb3cb299a1cf342380e9b8
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 29 00:22:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 29 00:22:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=810e9f9c

dev-ruby/pg: Stabilize 1.4.1 x86, #903437

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/pg/pg-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.4.1.ebuild b/dev-ruby/pg/pg-1.4.1.ebuild
index e700acf90bc8..1283ea93419e 100644
--- a/dev-ruby/pg/pg-1.4.1.ebuild
+++ b/dev-ruby/pg/pg-1.4.1.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-03-28 Thread Sam James
commit: 0659c3c322af7b5b902ff12b02b1a77c602382d8
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 29 00:15:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 29 00:15:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0659c3c3

dev-ruby/pg: Stabilize 1.4.1 ppc64, #903437

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/pg/pg-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.4.1.ebuild b/dev-ruby/pg/pg-1.4.1.ebuild
index 8f96bb62cd90..e700acf90bc8 100644
--- a/dev-ruby/pg/pg-1.4.1.ebuild
+++ b/dev-ruby/pg/pg-1.4.1.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-03-28 Thread Sam James
commit: 0c554e4c63b14bc9f5e708d733be41d7ecde
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 28 22:53:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 28 22:53:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c55

dev-ruby/pg: Stabilize 1.4.1 amd64, #903437

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/pg/pg-1.4.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/pg/pg-1.4.1.ebuild b/dev-ruby/pg/pg-1.4.1.ebuild
index 1b3c4b0ee647..8f96bb62cd90 100644
--- a/dev-ruby/pg/pg-1.4.1.ebuild
+++ b/dev-ruby/pg/pg-1.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-03-17 Thread Sam James
commit: 378b11855c390fefbb89f4176ec12bc46590839f
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 18 00:50:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 18 01:19:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378b1185

dev-ruby/pg: fix whitespace

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/pg/pg-1.4.6.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.4.6.ebuild b/dev-ruby/pg/pg-1.4.6.ebuild
index 478286a30ca2..e47f01c5b83e 100644
--- a/dev-ruby/pg/pg-1.4.6.ebuild
+++ b/dev-ruby/pg/pg-1.4.6.ebuild
@@ -49,7 +49,6 @@ all_ruby_prepare() {
 
# Avoid test that only works with bundled pg
sed -i -e '/tells about the libpq library path/askip "gentoo"' 
spec/pg_spec.rb || die
-
 }
 
 each_ruby_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-03-17 Thread Sam James
commit: b926a2c72748d9b20c78c3dd6b11e5584ceba3b9
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 15 14:30:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 18 00:02:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b926a2c7

dev-ruby/pg: add 1.4.6

Signed-off-by: Sam James  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/30134
Signed-off-by: Sam James  gentoo.org>

 dev-ruby/pg/Manifest|  1 +
 dev-ruby/pg/pg-1.4.6.ebuild | 65 +
 2 files changed, 66 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 8affaac9a5a8..1dd177b37229 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,2 +1,3 @@
 DIST pg-1.3.5.tar.gz 256197 BLAKE2B 
8a8cd0135eb7dcf8389d2b0afa174059d12f542b1e2897fba0e292fd16f31508293ca90f64f731db9bc14e55e9ba2c740ccf744a5fe30c449d64344264e409e1
 SHA512 
44e8ad97a6f4136d49641c5a59a70a489d766d1c1e511f5a6f003c2ae2900466b02a2504dc0fb26c872ce3fcb56ac83ac5299a829cca99d9c02c4b7ce0f0ac75
 DIST pg-1.4.1.tar.gz 258388 BLAKE2B 
d2f2c81b51fb159a95990382cce316938b97d8ecb1c9590c4a70be741f4806bc47dc99423c1d54e939bc156e287cc7cba28d854dc68900501c10fbaf15cb3076
 SHA512 
e8e0ad7b6df4a98d8ac6dfa8006044f7fbfc45713e1aa866e80a83061be5a6a1a57456cc2ffc14d976c2d108ce526c6fa9d4ce59222a9d9bb3ef676e9dec8da9
+DIST pg-1.4.6.tar.gz 282608 BLAKE2B 
73616b6ba0373ae81394188fd96d7ca37144b76e5e89d0267e076ea39b9e33d19851d3881e70d9d5934ea26671c07635a22e7e530dd0094a243de8e9d9793fb5
 SHA512 
5cde5441f9864f89e7f44fd72d8becc60c223ba90793812c4756764f9807610d393ecca5ba05187e8aefb0d3530d67a7525b4e2c638160161410b369937e912a

diff --git a/dev-ruby/pg/pg-1.4.6.ebuild b/dev-ruby/pg/pg-1.4.6.ebuild
new file mode 100644
index ..478286a30ca2
--- /dev/null
+++ b/dev-ruby/pg/pg-1.4.6.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_GEMSPEC="pg.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.md History.md"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://github.com/ged/ruby-pg;
+SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="ruby-${P}"
+
+LICENSE="|| ( BSD-2 Ruby-BSD )"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+
+   sed -e 's/git ls-files -z/find * -print0/' \
+   -e "s:_relative ': './:" \
+   -e 's/__dir__/"."/' \
+   -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+   # Avoid tests that assume IPv4
+   sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die
+
+   # Fails with network-sandbox
+   sed -i -e '/connects using without host but envirinment variables/askip 
"gentoo"' spec/pg/scheduler_spec.rb || die
+
+   # Avoid test that only works with bundled pg
+   sed -i -e '/tells about the libpq library path/askip "gentoo"' 
spec/pg_spec.rb || 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2023-01-21 Thread Hans de Graaff
commit: 684f3e887d7e28b8969610fbda86691b51767883
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jan 21 08:46:54 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jan 21 09:08:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=684f3e88

dev-ruby/pg: drop 1.2.2, 1.2.3

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  2 --
 dev-ruby/pg/pg-1.2.2.ebuild | 54 -
 dev-ruby/pg/pg-1.2.3.ebuild | 47 ---
 3 files changed, 103 deletions(-)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index f56e84213eaf..8affaac9a5a8 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,4 +1,2 @@
-DIST pg-1.2.2.gem 196608 BLAKE2B 
068be98d190cb4074cc89bdb5b376322f323950909f7a6fddc8669a3ff0f85eef9f512bd2ec7121707e9ea077b2b428f698e84f2118c76e34f5def75ca303fca
 SHA512 
5c7cc90afb75a66e80cfc34c4875cf22b005aa0a27e78db6f71d1829f870c6409b73326a9925f79c0d642e93ea51d1f84c7383323fea44b7488e83deb7754951
-DIST pg-1.2.3.gem 196608 BLAKE2B 
b3e9119d068c833f7352b61802d5fb03616ed2d13f957c8d4b51966444523ef9d884a860309209dfbda5931aa1f8199b7a63a51a89c194758de309f00bdbfbd6
 SHA512 
dd8fa7b256102aea7588fd7e1d4e28199be2bf9910149d266b5379e78a7a57aa2a22763d04a559f4763842cad4ba8d0fbc33e8b43b7497dc77039edfd1029585
 DIST pg-1.3.5.tar.gz 256197 BLAKE2B 
8a8cd0135eb7dcf8389d2b0afa174059d12f542b1e2897fba0e292fd16f31508293ca90f64f731db9bc14e55e9ba2c740ccf744a5fe30c449d64344264e409e1
 SHA512 
44e8ad97a6f4136d49641c5a59a70a489d766d1c1e511f5a6f003c2ae2900466b02a2504dc0fb26c872ce3fcb56ac83ac5299a829cca99d9c02c4b7ce0f0ac75
 DIST pg-1.4.1.tar.gz 258388 BLAKE2B 
d2f2c81b51fb159a95990382cce316938b97d8ecb1c9590c4a70be741f4806bc47dc99423c1d54e939bc156e287cc7cba28d854dc68900501c10fbaf15cb3076
 SHA512 
e8e0ad7b6df4a98d8ac6dfa8006044f7fbfc45713e1aa866e80a83061be5a6a1a57456cc2ffc14d976c2d108ce526c6fa9d4ce59222a9d9bb3ef676e9dec8da9

diff --git a/dev-ruby/pg/pg-1.2.2.ebuild b/dev-ruby/pg/pg-1.2.2.ebuild
deleted file mode 100644
index 17a4ff0eed87..
--- a/dev-ruby/pg/pg-1.2.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby24 ruby25 ruby26 ruby27"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://github.com/ged/ruby-pg;
-
-LICENSE="|| ( BSD-2 Ruby-BSD )"
-SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
-
-RDEPEND+=" dev-db/postgresql:*"
-DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
-}
-
-each_ruby_compile() {
-   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
-   cp ext/*$(get_libname) 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.
-   RSPEC_VERSION=3 ruby-ng_rspec
-   else
-   ewarn "The userpriv feature must be enabled to run tests."
-   eerror "Testsuite will not be run."
-   fi
-}

diff --git a/dev-ruby/pg/pg-1.2.3.ebuild b/dev-ruby/pg/pg-1.2.3.ebuild
deleted file mode 100644
index 608439296628..
--- a/dev-ruby/pg/pg-1.2.3.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
-
-RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
-
-inherit ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://github.com/ged/ruby-pg;
-
-LICENSE="|| ( BSD-2 Ruby-BSD )"
-SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
-IUSE=""
-
-RDEPEND+=" dev-db/postgresql:*"
-DEPEND+=" dev-db/postgresql
-   test? ( 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2022-12-04 Thread Arthur Zamarin
commit: 18b7cbd9f7450b8b6f14877bbf865a64a07af72f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec  4 18:00:24 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec  4 18:00:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18b7cbd9

dev-ruby/pg: Stabilize 1.3.5 ppc, #884121

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/pg/pg-1.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.3.5.ebuild b/dev-ruby/pg/pg-1.3.5.ebuild
index ff01b33f5a69..3b9ccc759fa7 100644
--- a/dev-ruby/pg/pg-1.3.5.ebuild
+++ b/dev-ruby/pg/pg-1.3.5.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2022-12-03 Thread Arthur Zamarin
commit: b31264231f08e6a6ba87c607a5cbd0e05c96c479
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  3 17:37:28 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  3 17:37:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3126423

dev-ruby/pg: Stabilize 1.3.5 ppc64, #884121

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/pg/pg-1.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.3.5.ebuild b/dev-ruby/pg/pg-1.3.5.ebuild
index a74904b5bfff..ff01b33f5a69 100644
--- a/dev-ruby/pg/pg-1.3.5.ebuild
+++ b/dev-ruby/pg/pg-1.3.5.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2022-12-03 Thread Arthur Zamarin
commit: b4da792341f9574edb9356d2b42c4d239e7014d1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  3 14:28:17 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  3 14:28:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4da7923

dev-ruby/pg: Stabilize 1.3.5 x86, #884121

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/pg/pg-1.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.3.5.ebuild b/dev-ruby/pg/pg-1.3.5.ebuild
index a1461f7857d4..a74904b5bfff 100644
--- a/dev-ruby/pg/pg-1.3.5.ebuild
+++ b/dev-ruby/pg/pg-1.3.5.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2022-12-03 Thread Arthur Zamarin
commit: 0eace4dd28edbf5d89791235dc73b1ac172e932b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  3 14:28:14 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  3 14:28:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eace4dd

dev-ruby/pg: Stabilize 1.3.5 amd64, #884121

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-ruby/pg/pg-1.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.3.5.ebuild b/dev-ruby/pg/pg-1.3.5.ebuild
index 1b3c4b0ee647..a1461f7857d4 100644
--- a/dev-ruby/pg/pg-1.3.5.ebuild
+++ b/dev-ruby/pg/pg-1.3.5.ebuild
@@ -20,7 +20,7 @@ RUBY_S="ruby-${P}"
 
 LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2022-07-30 Thread Hans de Graaff
commit: eedb85cbc1af697fcc2c7db4101f3b980e1ab24a
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jul 30 07:30:42 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jul 30 07:46:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eedb85cb

dev-ruby/pg: update LICENSE

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/pg-1.2.2.ebuild | 4 ++--
 dev-ruby/pg/pg-1.2.3.ebuild | 4 ++--
 dev-ruby/pg/pg-1.3.5.ebuild | 2 +-
 dev-ruby/pg/pg-1.4.1.ebuild | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-ruby/pg/pg-1.2.2.ebuild b/dev-ruby/pg/pg-1.2.2.ebuild
index accf547a30ff..17a4ff0eed87 100644
--- a/dev-ruby/pg/pg-1.2.2.ebuild
+++ b/dev-ruby/pg/pg-1.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ inherit multilib ruby-fakegem
 DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
 HOMEPAGE="https://github.com/ged/ruby-pg;
 
-LICENSE="|| ( GPL-2 Ruby )"
+LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
 KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE=""

diff --git a/dev-ruby/pg/pg-1.2.3.ebuild b/dev-ruby/pg/pg-1.2.3.ebuild
index b4fc9bbcf700..608439296628 100644
--- a/dev-ruby/pg/pg-1.2.3.ebuild
+++ b/dev-ruby/pg/pg-1.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ inherit ruby-fakegem
 DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
 HOMEPAGE="https://github.com/ged/ruby-pg;
 
-LICENSE="|| ( GPL-2 Ruby )"
+LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""

diff --git a/dev-ruby/pg/pg-1.3.5.ebuild b/dev-ruby/pg/pg-1.3.5.ebuild
index a041e4e6ee51..1b3c4b0ee647 100644
--- a/dev-ruby/pg/pg-1.3.5.ebuild
+++ b/dev-ruby/pg/pg-1.3.5.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/ged/ruby-pg;
 SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 RUBY_S="ruby-${P}"
 
-LICENSE="|| ( GPL-2 Ruby )"
+LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""

diff --git a/dev-ruby/pg/pg-1.4.1.ebuild b/dev-ruby/pg/pg-1.4.1.ebuild
index a041e4e6ee51..1b3c4b0ee647 100644
--- a/dev-ruby/pg/pg-1.4.1.ebuild
+++ b/dev-ruby/pg/pg-1.4.1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/ged/ruby-pg;
 SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 RUBY_S="ruby-${P}"
 
-LICENSE="|| ( GPL-2 Ruby )"
+LICENSE="|| ( BSD-2 Ruby-BSD )"
 SLOT="1"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2022-06-24 Thread Hans de Graaff
commit: 46c3ae9ab7f34c2d66394d871409372340715a8b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Jun 24 10:04:02 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Jun 24 10:04:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46c3ae9a

dev-ruby/pg: add 1.4.1

Closes: https://bugs.gentoo.org/850736
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  1 +
 dev-ruby/pg/pg-1.4.1.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 4961707bf6bd..f56e84213eaf 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,3 +1,4 @@
 DIST pg-1.2.2.gem 196608 BLAKE2B 
068be98d190cb4074cc89bdb5b376322f323950909f7a6fddc8669a3ff0f85eef9f512bd2ec7121707e9ea077b2b428f698e84f2118c76e34f5def75ca303fca
 SHA512 
5c7cc90afb75a66e80cfc34c4875cf22b005aa0a27e78db6f71d1829f870c6409b73326a9925f79c0d642e93ea51d1f84c7383323fea44b7488e83deb7754951
 DIST pg-1.2.3.gem 196608 BLAKE2B 
b3e9119d068c833f7352b61802d5fb03616ed2d13f957c8d4b51966444523ef9d884a860309209dfbda5931aa1f8199b7a63a51a89c194758de309f00bdbfbd6
 SHA512 
dd8fa7b256102aea7588fd7e1d4e28199be2bf9910149d266b5379e78a7a57aa2a22763d04a559f4763842cad4ba8d0fbc33e8b43b7497dc77039edfd1029585
 DIST pg-1.3.5.tar.gz 256197 BLAKE2B 
8a8cd0135eb7dcf8389d2b0afa174059d12f542b1e2897fba0e292fd16f31508293ca90f64f731db9bc14e55e9ba2c740ccf744a5fe30c449d64344264e409e1
 SHA512 
44e8ad97a6f4136d49641c5a59a70a489d766d1c1e511f5a6f003c2ae2900466b02a2504dc0fb26c872ce3fcb56ac83ac5299a829cca99d9c02c4b7ce0f0ac75
+DIST pg-1.4.1.tar.gz 258388 BLAKE2B 
d2f2c81b51fb159a95990382cce316938b97d8ecb1c9590c4a70be741f4806bc47dc99423c1d54e939bc156e287cc7cba28d854dc68900501c10fbaf15cb3076
 SHA512 
e8e0ad7b6df4a98d8ac6dfa8006044f7fbfc45713e1aa866e80a83061be5a6a1a57456cc2ffc14d976c2d108ce526c6fa9d4ce59222a9d9bb3ef676e9dec8da9

diff --git a/dev-ruby/pg/pg-1.4.1.ebuild b/dev-ruby/pg/pg-1.4.1.ebuild
new file mode 100644
index ..a041e4e6ee51
--- /dev/null
+++ b/dev-ruby/pg/pg-1.4.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_GEMSPEC="pg.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.rdoc History.rdoc"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://github.com/ged/ruby-pg;
+SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="ruby-${P}"
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+
+   sed -e 's/git ls-files -z/find * -print0/' \
+   -e "s:_relative ': './:" \
+   -e 's/__dir__/"."/' \
+   -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+   # Avoid tests that assume IPv4
+   sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die
+
+   # Avoid test that only works with bundled pg
+   sed -i -e '/tells about the libpq library path/askip "gentoo"' 
spec/pg_spec.rb || 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2022-04-30 Thread Hans de Graaff
commit: 280513cf2cf8567f8bd9ff4e1a98c630bfcb32b4
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Apr 30 07:50:35 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Apr 30 09:07:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=280513cf

dev-ruby/pg: add 1.3.5

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  1 +
 dev-ruby/pg/pg-1.3.5.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 68d2b51a8cf6..4961707bf6bd 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,2 +1,3 @@
 DIST pg-1.2.2.gem 196608 BLAKE2B 
068be98d190cb4074cc89bdb5b376322f323950909f7a6fddc8669a3ff0f85eef9f512bd2ec7121707e9ea077b2b428f698e84f2118c76e34f5def75ca303fca
 SHA512 
5c7cc90afb75a66e80cfc34c4875cf22b005aa0a27e78db6f71d1829f870c6409b73326a9925f79c0d642e93ea51d1f84c7383323fea44b7488e83deb7754951
 DIST pg-1.2.3.gem 196608 BLAKE2B 
b3e9119d068c833f7352b61802d5fb03616ed2d13f957c8d4b51966444523ef9d884a860309209dfbda5931aa1f8199b7a63a51a89c194758de309f00bdbfbd6
 SHA512 
dd8fa7b256102aea7588fd7e1d4e28199be2bf9910149d266b5379e78a7a57aa2a22763d04a559f4763842cad4ba8d0fbc33e8b43b7497dc77039edfd1029585
+DIST pg-1.3.5.tar.gz 256197 BLAKE2B 
8a8cd0135eb7dcf8389d2b0afa174059d12f542b1e2897fba0e292fd16f31508293ca90f64f731db9bc14e55e9ba2c740ccf744a5fe30c449d64344264e409e1
 SHA512 
44e8ad97a6f4136d49641c5a59a70a489d766d1c1e511f5a6f003c2ae2900466b02a2504dc0fb26c872ce3fcb56ac83ac5299a829cca99d9c02c4b7ce0f0ac75

diff --git a/dev-ruby/pg/pg-1.3.5.ebuild b/dev-ruby/pg/pg-1.3.5.ebuild
new file mode 100644
index ..a041e4e6ee51
--- /dev/null
+++ b/dev-ruby/pg/pg-1.3.5.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_GEMSPEC="pg.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.rdoc History.rdoc"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://github.com/ged/ruby-pg;
+SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="ruby-${P}"
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+
+   sed -e 's/git ls-files -z/find * -print0/' \
+   -e "s:_relative ': './:" \
+   -e 's/__dir__/"."/' \
+   -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+   # Avoid tests that assume IPv4
+   sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die
+
+   # Avoid test that only works with bundled pg
+   sed -i -e '/tells about the libpq library path/askip "gentoo"' 
spec/pg_spec.rb || 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2021-11-07 Thread Yixun Lan
commit: c519c69de307a1e92e6c4870943d7c7faab2be3b
Author: Yongxiang Liang  gmail  com>
AuthorDate: Fri Nov  5 10:48:34 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Nov  8 02:48:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c519c69d

dev-ruby/pg: keyword ~riscv

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-ruby/pg/pg-1.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.2.3.ebuild b/dev-ruby/pg/pg-1.2.3.ebuild
index a3608ddcd97..b4fc9bbcf70 100644
--- a/dev-ruby/pg/pg-1.2.3.ebuild
+++ b/dev-ruby/pg/pg-1.2.3.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/ged/ruby-pg;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2021-10-30 Thread Hans de Graaff
commit: 0e342b9b3015b324db0fc7063d77aa82109e6c14
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Oct 30 07:09:03 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct 31 04:44:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e342b9b

dev-ruby/pg: add 1.2.3

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  1 +
 dev-ruby/pg/pg-1.2.3.ebuild | 47 +
 2 files changed, 48 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index a7240dce2ba..68d2b51a8cf 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1 +1,2 @@
 DIST pg-1.2.2.gem 196608 BLAKE2B 
068be98d190cb4074cc89bdb5b376322f323950909f7a6fddc8669a3ff0f85eef9f512bd2ec7121707e9ea077b2b428f698e84f2118c76e34f5def75ca303fca
 SHA512 
5c7cc90afb75a66e80cfc34c4875cf22b005aa0a27e78db6f71d1829f870c6409b73326a9925f79c0d642e93ea51d1f84c7383323fea44b7488e83deb7754951
+DIST pg-1.2.3.gem 196608 BLAKE2B 
b3e9119d068c833f7352b61802d5fb03616ed2d13f957c8d4b51966444523ef9d884a860309209dfbda5931aa1f8199b7a63a51a89c194758de309f00bdbfbd6
 SHA512 
dd8fa7b256102aea7588fd7e1d4e28199be2bf9910149d266b5379e78a7a57aa2a22763d04a559f4763842cad4ba8d0fbc33e8b43b7497dc77039edfd1029585

diff --git a/dev-ruby/pg/pg-1.2.3.ebuild b/dev-ruby/pg/pg-1.2.3.ebuild
new file mode 100644
index 000..a3608ddcd97
--- /dev/null
+++ b/dev-ruby/pg/pg-1.2.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://github.com/ged/ruby-pg;
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/files/

2021-04-15 Thread Conrad Kostecki
commit: 827af756901a72b81c8ba0f076711e6d94124089
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Apr 11 08:23:07 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Apr 15 18:05:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=827af756

dev-ruby/pg: remove unused patch(es)

Closes: https://github.com/gentoo/gentoo/pull/20331
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-ruby/pg/files/postgresql10-tests.patch | 49 --
 1 file changed, 49 deletions(-)

diff --git a/dev-ruby/pg/files/postgresql10-tests.patch 
b/dev-ruby/pg/files/postgresql10-tests.patch
deleted file mode 100644
index f9b7c1579a9..000
--- a/dev-ruby/pg/files/postgresql10-tests.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-# HG changeset patch
-# User Lars Kanis 
-# Date 1508756565 -7200
-# Node ID fe63160e8a9803e257231d879fab2841ba44c37a
-# Parent  d6d5533dfca85b618232fe3e9e56e59dbee99de6
-Adjust tests for PostgreSQL-10
-
-diff --git a/spec/helpers.rb b/spec/helpers.rb
 a/spec/helpers.rb
-+++ b/spec/helpers.rb
-@@ -251,7 +251,7 @@
- 
-   def check_for_lingering_connections( conn )
-   conn.exec( "SELECT * FROM pg_stat_activity" ) do |res|
--  conns = res.find_all {|row| row['pid'].to_i != 
conn.backend_pid }
-+  conns = res.find_all {|row| row['pid'].to_i != 
conn.backend_pid && ["client backend", nil].include?(row["backend_type"]) }
-   unless conns.empty?
-   puts "Lingering connections remain:"
-   conns.each do |row|
-diff --git a/spec/pg/connection_spec.rb b/spec/pg/connection_spec.rb
 a/spec/pg/connection_spec.rb
-+++ b/spec/pg/connection_spec.rb
-@@ -232,7 +232,7 @@
-   described_class.connect(@conninfo).finish
-   sleep 0.5
-   res = @conn.exec(%[SELECT COUNT(*) AS n FROM pg_stat_activity
--  WHERE usename IS NOT 
NULL])
-+  WHERE usename IS NOT 
NULL AND application_name != ''])
-   # there's still the global @conn, but should be no more
-   expect( res[0]['n'] ).to eq( '1' )
-   end
-@@ -1537,9 +1537,14 @@
-   end
- 
-   it "shouldn't type map params unless requested" do
--  expect{
--  @conn.exec_params( "SELECT $1", [5] )
--  }.to raise_error(PG::IndeterminateDatatype)
-+  if @conn.server_version < 10
-+  expect{
-+  @conn.exec_params( "SELECT $1", [5] )
-+  }.to raise_error(PG::IndeterminateDatatype)
-+  else
-+  # PostgreSQL-10 maps to TEXT type (OID 25)
-+  expect( @conn.exec_params( "SELECT $1", [5] 
).ftype(0)).to eq(25)
-+  end
-   end
- 
-   it "should raise an error on invalid encoder to put_copy_data" 
do



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2021-04-10 Thread Hans de Graaff
commit: 0a1597eaec8e6d4191fd327e4a32e70c32262e1a
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Apr 10 06:05:43 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Apr 10 06:05:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1597ea

dev-ruby/pg: remove old slot

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest |  1 -
 dev-ruby/pg/pg-0.21.0.ebuild | 57 
 2 files changed, 58 deletions(-)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 57efe85aa02..a7240dce2ba 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,2 +1 @@
-DIST pg-0.21.0.gem 214016 BLAKE2B 
9e27646cd85bc97dedfb980f4851b19a1ef2aad17f6a5c60726c1683642af5c4cf87d518b300fb4c894e1580f808f8af6158b57f1ac25971c1fc55818abee6f4
 SHA512 
590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b
 DIST pg-1.2.2.gem 196608 BLAKE2B 
068be98d190cb4074cc89bdb5b376322f323950909f7a6fddc8669a3ff0f85eef9f512bd2ec7121707e9ea077b2b428f698e84f2118c76e34f5def75ca303fca
 SHA512 
5c7cc90afb75a66e80cfc34c4875cf22b005aa0a27e78db6f71d1829f870c6409b73326a9925f79c0d642e93ea51d1f84c7383323fea44b7488e83deb7754951

diff --git a/dev-ruby/pg/pg-0.21.0.ebuild b/dev-ruby/pg/pg-0.21.0.ebuild
deleted file mode 100644
index 99553f10c3f..000
--- a/dev-ruby/pg/pg-0.21.0.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-USE_RUBY="ruby22 ruby23 ruby24 ruby25"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://github.com/ged/ruby-pg;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
-
-RDEPEND+=" dev-db/postgresql:*"
-DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server,threads] )"
-
-PATCHES=( "${FILESDIR}/postgresql10-tests.patch" )
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
-}
-
-each_ruby_compile() {
-   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
-   cp ext/*$(get_libname) 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.
-   RSPEC_VERSION=3 ruby-ng_rspec
-   else
-   ewarn "The userpriv feature must be enabled to run tests."
-   eerror "Testsuite will not be run."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2020-08-23 Thread David Seifert
commit: e2d90de3d28e58ec881c4f6b8eccbfc4443bf63b
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Sun Aug 23 03:37:11 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 23 11:43:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2d90de3

dev-ruby/pg: update HOMEPAGE

Replace non-functioning BitBucket URL
Bug: https://bugs.gentoo.org/737896
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Azamat H. Hackimov  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 dev-ruby/pg/metadata.xml | 2 +-
 dev-ruby/pg/pg-0.21.0.ebuild | 4 ++--
 dev-ruby/pg/pg-1.2.2.ebuild  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-ruby/pg/metadata.xml b/dev-ruby/pg/metadata.xml
index d5e99f21621..6e2ba40ec85 100644
--- a/dev-ruby/pg/metadata.xml
+++ b/dev-ruby/pg/metadata.xml
@@ -6,6 +6,6 @@
 Gentoo Ruby Project
   
   
-ged/ruby-pg
+ged/ruby-pg
   
 

diff --git a/dev-ruby/pg/pg-0.21.0.ebuild b/dev-ruby/pg/pg-0.21.0.ebuild
index c16d6e8292b..85f79ed57e9 100644
--- a/dev-ruby/pg/pg-0.21.0.ebuild
+++ b/dev-ruby/pg/pg-0.21.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc 
README.rdoc History.rdoc"
 inherit multilib ruby-fakegem
 
 DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
+HOMEPAGE="https://github.com/ged/ruby-pg;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"

diff --git a/dev-ruby/pg/pg-1.2.2.ebuild b/dev-ruby/pg/pg-1.2.2.ebuild
index 5d247396a6e..a2573c401e7 100644
--- a/dev-ruby/pg/pg-1.2.2.ebuild
+++ b/dev-ruby/pg/pg-1.2.2.ebuild
@@ -11,7 +11,7 @@ RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc 
README.rdoc History.rdoc"
 inherit multilib ruby-fakegem
 
 DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
+HOMEPAGE="https://github.com/ged/ruby-pg;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="1"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2020-06-15 Thread Agostino Sarubbo
commit: 58bb4f77a903990881a43dd6afe579d9108d5264
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 15 15:06:29 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 15 15:06:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58bb4f77

dev-ruby/pg: ppc stable wrt bug #728204

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/pg/pg-1.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.2.2.ebuild b/dev-ruby/pg/pg-1.2.2.ebuild
index e73cb60f296..732cd623054 100644
--- a/dev-ruby/pg/pg-1.2.2.ebuild
+++ b/dev-ruby/pg/pg-1.2.2.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2020-06-14 Thread Sergei Trofimovich
commit: d73c1257a5ffec66ad15a4b0a5410b82b1556a38
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 14 20:06:56 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 14 20:06:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d73c1257

dev-ruby/pg: stable 1.2.2 for ppc64

stable wrt bug #728204

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-ruby/pg/pg-1.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.2.2.ebuild b/dev-ruby/pg/pg-1.2.2.ebuild
index f1376e1151c..b08ef8fceae 100644
--- a/dev-ruby/pg/pg-1.2.2.ebuild
+++ b/dev-ruby/pg/pg-1.2.2.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2020-04-27 Thread Hans de Graaff
commit: e878afa10aa11d122a77b06fa16abd792886022f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Apr 27 09:10:25 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Apr 28 04:39:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e878afa1

dev-ruby/pg: cleanup

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  1 -
 dev-ruby/pg/pg-1.1.4.ebuild | 55 -
 2 files changed, 56 deletions(-)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index e27ecb0507f..57efe85aa02 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,3 +1,2 @@
 DIST pg-0.21.0.gem 214016 BLAKE2B 
9e27646cd85bc97dedfb980f4851b19a1ef2aad17f6a5c60726c1683642af5c4cf87d518b300fb4c894e1580f808f8af6158b57f1ac25971c1fc55818abee6f4
 SHA512 
590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b
-DIST pg-1.1.4.gem 233984 BLAKE2B 
5a92ca49f8e471905286c07dc468f2932461f73fba13d2786c50883b271e2528b4476a81737023c252e75784c49113aacc50e1722fa100d5e97494fe60965a41
 SHA512 
442eadb4e9fe51aaef71cb5bbe8786c61dc4cfaa1241491270cb251f062abae88b6b2ef88dec7ab6ba2baa6390e954a2fcf4862cc95be4bc516e029c788fa1d9
 DIST pg-1.2.2.gem 196608 BLAKE2B 
068be98d190cb4074cc89bdb5b376322f323950909f7a6fddc8669a3ff0f85eef9f512bd2ec7121707e9ea077b2b428f698e84f2118c76e34f5def75ca303fca
 SHA512 
5c7cc90afb75a66e80cfc34c4875cf22b005aa0a27e78db6f71d1829f870c6409b73326a9925f79c0d642e93ea51d1f84c7383323fea44b7488e83deb7754951

diff --git a/dev-ruby/pg/pg-1.1.4.ebuild b/dev-ruby/pg/pg-1.1.4.ebuild
deleted file mode 100644
index d644ac66e21..000
--- a/dev-ruby/pg/pg-1.1.4.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-USE_RUBY="ruby23 ruby24 ruby25 ruby26"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
-IUSE=""
-
-RDEPEND+=" dev-db/postgresql:*"
-DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server,threads] )"
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
-}
-
-each_ruby_compile() {
-   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
-   cp ext/*$(get_libname) 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.
-   RSPEC_VERSION=3 ruby-ng_rspec
-   else
-   ewarn "The userpriv feature must be enabled to run tests."
-   eerror "Testsuite will not be run."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2020-04-22 Thread Sergei Trofimovich
commit: 2838b53b21e459bcd404c3d9b4dd7f6ee10f644d
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Apr 22 16:19:29 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Apr 22 17:06:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2838b53b

dev-ruby/pg: keyworded 1.2.2 for sparc

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-ruby/pg/pg-1.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.2.2.ebuild b/dev-ruby/pg/pg-1.2.2.ebuild
index eab1bf461e1..f1376e1151c 100644
--- a/dev-ruby/pg/pg-1.2.2.ebuild
+++ b/dev-ruby/pg/pg-1.2.2.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2020-02-02 Thread Hans de Graaff
commit: b22898e64c58e967cea130b356fba17e2d126e74
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Feb  2 08:23:54 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Feb  2 09:01:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b22898e6

dev-ruby/pg: add USE default for server flag

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/pg-1.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-1.2.2.ebuild b/dev-ruby/pg/pg-1.2.2.ebuild
index ca23a55d9b7..5b2197e59be 100644
--- a/dev-ruby/pg/pg-1.2.2.ebuild
+++ b/dev-ruby/pg/pg-1.2.2.ebuild
@@ -20,7 +20,7 @@ IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"
 DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server,threads] )"
+   test? ( >=dev-db/postgresql-9.4[server(+),threads] )"
 
 all_ruby_prepare() {
# hack the Rakefile to make it sure that it doesn't load



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2020-02-01 Thread Hans de Graaff
commit: 105efbe1de44246324336e33093e067be5d8949b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Feb  2 06:31:13 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Feb  2 06:31:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=105efbe1

dev-ruby/pg: add 1.2.2

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  1 +
 dev-ruby/pg/pg-1.2.2.ebuild | 54 +
 2 files changed, 55 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 52dd737506a..e27ecb0507f 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,2 +1,3 @@
 DIST pg-0.21.0.gem 214016 BLAKE2B 
9e27646cd85bc97dedfb980f4851b19a1ef2aad17f6a5c60726c1683642af5c4cf87d518b300fb4c894e1580f808f8af6158b57f1ac25971c1fc55818abee6f4
 SHA512 
590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b
 DIST pg-1.1.4.gem 233984 BLAKE2B 
5a92ca49f8e471905286c07dc468f2932461f73fba13d2786c50883b271e2528b4476a81737023c252e75784c49113aacc50e1722fa100d5e97494fe60965a41
 SHA512 
442eadb4e9fe51aaef71cb5bbe8786c61dc4cfaa1241491270cb251f062abae88b6b2ef88dec7ab6ba2baa6390e954a2fcf4862cc95be4bc516e029c788fa1d9
+DIST pg-1.2.2.gem 196608 BLAKE2B 
068be98d190cb4074cc89bdb5b376322f323950909f7a6fddc8669a3ff0f85eef9f512bd2ec7121707e9ea077b2b428f698e84f2118c76e34f5def75ca303fca
 SHA512 
5c7cc90afb75a66e80cfc34c4875cf22b005aa0a27e78db6f71d1829f870c6409b73326a9925f79c0d642e93ea51d1f84c7383323fea44b7488e83deb7754951

diff --git a/dev-ruby/pg/pg-1.2.2.ebuild b/dev-ruby/pg/pg-1.2.2.ebuild
new file mode 100644
index 000..ca23a55d9b7
--- /dev/null
+++ b/dev-ruby/pg/pg-1.2.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server,threads] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+}
+
+each_ruby_configure() {
+   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+   cp ext/*$(get_libname) 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2019-11-02 Thread Hans de Graaff
commit: a0d7a8e65572c556c779d30dcea7c2f78528ba42
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Nov  2 10:06:58 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Nov  2 10:06:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0d7a8e6

dev-ruby/pg: cleanup

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/pg/Manifest|  1 -
 dev-ruby/pg/pg-1.0.0.ebuild | 55 -
 2 files changed, 56 deletions(-)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 7e6f051fc1d..52dd737506a 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,3 +1,2 @@
 DIST pg-0.21.0.gem 214016 BLAKE2B 
9e27646cd85bc97dedfb980f4851b19a1ef2aad17f6a5c60726c1683642af5c4cf87d518b300fb4c894e1580f808f8af6158b57f1ac25971c1fc55818abee6f4
 SHA512 
590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b
-DIST pg-1.0.0.gem 213504 BLAKE2B 
eecaa632c7903f89c503ad92ccff058bbc6c2c80cbf83d656eeb9a5b919b84bb270671ad4e0fa08f55be1bcfc69eb8e13b815c37c601d300de503383f1ba5908
 SHA512 
1cac025ab8a95b4429534b98377eedeb1e3f8b2c4a859363c4174d477577caf39557b002cde4e745189fa9a29e9181ff9d564d822f15ff5c4f03f7389b0d0398
 DIST pg-1.1.4.gem 233984 BLAKE2B 
5a92ca49f8e471905286c07dc468f2932461f73fba13d2786c50883b271e2528b4476a81737023c252e75784c49113aacc50e1722fa100d5e97494fe60965a41
 SHA512 
442eadb4e9fe51aaef71cb5bbe8786c61dc4cfaa1241491270cb251f062abae88b6b2ef88dec7ab6ba2baa6390e954a2fcf4862cc95be4bc516e029c788fa1d9

diff --git a/dev-ruby/pg/pg-1.0.0.ebuild b/dev-ruby/pg/pg-1.0.0.ebuild
deleted file mode 100644
index 199ef082421..000
--- a/dev-ruby/pg/pg-1.0.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-USE_RUBY="ruby22 ruby23 ruby24 ruby25"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-IUSE=""
-
-RDEPEND+=" dev-db/postgresql:*"
-DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server,threads] )"
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
-}
-
-each_ruby_compile() {
-   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
-   cp ext/*$(get_libname) 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.
-   RSPEC_VERSION=3 ruby-ng_rspec
-   else
-   ewarn "The userpriv feature must be enabled to run tests."
-   eerror "Testsuite will not be run."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2019-01-28 Thread Hans de Graaff
commit: 5de610d323038402583e993a5bb13e98daee017c
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Jan 28 17:16:26 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Jan 28 21:45:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de610d3

dev-ruby/pg: add 1.1.4

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-ruby/pg/Manifest|  1 +
 dev-ruby/pg/pg-1.1.4.ebuild | 55 +
 2 files changed, 56 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 1c2007d266b..7e6f051fc1d 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,2 +1,3 @@
 DIST pg-0.21.0.gem 214016 BLAKE2B 
9e27646cd85bc97dedfb980f4851b19a1ef2aad17f6a5c60726c1683642af5c4cf87d518b300fb4c894e1580f808f8af6158b57f1ac25971c1fc55818abee6f4
 SHA512 
590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b
 DIST pg-1.0.0.gem 213504 BLAKE2B 
eecaa632c7903f89c503ad92ccff058bbc6c2c80cbf83d656eeb9a5b919b84bb270671ad4e0fa08f55be1bcfc69eb8e13b815c37c601d300de503383f1ba5908
 SHA512 
1cac025ab8a95b4429534b98377eedeb1e3f8b2c4a859363c4174d477577caf39557b002cde4e745189fa9a29e9181ff9d564d822f15ff5c4f03f7389b0d0398
+DIST pg-1.1.4.gem 233984 BLAKE2B 
5a92ca49f8e471905286c07dc468f2932461f73fba13d2786c50883b271e2528b4476a81737023c252e75784c49113aacc50e1722fa100d5e97494fe60965a41
 SHA512 
442eadb4e9fe51aaef71cb5bbe8786c61dc4cfaa1241491270cb251f062abae88b6b2ef88dec7ab6ba2baa6390e954a2fcf4862cc95be4bc516e029c788fa1d9

diff --git a/dev-ruby/pg/pg-1.1.4.ebuild b/dev-ruby/pg/pg-1.1.4.ebuild
new file mode 100644
index 000..8bd2d9802d5
--- /dev/null
+++ b/dev-ruby/pg/pg-1.1.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server,threads] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+}
+
+each_ruby_configure() {
+   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+   cp ext/*$(get_libname) 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2018-10-14 Thread Hans de Graaff
commit: 3147c7806bf1f5995418e99492c928f70e0d1505
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Oct 14 06:16:15 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct 14 06:16:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3147c780

dev-ruby/pg: cleanup

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-ruby/pg/Manifest|  1 -
 dev-ruby/pg/pg-0.18.4-r1.ebuild | 62 -
 2 files changed, 63 deletions(-)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index e3df249ae1d..1c2007d266b 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,3 +1,2 @@
-DIST pg-0.18.4.gem 219648 BLAKE2B 
f6b957551b0b537dda5551bc8974f5bd2f8a4ee4ecf482a5d3dc3ede0ad610507029693fadbfe9d2e2940f63d82da61e535e802919a82f7e5ea23c1165b81847
 SHA512 
48e792756c7ee205164b59a9515ace6320150f0ce1907293f8c1a736300c62c0b38c1be49e8ad4f1a50f29abc7f72bb43e742a8e63d9606eff4c7d2191a4fb74
 DIST pg-0.21.0.gem 214016 BLAKE2B 
9e27646cd85bc97dedfb980f4851b19a1ef2aad17f6a5c60726c1683642af5c4cf87d518b300fb4c894e1580f808f8af6158b57f1ac25971c1fc55818abee6f4
 SHA512 
590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b
 DIST pg-1.0.0.gem 213504 BLAKE2B 
eecaa632c7903f89c503ad92ccff058bbc6c2c80cbf83d656eeb9a5b919b84bb270671ad4e0fa08f55be1bcfc69eb8e13b815c37c601d300de503383f1ba5908
 SHA512 
1cac025ab8a95b4429534b98377eedeb1e3f8b2c4a859363c4174d477577caf39557b002cde4e745189fa9a29e9181ff9d564d822f15ff5c4f03f7389b0d0398

diff --git a/dev-ruby/pg/pg-0.18.4-r1.ebuild b/dev-ruby/pg/pg-0.18.4-r1.ebuild
deleted file mode 100644
index 485cd64b28c..000
--- a/dev-ruby/pg/pg-0.18.4-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22 ruby23"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-IUSE=""
-
-RDEPEND+=" dev-db/postgresql:*"
-DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server,threads] )"
-
-RUBY_PATCHES=( "${FILESDIR}/postgresql10-tests.patch" )
-
-ruby_add_bdepend "
-   doc? (
-   dev-ruby/hoe
-   || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )"
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
-}
-
-each_ruby_compile() {
-   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
-   cp ext/*$(get_libname) 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.
-   RSPEC_VERSION=3 ruby-ng_rspec
-   else
-   ewarn "The userpriv feature must be enabled to run tests."
-   eerror "Testsuite will not be run."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2018-10-14 Thread Hans de Graaff
commit: c3bbf2cc28dcb1077faa226d8f73e41f934dc618
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Oct 14 06:14:12 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct 14 06:14:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3bbf2cc

dev-ruby/pg: ppc64 stable, bug 658784

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-ruby/pg/pg-0.21.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/pg/pg-0.21.0.ebuild b/dev-ruby/pg/pg-0.21.0.ebuild
index bfe07cb527f..a54007476b1 100644
--- a/dev-ruby/pg/pg-0.21.0.ebuild
+++ b/dev-ruby/pg/pg-0.21.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2018-07-30 Thread Sergei Trofimovich
commit: 9b423be08d45bd89a98045bc1d64eba9cfc273b2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jul 30 21:46:45 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul 30 21:46:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b423be0

dev-ruby/pg: stable 0.21.0 for ppc, bug #658784

Tested-by: ernsteiswuerfel
Package-Manager: Portage-2.3.44, Repoman-2.3.10
RepoMan-Options: --include-arches="ppc"

 dev-ruby/pg/pg-0.21.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-0.21.0.ebuild b/dev-ruby/pg/pg-0.21.0.ebuild
index 0121b1f24c8..bfe07cb527f 100644
--- a/dev-ruby/pg/pg-0.21.0.ebuild
+++ b/dev-ruby/pg/pg-0.21.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2018-06-25 Thread Aaron Bauman
commit: 0f3be0645670c9f7844a281db21a8ff4f7fbd313
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue Jun 26 01:41:25 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Jun 26 02:04:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f3be064

dev-ruby/pg: amd64 stable

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/pg/pg-0.21.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-0.21.0.ebuild b/dev-ruby/pg/pg-0.21.0.ebuild
index 409bb349b38..0121b1f24c8 100644
--- a/dev-ruby/pg/pg-0.21.0.ebuild
+++ b/dev-ruby/pg/pg-0.21.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2018-04-25 Thread Hans de Graaff
commit: abcf25f95faba3538e8d6ba6c8fda435ccf7ca05
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Apr 26 04:45:03 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Apr 26 04:45:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abcf25f9

dev-ruby/pg: cleanup

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/pg/Manifest|  1 -
 dev-ruby/pg/pg-0.17.1-r1.ebuild | 65 -
 2 files changed, 66 deletions(-)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index e454c180b18..e3df249ae1d 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,4 +1,3 @@
-DIST pg-0.17.1.gem 142848 BLAKE2B 
26715943ffc56d5377613d3dd56bc994696a812ccedf6415233781d6685ac34ddf25321f2f194880dd9df6715d43efef7eaeb00ed8ac594302c6e2e292b07cc8
 SHA512 
fb637256d084af3b41ba4130f866924df957a63c29d029b5bf553e545b3d4064e682b00d0604bf495a853a8800b9c8eba34718e96c651c9a697281ae4a62
 DIST pg-0.18.4.gem 219648 BLAKE2B 
f6b957551b0b537dda5551bc8974f5bd2f8a4ee4ecf482a5d3dc3ede0ad610507029693fadbfe9d2e2940f63d82da61e535e802919a82f7e5ea23c1165b81847
 SHA512 
48e792756c7ee205164b59a9515ace6320150f0ce1907293f8c1a736300c62c0b38c1be49e8ad4f1a50f29abc7f72bb43e742a8e63d9606eff4c7d2191a4fb74
 DIST pg-0.21.0.gem 214016 BLAKE2B 
9e27646cd85bc97dedfb980f4851b19a1ef2aad17f6a5c60726c1683642af5c4cf87d518b300fb4c894e1580f808f8af6158b57f1ac25971c1fc55818abee6f4
 SHA512 
590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b
 DIST pg-1.0.0.gem 213504 BLAKE2B 
eecaa632c7903f89c503ad92ccff058bbc6c2c80cbf83d656eeb9a5b919b84bb270671ad4e0fa08f55be1bcfc69eb8e13b815c37c601d300de503383f1ba5908
 SHA512 
1cac025ab8a95b4429534b98377eedeb1e3f8b2c4a859363c4174d477577caf39557b002cde4e745189fa9a29e9181ff9d564d822f15ff5c4f03f7389b0d0398

diff --git a/dev-ruby/pg/pg-0.17.1-r1.ebuild b/dev-ruby/pg/pg-0.17.1-r1.ebuild
deleted file mode 100644
index e79f3407961..000
--- a/dev-ruby/pg/pg-0.17.1-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-USE_RUBY="ruby21 ruby22"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-RUBY_FAKEGEM_TASK_DOC="docs"
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-IUSE=""
-
-RDEPEND="${RDEPEND}
-   dev-db/postgresql:*"
-DEPEND="${DEPEND}
-   dev-db/postgresql
-   test? ( dev-db/postgresql[server,threads] )"
-
-ruby_add_bdepend "
-   doc? (
-   dev-ruby/hoe
-   || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )"
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-
-   sed -i -e '18i require "socket"' spec/pg/connection_spec.rb || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
-}
-
-each_ruby_compile() {
-   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
-   cp ext/*$(get_libname) 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-ng_rspec
-   else
-   ewarn "The userpriv feature must be enabled to run tests."
-   eerror "Testsuite will not be run."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2018-04-16 Thread Hans de Graaff
commit: 5b31fc5280db49f321756cea6f1abc92d49ca4a7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Apr 16 17:49:28 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Apr 16 18:32:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b31fc52

dev-ruby/pg: add 1.0.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/pg/Manifest|  1 +
 dev-ruby/pg/pg-1.0.0.ebuild | 55 +
 2 files changed, 56 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 905427ccce7..e454c180b18 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,3 +1,4 @@
 DIST pg-0.17.1.gem 142848 BLAKE2B 
26715943ffc56d5377613d3dd56bc994696a812ccedf6415233781d6685ac34ddf25321f2f194880dd9df6715d43efef7eaeb00ed8ac594302c6e2e292b07cc8
 SHA512 
fb637256d084af3b41ba4130f866924df957a63c29d029b5bf553e545b3d4064e682b00d0604bf495a853a8800b9c8eba34718e96c651c9a697281ae4a62
 DIST pg-0.18.4.gem 219648 BLAKE2B 
f6b957551b0b537dda5551bc8974f5bd2f8a4ee4ecf482a5d3dc3ede0ad610507029693fadbfe9d2e2940f63d82da61e535e802919a82f7e5ea23c1165b81847
 SHA512 
48e792756c7ee205164b59a9515ace6320150f0ce1907293f8c1a736300c62c0b38c1be49e8ad4f1a50f29abc7f72bb43e742a8e63d9606eff4c7d2191a4fb74
 DIST pg-0.21.0.gem 214016 BLAKE2B 
9e27646cd85bc97dedfb980f4851b19a1ef2aad17f6a5c60726c1683642af5c4cf87d518b300fb4c894e1580f808f8af6158b57f1ac25971c1fc55818abee6f4
 SHA512 
590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b
+DIST pg-1.0.0.gem 213504 BLAKE2B 
eecaa632c7903f89c503ad92ccff058bbc6c2c80cbf83d656eeb9a5b919b84bb270671ad4e0fa08f55be1bcfc69eb8e13b815c37c601d300de503383f1ba5908
 SHA512 
1cac025ab8a95b4429534b98377eedeb1e3f8b2c4a859363c4174d477577caf39557b002cde4e745189fa9a29e9181ff9d564d822f15ff5c4f03f7389b0d0398

diff --git a/dev-ruby/pg/pg-1.0.0.ebuild b/dev-ruby/pg/pg-1.0.0.ebuild
new file mode 100644
index 000..dbbd6e9e775
--- /dev/null
+++ b/dev-ruby/pg/pg-1.0.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server,threads] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+}
+
+each_ruby_configure() {
+   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+   cp ext/*$(get_libname) 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/, dev-ruby/pg/files/

2018-04-16 Thread Hans de Graaff
commit: 41dead08409594e7fb4efb3918c19760ed58c882
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Apr 16 18:32:04 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Apr 16 18:32:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41dead08

dev-ruby/pg: fix tests with postgresql 10

Backport the upstream changes to tests.

Closes: https://bugs.gentoo.org/648778
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/pg/files/postgresql10-tests.patch | 49 ++
 dev-ruby/pg/pg-0.18.4-r1.ebuild|  2 ++
 dev-ruby/pg/pg-0.21.0.ebuild   |  2 ++
 3 files changed, 53 insertions(+)

diff --git a/dev-ruby/pg/files/postgresql10-tests.patch 
b/dev-ruby/pg/files/postgresql10-tests.patch
new file mode 100644
index 000..f9b7c1579a9
--- /dev/null
+++ b/dev-ruby/pg/files/postgresql10-tests.patch
@@ -0,0 +1,49 @@
+# HG changeset patch
+# User Lars Kanis 
+# Date 1508756565 -7200
+# Node ID fe63160e8a9803e257231d879fab2841ba44c37a
+# Parent  d6d5533dfca85b618232fe3e9e56e59dbee99de6
+Adjust tests for PostgreSQL-10
+
+diff --git a/spec/helpers.rb b/spec/helpers.rb
+--- a/spec/helpers.rb
 b/spec/helpers.rb
+@@ -251,7 +251,7 @@
+ 
+   def check_for_lingering_connections( conn )
+   conn.exec( "SELECT * FROM pg_stat_activity" ) do |res|
+-  conns = res.find_all {|row| row['pid'].to_i != 
conn.backend_pid }
++  conns = res.find_all {|row| row['pid'].to_i != 
conn.backend_pid && ["client backend", nil].include?(row["backend_type"]) }
+   unless conns.empty?
+   puts "Lingering connections remain:"
+   conns.each do |row|
+diff --git a/spec/pg/connection_spec.rb b/spec/pg/connection_spec.rb
+--- a/spec/pg/connection_spec.rb
 b/spec/pg/connection_spec.rb
+@@ -232,7 +232,7 @@
+   described_class.connect(@conninfo).finish
+   sleep 0.5
+   res = @conn.exec(%[SELECT COUNT(*) AS n FROM pg_stat_activity
+-  WHERE usename IS NOT 
NULL])
++  WHERE usename IS NOT 
NULL AND application_name != ''])
+   # there's still the global @conn, but should be no more
+   expect( res[0]['n'] ).to eq( '1' )
+   end
+@@ -1537,9 +1537,14 @@
+   end
+ 
+   it "shouldn't type map params unless requested" do
+-  expect{
+-  @conn.exec_params( "SELECT $1", [5] )
+-  }.to raise_error(PG::IndeterminateDatatype)
++  if @conn.server_version < 10
++  expect{
++  @conn.exec_params( "SELECT $1", [5] )
++  }.to raise_error(PG::IndeterminateDatatype)
++  else
++  # PostgreSQL-10 maps to TEXT type (OID 25)
++  expect( @conn.exec_params( "SELECT $1", [5] 
).ftype(0)).to eq(25)
++  end
+   end
+ 
+   it "should raise an error on invalid encoder to put_copy_data" 
do

diff --git a/dev-ruby/pg/pg-0.18.4-r1.ebuild b/dev-ruby/pg/pg-0.18.4-r1.ebuild
index 8e25f7eeb65..76ca7c11e05 100644
--- a/dev-ruby/pg/pg-0.18.4-r1.ebuild
+++ b/dev-ruby/pg/pg-0.18.4-r1.ebuild
@@ -23,6 +23,8 @@ RDEPEND+=" dev-db/postgresql:*"
 DEPEND+=" dev-db/postgresql
test? ( >=dev-db/postgresql-9.4[server,threads] )"
 
+RUBY_PATCHES=( "${FILESDIR}/postgresql10-tests.patch" )
+
 ruby_add_bdepend "
doc? (
dev-ruby/hoe

diff --git a/dev-ruby/pg/pg-0.21.0.ebuild b/dev-ruby/pg/pg-0.21.0.ebuild
index c459b80a910..24430c4f459 100644
--- a/dev-ruby/pg/pg-0.21.0.ebuild
+++ b/dev-ruby/pg/pg-0.21.0.ebuild
@@ -23,6 +23,8 @@ RDEPEND+=" dev-db/postgresql:*"
 DEPEND+=" dev-db/postgresql
test? ( >=dev-db/postgresql-9.4[server,threads] )"
 
+PATCHES=( "${FILESDIR}/postgresql10-tests.patch" )
+
 all_ruby_prepare() {
# hack the Rakefile to make it sure that it doesn't load
# rake-compiler (so that we don't have to depend on it and it



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2018-04-16 Thread Hans de Graaff
commit: e4816a26528a5677866773f376d40a8c83d279d4
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Apr 16 17:48:36 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Apr 16 18:32:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4816a26

dev-ruby/pg: Fix USE=doc

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/pg/pg-0.18.4-r1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/pg/pg-0.18.4-r1.ebuild b/dev-ruby/pg/pg-0.18.4-r1.ebuild
index ed562255874..8e25f7eeb65 100644
--- a/dev-ruby/pg/pg-0.18.4-r1.ebuild
+++ b/dev-ruby/pg/pg-0.18.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,8 +6,7 @@ USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 
-RUBY_FAKEGEM_TASK_DOC="docs"
-RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
 
 inherit multilib ruby-fakegem



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2018-04-16 Thread Hans de Graaff
commit: 522979c184a31382bdb8be6afd487b02d0adf9df
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Apr 16 18:06:26 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Apr 16 18:32:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=522979c1

dev-ruby/pg: add ruby25

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/pg/pg-0.21.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/pg/pg-0.21.0.ebuild b/dev-ruby/pg/pg-0.21.0.ebuild
index 5309a54327c..c459b80a910 100644
--- a/dev-ruby/pg/pg-0.21.0.ebuild
+++ b/dev-ruby/pg/pg-0.21.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2017-08-25 Thread Hans de Graaff
commit: 8f505fdb58beced360e20fb83a3714e7df542f63
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Aug 25 06:03:16 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Aug 25 06:03:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f505fdb

dev-ruby/pg: cleanup

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-ruby/pg/pg-0.18.4.ebuild | 62 
 1 file changed, 62 deletions(-)

diff --git a/dev-ruby/pg/pg-0.18.4.ebuild b/dev-ruby/pg/pg-0.18.4.ebuild
deleted file mode 100644
index 17f96591f7e..000
--- a/dev-ruby/pg/pg-0.18.4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-# ruby19 test fail
-USE_RUBY="ruby20 ruby21 ruby22"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_TASK_DOC="docs"
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-IUSE=""
-
-RDEPEND+=" dev-db/postgresql:*"
-DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server,threads] )"
-
-ruby_add_bdepend "
-   doc? (
-   dev-ruby/hoe
-   || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )"
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
-}
-
-each_ruby_compile() {
-   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
-   cp ext/*$(get_libname) 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.
-   RSPEC_VERSION=3 ruby-ng_rspec
-   else
-   ewarn "The userpriv feature must be enabled to run tests."
-   eerror "Testsuite will not be run."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2017-08-05 Thread Hans de Graaff
commit: 74cca6587e3223db0f061335ae1aa0fab0f17f3d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Aug  5 18:49:03 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Aug  5 18:49:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74cca658

dev-ruby/pg: add ruby22

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-ruby/pg/pg-0.17.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/pg/pg-0.17.1-r1.ebuild b/dev-ruby/pg/pg-0.17.1-r1.ebuild
index 8e51eb44812..e79f3407961 100644
--- a/dev-ruby/pg/pg-0.17.1-r1.ebuild
+++ b/dev-ruby/pg/pg-0.17.1-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby20 ruby21"
+USE_RUBY="ruby21 ruby22"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2017-07-07 Thread Alexis Ballier
commit: 5078e63a583706f976eba3f9cd6cb1135970e298
Author: Alexis Ballier  gentoo  org>
AuthorDate: Fri Jul  7 18:12:01 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Fri Jul  7 18:12:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5078e63a

dev-ruby/pg: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-ruby/pg/pg-0.21.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-0.21.0.ebuild b/dev-ruby/pg/pg-0.21.0.ebuild
index 6e3115bb8c2..5309a54327c 100644
--- a/dev-ruby/pg/pg-0.21.0.ebuild
+++ b/dev-ruby/pg/pg-0.21.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2017-07-07 Thread Agostino Sarubbo
commit: ccb39de4ea452b2b26e5f63d81279d1c7a0335a8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul  7 14:49:01 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul  7 14:50:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccb39de4

dev-ruby/pg: ppc64 stable wrt bug #622498

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/pg/pg-0.18.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-0.18.4-r1.ebuild b/dev-ruby/pg/pg-0.18.4-r1.ebuild
index 8c89355531c..ed562255874 100644
--- a/dev-ruby/pg/pg-0.18.4-r1.ebuild
+++ b/dev-ruby/pg/pg-0.18.4-r1.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2017-07-01 Thread Hans de Graaff
commit: 0c9299fa3490fe7d3b5786c3b8ae8fce0480615c
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jul  1 05:36:57 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul  2 05:41:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c9299fa

dev-ruby/pg: add 0.21.0

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-ruby/pg/Manifest |  1 +
 dev-ruby/pg/pg-0.21.0.ebuild | 55 
 2 files changed, 56 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 4cc8b40dbac..ed658c16f56 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,2 +1,3 @@
 DIST pg-0.17.1.gem 142848 SHA256 
e7933e8f7f184c28e820ed85ddfb3ad8a13933b2b2ab8656aa8f81cb0aa610a6 SHA512 
fb637256d084af3b41ba4130f866924df957a63c29d029b5bf553e545b3d4064e682b00d0604bf495a853a8800b9c8eba34718e96c651c9a697281ae4a62
 WHIRLPOOL 
81e0a99d023a49b29b8be1b11290cd0f102cec92adc63a8ed10e215dcd3ef43b8ce5e1916d0f155790e9304670bb0c96921346663798acb5fb973e47fdadfe9f
 DIST pg-0.18.4.gem 219648 SHA256 
62f0dce2fd0b3b0f684b2d60e09b3f515e7eb30f8f736bf5ede5b49e5425bb1d SHA512 
48e792756c7ee205164b59a9515ace6320150f0ce1907293f8c1a736300c62c0b38c1be49e8ad4f1a50f29abc7f72bb43e742a8e63d9606eff4c7d2191a4fb74
 WHIRLPOOL 
90db9badec71bb8446eb4ef5f6cf1cd45ecc94b4ccf6f439cc0c5df5c060a475ab815762cbe98d6ab2688c11153b04dff5166ac4e8761a007fb15ee4674bf031
+DIST pg-0.21.0.gem 214016 SHA256 
10b7cc05782236fb840c247a4ecb859f4b77001416774e1646c911c6b1567003 SHA512 
590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b
 WHIRLPOOL 
822997e37bd35b5d343817fe46aa1d90814245feb5fdc08ae7cf66ff0bac79239ca88075eebbe47a49137e4298195e7ae9e6f92d108c5a16cb7d821ca234f79a

diff --git a/dev-ruby/pg/pg-0.21.0.ebuild b/dev-ruby/pg/pg-0.21.0.ebuild
new file mode 100644
index 000..6e3115bb8c2
--- /dev/null
+++ b/dev-ruby/pg/pg-0.21.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server,threads] )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+}
+
+each_ruby_configure() {
+   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+   cp ext/*$(get_libname) 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2017-06-23 Thread Agostino Sarubbo
commit: 66677a79ba2eebb59187d153aba0da6ed0e156bc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun 23 08:32:53 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun 23 08:32:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66677a79

dev-ruby/pg: amd64 stable wrt bug #622498

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/pg/pg-0.18.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-0.18.4-r1.ebuild b/dev-ruby/pg/pg-0.18.4-r1.ebuild
index a00a17211e8..d049822dbfb 100644
--- a/dev-ruby/pg/pg-0.18.4-r1.ebuild
+++ b/dev-ruby/pg/pg-0.18.4-r1.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2017-02-11 Thread Hans de Graaff
commit: e97086ecd855d44eed351959815ffb6b920b867a
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Feb 12 06:15:28 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Feb 12 06:15:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97086ec

dev-ruby/pg: restore ~x86 keyword

Package-Manager: portage-2.3.3

 dev-ruby/pg/pg-0.18.4-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/pg/pg-0.18.4-r1.ebuild b/dev-ruby/pg/pg-0.18.4-r1.ebuild
index d5c133c2ca..5e66b55746 100644
--- a/dev-ruby/pg/pg-0.18.4-r1.ebuild
+++ b/dev-ruby/pg/pg-0.18.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,7 +18,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND+=" dev-db/postgresql:*"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2016-07-18 Thread Hans de Graaff
commit: 5b2d958c16e9c079253c788869f419b04ce4d00b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Jul 18 06:33:42 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Jul 18 06:48:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b2d958c

dev-ruby/pg: add ruby23 revision

Package-Manager: portage-2.2.28

 dev-ruby/pg/pg-0.18.4-r1.ebuild | 62 +
 1 file changed, 62 insertions(+)

diff --git a/dev-ruby/pg/pg-0.18.4-r1.ebuild b/dev-ruby/pg/pg-0.18.4-r1.ebuild
new file mode 100644
index 000..d5c133c
--- /dev/null
+++ b/dev-ruby/pg/pg-0.18.4-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql:*"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server,threads] )"
+
+ruby_add_bdepend "
+   doc? (
+   dev-ruby/hoe
+   || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+}
+
+each_ruby_configure() {
+   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+   cp ext/*$(get_libname) 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2016-06-05 Thread Hans de Graaff
commit: 7453015c2676b65b6fcb5fc99d47065b9900f36f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun  5 07:47:38 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun  5 07:59:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7453015c

dev-ruby/pg: fix slot warnings

Package-Manager: portage-2.2.28

 dev-ruby/pg/pg-0.17.1-r1.ebuild | 2 +-
 dev-ruby/pg/pg-0.18.4.ebuild| 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/pg/pg-0.17.1-r1.ebuild b/dev-ruby/pg/pg-0.17.1-r1.ebuild
index c9bf070..f20169a 100644
--- a/dev-ruby/pg/pg-0.17.1-r1.ebuild
+++ b/dev-ruby/pg/pg-0.17.1-r1.ebuild
@@ -22,7 +22,7 @@ KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86 ~x86-fbsd 
~amd64-linux ~x86-linu
 IUSE=""
 
 RDEPEND="${RDEPEND}
-   dev-db/postgresql"
+   dev-db/postgresql:*"
 DEPEND="${DEPEND}
dev-db/postgresql
test? ( dev-db/postgresql[server,threads] )"

diff --git a/dev-ruby/pg/pg-0.18.4.ebuild b/dev-ruby/pg/pg-0.18.4.ebuild
index f78c192..dd8c142 100644
--- a/dev-ruby/pg/pg-0.18.4.ebuild
+++ b/dev-ruby/pg/pg-0.18.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,7 +22,7 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
-RDEPEND+=" dev-db/postgresql"
+RDEPEND+=" dev-db/postgresql:*"
 DEPEND+=" dev-db/postgresql
test? ( >=dev-db/postgresql-9.4[server,threads] )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2016-06-05 Thread Hans de Graaff
commit: 7116b05905f8660975db82acdb1a2e9fbaf6ea4c
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun  5 07:44:24 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun  5 07:59:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7116b059

dev-ruby/pg: drop ruby19

Package-Manager: portage-2.2.28

 dev-ruby/pg/pg-0.17.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/pg/pg-0.17.1-r1.ebuild b/dev-ruby/pg/pg-0.17.1-r1.ebuild
index d46a25e..c9bf070 100644
--- a/dev-ruby/pg/pg-0.17.1-r1.ebuild
+++ b/dev-ruby/pg/pg-0.17.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21"
+USE_RUBY="ruby20 ruby21"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2016-06-05 Thread Hans de Graaff
commit: 0b5a66ae1858c88078014dc0b3c72ba855adf648
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun  5 07:45:16 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun  5 07:59:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b5a66ae

dev-ruby/pg: cleanup

Package-Manager: portage-2.2.28

 dev-ruby/pg/Manifest |  2 --
 dev-ruby/pg/pg-0.18.2.ebuild | 63 
 dev-ruby/pg/pg-0.18.3.ebuild | 63 
 3 files changed, 128 deletions(-)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 4a20e69..4cc8b40 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,4 +1,2 @@
 DIST pg-0.17.1.gem 142848 SHA256 
e7933e8f7f184c28e820ed85ddfb3ad8a13933b2b2ab8656aa8f81cb0aa610a6 SHA512 
fb637256d084af3b41ba4130f866924df957a63c29d029b5bf553e545b3d4064e682b00d0604bf495a853a8800b9c8eba34718e96c651c9a697281ae4a62
 WHIRLPOOL 
81e0a99d023a49b29b8be1b11290cd0f102cec92adc63a8ed10e215dcd3ef43b8ce5e1916d0f155790e9304670bb0c96921346663798acb5fb973e47fdadfe9f
-DIST pg-0.18.2.gem 216576 SHA256 
ee4e81f2cdb397d866f15c54f057f1172c8098dc5a8d1ce2883806198d5bbdab SHA512 
14707bc4e1c5700cf30b0541c14d31681986c7574281ea878a1d17f89a8986abdd00c7c64c763b56bf675fe0b9be177c4ca9822842cee75a2b57cad49d396a4f
 WHIRLPOOL 
66f2fb4d13ee6da34112cacdd0d4be19a99345b3e17301cd154541e12cb9e799383257584e6cd7bdf60a9f6b888be3ecdefa12d1a7729b7901362ce390d4fad5
-DIST pg-0.18.3.gem 218624 SHA256 
0cbddb3e2d36b5db262abc1f12a17e1e972f2778c056729f61d6bf1e1b1ce301 SHA512 
dc4152dd7b546f3e182075ecd9086ca88c462b570d948f7879de8084e36f19fc6256ab8e5b3ac2ff267f43998a99f44c159c84af47e6637fa14b2aa16f14b139
 WHIRLPOOL 
8ca2b8613ce6725c92466d83bec37f577f7c6ecad0acc08eeb6c91325c8f936d17a5fb77b25dd659db1a3ebd21cc246016424c65d483da771e3657b2fe157ea8
 DIST pg-0.18.4.gem 219648 SHA256 
62f0dce2fd0b3b0f684b2d60e09b3f515e7eb30f8f736bf5ede5b49e5425bb1d SHA512 
48e792756c7ee205164b59a9515ace6320150f0ce1907293f8c1a736300c62c0b38c1be49e8ad4f1a50f29abc7f72bb43e742a8e63d9606eff4c7d2191a4fb74
 WHIRLPOOL 
90db9badec71bb8446eb4ef5f6cf1cd45ecc94b4ccf6f439cc0c5df5c060a475ab815762cbe98d6ab2688c11153b04dff5166ac4e8761a007fb15ee4674bf031

diff --git a/dev-ruby/pg/pg-0.18.2.ebuild b/dev-ruby/pg/pg-0.18.2.ebuild
deleted file mode 100644
index f78c192..000
--- a/dev-ruby/pg/pg-0.18.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-# ruby19 test fail
-USE_RUBY="ruby20 ruby21 ruby22"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_TASK_DOC="docs"
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-IUSE=""
-
-RDEPEND+=" dev-db/postgresql"
-DEPEND+=" dev-db/postgresql
-   test? ( >=dev-db/postgresql-9.4[server,threads] )"
-
-ruby_add_bdepend "
-   doc? (
-   dev-ruby/hoe
-   || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )"
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
-}
-
-each_ruby_compile() {
-   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
-   cp ext/*$(get_libname) 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.
-   RSPEC_VERSION=3 ruby-ng_rspec
-   else
-   ewarn "The userpriv feature must be enabled to run tests."
-   eerror "Testsuite will not be run."
-   fi
-}

diff --git a/dev-ruby/pg/pg-0.18.3.ebuild b/dev-ruby/pg/pg-0.18.3.ebuild
deleted file mode 100644
index f78c192..000
--- a/dev-ruby/pg/pg-0.18.3.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-# ruby19 test fail
-USE_RUBY="ruby20 ruby21 ruby22"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_TASK_DOC="docs"
-RUBY_FAKEGEM_DOCDIR="doc"

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2016-06-05 Thread Hans de Graaff
commit: 32b6ac4af80ad6198f760520d5bd68dfd6b2ac1f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun  5 07:42:40 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun  5 07:59:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b6ac4a

dev-ruby/pg: cleanup

Package-Manager: portage-2.2.28

 dev-ruby/pg/pg-0.17.1.ebuild | 66 
 1 file changed, 66 deletions(-)

diff --git a/dev-ruby/pg/pg-0.17.1.ebuild b/dev-ruby/pg/pg-0.17.1.ebuild
deleted file mode 100644
index 50bf89a..000
--- a/dev-ruby/pg/pg-0.17.1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby19 ruby20"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-RUBY_FAKEGEM_TASK_DOC="docs"
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-IUSE=""
-
-RDEPEND="${RDEPEND}
-   dev-db/postgresql"
-DEPEND="${DEPEND}
-   dev-db/postgresql
-   test? ( dev-db/postgresql[server,threads] )"
-
-ruby_add_bdepend "
-   doc? (
-   dev-ruby/hoe
-   || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )"
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-
-   sed -i -e '18i require "socket"' spec/pg/connection_spec.rb || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
-}
-
-each_ruby_compile() {
-   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
-   cp ext/*$(get_libname) 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-ng_rspec
-   else
-   ewarn "The userpriv feature must be enabled to run tests."
-   eerror "Testsuite will not be run."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2016-06-05 Thread Hans de Graaff
commit: f09b459f0c71547cecb6362328b3ce33c4c55a85
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun  5 07:41:41 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun  5 07:59:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f09b459f

dev-ruby/pg: mark ruby21 revision stable, bug 556968

Package-Manager: portage-2.2.28

 dev-ruby/pg/pg-0.17.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-0.17.1-r1.ebuild b/dev-ruby/pg/pg-0.17.1-r1.ebuild
index 34fc8bf..d46a25e 100644
--- a/dev-ruby/pg/pg-0.17.1-r1.ebuild
+++ b/dev-ruby/pg/pg-0.17.1-r1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2015-11-15 Thread Manuel Rüger
commit: 2ac814b7f38a938be7345b5fc3c7a93ee5d9c999
Author: Manuel Rüger  rueg  eu>
AuthorDate: Sun Nov 15 11:48:35 2015 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Nov 15 11:48:35 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ac814b7

dev-ruby/pg: Version bump

Package-Manager: portage-2.2.24

 dev-ruby/pg/Manifest |  1 +
 dev-ruby/pg/pg-0.18.4.ebuild | 63 
 2 files changed, 64 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 5c9a9ce..4a20e69 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,3 +1,4 @@
 DIST pg-0.17.1.gem 142848 SHA256 
e7933e8f7f184c28e820ed85ddfb3ad8a13933b2b2ab8656aa8f81cb0aa610a6 SHA512 
fb637256d084af3b41ba4130f866924df957a63c29d029b5bf553e545b3d4064e682b00d0604bf495a853a8800b9c8eba34718e96c651c9a697281ae4a62
 WHIRLPOOL 
81e0a99d023a49b29b8be1b11290cd0f102cec92adc63a8ed10e215dcd3ef43b8ce5e1916d0f155790e9304670bb0c96921346663798acb5fb973e47fdadfe9f
 DIST pg-0.18.2.gem 216576 SHA256 
ee4e81f2cdb397d866f15c54f057f1172c8098dc5a8d1ce2883806198d5bbdab SHA512 
14707bc4e1c5700cf30b0541c14d31681986c7574281ea878a1d17f89a8986abdd00c7c64c763b56bf675fe0b9be177c4ca9822842cee75a2b57cad49d396a4f
 WHIRLPOOL 
66f2fb4d13ee6da34112cacdd0d4be19a99345b3e17301cd154541e12cb9e799383257584e6cd7bdf60a9f6b888be3ecdefa12d1a7729b7901362ce390d4fad5
 DIST pg-0.18.3.gem 218624 SHA256 
0cbddb3e2d36b5db262abc1f12a17e1e972f2778c056729f61d6bf1e1b1ce301 SHA512 
dc4152dd7b546f3e182075ecd9086ca88c462b570d948f7879de8084e36f19fc6256ab8e5b3ac2ff267f43998a99f44c159c84af47e6637fa14b2aa16f14b139
 WHIRLPOOL 
8ca2b8613ce6725c92466d83bec37f577f7c6ecad0acc08eeb6c91325c8f936d17a5fb77b25dd659db1a3ebd21cc246016424c65d483da771e3657b2fe157ea8
+DIST pg-0.18.4.gem 219648 SHA256 
62f0dce2fd0b3b0f684b2d60e09b3f515e7eb30f8f736bf5ede5b49e5425bb1d SHA512 
48e792756c7ee205164b59a9515ace6320150f0ce1907293f8c1a736300c62c0b38c1be49e8ad4f1a50f29abc7f72bb43e742a8e63d9606eff4c7d2191a4fb74
 WHIRLPOOL 
90db9badec71bb8446eb4ef5f6cf1cd45ecc94b4ccf6f439cc0c5df5c060a475ab815762cbe98d6ab2688c11153b04dff5166ac4e8761a007fb15ee4674bf031

diff --git a/dev-ruby/pg/pg-0.18.4.ebuild b/dev-ruby/pg/pg-0.18.4.ebuild
new file mode 100644
index 000..f78c192
--- /dev/null
+++ b/dev-ruby/pg/pg-0.18.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+# ruby19 test fail
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server,threads] )"
+
+ruby_add_bdepend "
+   doc? (
+   dev-ruby/hoe
+   || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+}
+
+each_ruby_configure() {
+   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+   cp ext/*$(get_libname) 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2015-09-20 Thread Jeroen Roovers
commit: 8f81f872a715d111ffc344921ce0e509e298df41
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Sep 20 08:38:14 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Sep 20 08:38:14 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f81f872

dev-ruby/pg: Stable for PPC64 (bug #555852).

Package-Manager: portage-2.2.20.1
RepoMan-Options: --ignore-arches

 dev-ruby/pg/pg-0.17.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-0.17.1.ebuild b/dev-ruby/pg/pg-0.17.1.ebuild
index f52045c..50bf89a 100644
--- a/dev-ruby/pg/pg-0.17.1.ebuild
+++ b/dev-ruby/pg/pg-0.17.1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2015-09-07 Thread Manuel Rüger
commit: 4a100b50ca6ff5f9542028a5ddeee65e3a5c0803
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep  7 09:56:49 2015 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep  7 09:56:49 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a100b50

dev-ruby/pg: Remove old

Package-Manager: portage-2.2.20.1

 dev-ruby/pg/Manifest |  1 -
 dev-ruby/pg/pg-0.14.1.ebuild | 66 
 2 files changed, 67 deletions(-)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index 68b7284..fda7d2a 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,3 +1,2 @@
-DIST pg-0.14.1.gem 108544 SHA256 
9e7911f2f6ecef295ca2da1afcc0c97f547659e05696c9428538174a9eb9193d SHA512 
12f4f69ad2ed7a975acf0f43016f646b137621135ff599bde038dd09e233d3ff53a79fe01f694c60a3ff306f3967a011083b7d34e4b07b831b0de47811dd47ad
 WHIRLPOOL 
56aa83d2bd78f05a7218146ca15e5e082d85c4190432b6eca08a32e53fd89ed89cd36aedc0d7a47c2602ed28d4be3310abaa5bdddb9654174699d7f86fdbf9be
 DIST pg-0.17.1.gem 142848 SHA256 
e7933e8f7f184c28e820ed85ddfb3ad8a13933b2b2ab8656aa8f81cb0aa610a6 SHA512 
fb637256d084af3b41ba4130f866924df957a63c29d029b5bf553e545b3d4064e682b00d0604bf495a853a8800b9c8eba34718e96c651c9a697281ae4a62
 WHIRLPOOL 
81e0a99d023a49b29b8be1b11290cd0f102cec92adc63a8ed10e215dcd3ef43b8ce5e1916d0f155790e9304670bb0c96921346663798acb5fb973e47fdadfe9f
 DIST pg-0.18.2.gem 216576 SHA256 
ee4e81f2cdb397d866f15c54f057f1172c8098dc5a8d1ce2883806198d5bbdab SHA512 
14707bc4e1c5700cf30b0541c14d31681986c7574281ea878a1d17f89a8986abdd00c7c64c763b56bf675fe0b9be177c4ca9822842cee75a2b57cad49d396a4f
 WHIRLPOOL 
66f2fb4d13ee6da34112cacdd0d4be19a99345b3e17301cd154541e12cb9e799383257584e6cd7bdf60a9f6b888be3ecdefa12d1a7729b7901362ce390d4fad5

diff --git a/dev-ruby/pg/pg-0.14.1.ebuild b/dev-ruby/pg/pg-0.14.1.ebuild
deleted file mode 100644
index e745f1f..000
--- a/dev-ruby/pg/pg-0.14.1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-USE_RUBY="ruby19"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
-HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
-
-RDEPEND="${RDEPEND}
-   dev-db/postgresql"
-DEPEND="${DEPEND}
-   dev-db/postgresql
-   test? ( dev-db/postgresql[server,threads] )"
-
-ruby_add_bdepend "
-   doc? (
-   dev-ruby/hoe
-   || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )"
-
-all_ruby_prepare() {
-   # hack the Rakefile to make it sure that it doesn't load
-   # rake-compiler (so that we don't have to depend on it and it
-   # actually works when building with USE=doc).
-   sed -i \
-   -e '/Rakefile.cross/s:^:#:' \
-   -e '/ExtensionTask/,/^end$/ s:^:#:' \
-   Rakefile || die
-
-   sed -i -e '18i require "socket"' spec/pg/connection_spec.rb || die
-}
-
-each_ruby_configure() {
-   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
-}
-
-each_ruby_compile() {
-   emake -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
-   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-ng_rspec
-   else
-   ewarn "The userpriv feature must be enabled to run tests."
-   eerror "Testsuite will not be run."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2015-09-07 Thread Manuel Rüger
commit: 2b08814669008879ca769e621feeb03685f9f87a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Sep  8 01:11:46 2015 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Sep  8 01:11:46 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b088146

dev-ruby/pg: Version bump

Package-Manager: portage-2.2.20.1

 dev-ruby/pg/Manifest |  1 +
 dev-ruby/pg/pg-0.18.3.ebuild | 63 
 2 files changed, 64 insertions(+)

diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
index fda7d2a..5c9a9ce 100644
--- a/dev-ruby/pg/Manifest
+++ b/dev-ruby/pg/Manifest
@@ -1,2 +1,3 @@
 DIST pg-0.17.1.gem 142848 SHA256 
e7933e8f7f184c28e820ed85ddfb3ad8a13933b2b2ab8656aa8f81cb0aa610a6 SHA512 
fb637256d084af3b41ba4130f866924df957a63c29d029b5bf553e545b3d4064e682b00d0604bf495a853a8800b9c8eba34718e96c651c9a697281ae4a62
 WHIRLPOOL 
81e0a99d023a49b29b8be1b11290cd0f102cec92adc63a8ed10e215dcd3ef43b8ce5e1916d0f155790e9304670bb0c96921346663798acb5fb973e47fdadfe9f
 DIST pg-0.18.2.gem 216576 SHA256 
ee4e81f2cdb397d866f15c54f057f1172c8098dc5a8d1ce2883806198d5bbdab SHA512 
14707bc4e1c5700cf30b0541c14d31681986c7574281ea878a1d17f89a8986abdd00c7c64c763b56bf675fe0b9be177c4ca9822842cee75a2b57cad49d396a4f
 WHIRLPOOL 
66f2fb4d13ee6da34112cacdd0d4be19a99345b3e17301cd154541e12cb9e799383257584e6cd7bdf60a9f6b888be3ecdefa12d1a7729b7901362ce390d4fad5
+DIST pg-0.18.3.gem 218624 SHA256 
0cbddb3e2d36b5db262abc1f12a17e1e972f2778c056729f61d6bf1e1b1ce301 SHA512 
dc4152dd7b546f3e182075ecd9086ca88c462b570d948f7879de8084e36f19fc6256ab8e5b3ac2ff267f43998a99f44c159c84af47e6637fa14b2aa16f14b139
 WHIRLPOOL 
8ca2b8613ce6725c92466d83bec37f577f7c6ecad0acc08eeb6c91325c8f936d17a5fb77b25dd659db1a3ebd21cc246016424c65d483da771e3657b2fe157ea8

diff --git a/dev-ruby/pg/pg-0.18.3.ebuild b/dev-ruby/pg/pg-0.18.3.ebuild
new file mode 100644
index 000..f78c192
--- /dev/null
+++ b/dev-ruby/pg/pg-0.18.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+# ruby19 test fail
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
+HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND+=" dev-db/postgresql"
+DEPEND+=" dev-db/postgresql
+   test? ( >=dev-db/postgresql-9.4[server,threads] )"
+
+ruby_add_bdepend "
+   doc? (
+   dev-ruby/hoe
+   || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )"
+
+all_ruby_prepare() {
+   # hack the Rakefile to make it sure that it doesn't load
+   # rake-compiler (so that we don't have to depend on it and it
+   # actually works when building with USE=doc).
+   sed -i \
+   -e '/Rakefile.cross/s:^:#:' \
+   -e '/ExtensionTask/,/^end$/ s:^:#:' \
+   Rakefile || die
+}
+
+each_ruby_configure() {
+   ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+   emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+   cp ext/*$(get_libname) 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.
+   RSPEC_VERSION=3 ruby-ng_rspec
+   else
+   ewarn "The userpriv feature must be enabled to run tests."
+   eerror "Testsuite will not be run."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/

2015-09-06 Thread Agostino Sarubbo
commit: e4e5df332dc27365f8de9e3251d2c3cb73ce1cd9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Sep  6 13:23:03 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep  6 13:23:03 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e5df33

dev-ruby/pg: ppc stable wrt bug #555852

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"

 dev-ruby/pg/pg-0.17.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/pg/pg-0.17.1.ebuild b/dev-ruby/pg/pg-0.17.1.ebuild
index 0f24139..f52045c 100644
--- a/dev-ruby/pg/pg-0.17.1.ebuild
+++ b/dev-ruby/pg/pg-0.17.1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://bitbucket.org/ged/ruby-pg/;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
 RDEPEND="${RDEPEND}