summaryrefslogtreecommitdiff
path: root/dev-ruby/pg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/pg
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/pg')
-rw-r--r--dev-ruby/pg/Manifest9
-rw-r--r--dev-ruby/pg/metadata.xml11
-rw-r--r--dev-ruby/pg/pg-0.17.1-r1.ebuild65
-rw-r--r--dev-ruby/pg/pg-0.18.4-r1.ebuild61
-rw-r--r--dev-ruby/pg/pg-0.21.0.ebuild55
5 files changed, 201 insertions, 0 deletions
diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
new file mode 100644
index 000000000000..e7950d4a798c
--- /dev/null
+++ b/dev-ruby/pg/Manifest
@@ -0,0 +1,9 @@
+DIST pg-0.17.1.gem 142848 SHA256 e7933e8f7f184c28e820ed85ddfb3ad8a13933b2b2ab8656aa8f81cb0aa610a6 SHA512 fb637256d084af3b41ba4130f866924df957a63c29d029b99995bf553e545b3d4064e682b00d0604bf495a853a8800b9c8eba34718e96c651c9a697281ae4a62 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
+EBUILD pg-0.17.1-r1.ebuild 1810 SHA256 f1fdd9a23ddba2554eff2085456e4ae5cf2c05d925f0fca9eb7a84b7721e6b29 SHA512 b54df5663629584b1d19ab599a0d83ca5577d225aefe32f134f52c9869726934c8c606a25a4516f26ddc441488b79686e63c4484275b9c69135feb69fc2ed262 WHIRLPOOL ccf7135673db30a6bb1ecb2e0ba3a80122975b715f9d60761005077b337abd736a38b07af00f0ec138856ab3521b5558194f4132db731ebb2a2a619f68e172c3
+EBUILD pg-0.18.4-r1.ebuild 1767 SHA256 03c9e3f0e465bdf9e3d2425f1234eb01258c1283229fab31b2a78ceee494a250 SHA512 b3011ccc13338485b19e0ad63362fc9d2b2aa99560acc8222ce1b7ac7ad857492d92e847cc32144bba70f7bd889af0b39824aef2178ede2043314bb434500d55 WHIRLPOOL eed4909a30aa82dbbefdb5d46c5d7ae303062a37b4968aa66583d08cad3314fecd150465d7ea2b373172f16a3b64d567926f22bc30e871fbdcc061792af6cd30
+EBUILD pg-0.21.0.ebuild 1655 SHA256 caf3b1b7732923e21c63c05c6f585f25cb4706aba7c34a680505bd024b4cb562 SHA512 3eef393aaccb27f26c481fa3f492e9621faff1868f2b54553f1d48910e78b22ed75e87116407aabf5d43f05b2a4b0f562d93c372ce9f15ab7d0453fb13f5b0cd WHIRLPOOL 4e44f99687ab796dffd9df1b7dbef9fbee3e9561aeff0584490d44b13dcf86a0f6e4d198c8c5bc5c15645cb79c8a5679b67bbe0faa663d8bf85486c6a3f959ec
+MISC ChangeLog 4333 SHA256 eed23fb4ca390097cb229cf40148d859199dca7f4d61c5d0743f8df96cfe424e SHA512 1a858ef8a810f024de8ea72768aa977523cec355fec08c6a184b444a86257f3d4559b17a83f7cdb6216d7feee20e663dcbe2843383de3be73bcbcde766cec262 WHIRLPOOL 214377761209ed97f0e2eb5bf7b70be57412de7cfbfaec6ddf6f6a418438b61507097cb36e1dc4e3e46c3fddac5a601a9d9417f1a37f00bf256795bbeef541d4
+MISC ChangeLog-2015 10339 SHA256 85e33e89d036858564e60e338848f805e6ffd6d01f7f92c301e3603722c36980 SHA512 373815e77642db461fbdcd697b4f875a1ae2462558948742334b20dd1296cacb5686a3e41028b5a60b23b7133ad16bfa72b66e555a2e91e1ec551e1aa08dc681 WHIRLPOOL f68be579c3809c84a770dc8e2c1b5bccc275555fa3a239c14f787ca9873e5e7868804b316022b467138ba4df60c9d0a67933e0d4d2d2a3cd7776e7967951d888
+MISC metadata.xml 340 SHA256 c8942a720920ab28d60e7f4c8dd7fafbc988105726999d1e8fd9c3819df82e16 SHA512 76be8c407457ed3f1a8e2caaf5a10949a830d4033d8d18e88830f37d2b62d4ff9675367f123364041ca88f5af972d4d7152c1f2832a5c891b516a83f989e1598 WHIRLPOOL c1edfa8d6d406516aa26fbd14ccd25080187394418d5fd67ff03ee7c1bd8780b2c66d18aefccc49a30735f4c8a81eba7ac4adba714b374f2bd824c1fd7839851
diff --git a/dev-ruby/pg/metadata.xml b/dev-ruby/pg/metadata.xml
new file mode 100644
index 000000000000..d5e99f21621d
--- /dev/null
+++ b/dev-ruby/pg/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="bitbucket">ged/ruby-pg</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/pg/pg-0.17.1-r1.ebuild b/dev-ruby/pg/pg-0.17.1-r1.ebuild
new file mode 100644
index 000000000000..e79f3407961b
--- /dev/null
+++ b/dev-ruby/pg/pg-0.17.1-r1.ebuild
@@ -0,0 +1,65 @@
+# 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
+}
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 000000000000..ed562255874d
--- /dev/null
+++ b/dev-ruby/pg/pg-0.18.4-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 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_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 ~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_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.21.0.ebuild b/dev-ruby/pg/pg-0.21.0.ebuild
new file mode 100644
index 000000000000..5309a54327c3
--- /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 ~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
+}