diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-ruby/pg | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-ruby/pg')
-rw-r--r-- | dev-ruby/pg/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/pg/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ruby/pg/pg-0.14.1.ebuild | 66 | ||||
-rw-r--r-- | dev-ruby/pg/pg-0.17.1-r1.ebuild | 66 | ||||
-rw-r--r-- | dev-ruby/pg/pg-0.17.1.ebuild | 66 | ||||
-rw-r--r-- | dev-ruby/pg/pg-0.18.2.ebuild | 63 |
6 files changed, 272 insertions, 0 deletions
diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest new file mode 100644 index 000000000000..68b728437088 --- /dev/null +++ b/dev-ruby/pg/Manifest @@ -0,0 +1,3 @@ +DIST pg-0.14.1.gem 108544 SHA256 9e7911f2f6ecef295ca2da1afcc0c97f547659e05696c9428538174a9eb9193d SHA512 12f4f69ad2ed7a975acf0f43016f646b137621135ff599bde038dd09e233d3ff53a79fe01f694c60a3ff306f3967a011083b7d34e4b07b831b0de47811dd47ad WHIRLPOOL 56aa83d2bd78f05a7218146ca15e5e082d85c4190432b6eca08a32e53fd89ed89cd36aedc0d7a47c2602ed28d4be3310abaa5bdddb9654174699d7f86fdbf9be +DIST pg-0.17.1.gem 142848 SHA256 e7933e8f7f184c28e820ed85ddfb3ad8a13933b2b2ab8656aa8f81cb0aa610a6 SHA512 fb637256d084af3b41ba4130f866924df957a63c29d029b99995bf553e545b3d4064e682b00d0604bf495a853a8800b9c8eba34718e96c651c9a697281ae4a62 WHIRLPOOL 81e0a99d023a49b29b8be1b11290cd0f102cec92adc63a8ed10e215dcd3ef43b8ce5e1916d0f155790e9304670bb0c96921346663798acb5fb973e47fdadfe9f +DIST pg-0.18.2.gem 216576 SHA256 ee4e81f2cdb397d866f15c54f057f1172c8098dc5a8d1ce2883806198d5bbdab SHA512 14707bc4e1c5700cf30b0541c14d31681986c7574281ea878a1d17f89a8986abdd00c7c64c763b56bf675fe0b9be177c4ca9822842cee75a2b57cad49d396a4f WHIRLPOOL 66f2fb4d13ee6da34112cacdd0d4be19a99345b3e17301cd154541e12cb9e799383257584e6cd7bdf60a9f6b888be3ecdefa12d1a7729b7901362ce390d4fad5 diff --git a/dev-ruby/pg/metadata.xml b/dev-ruby/pg/metadata.xml new file mode 100644 index 000000000000..65d40a7a9fa2 --- /dev/null +++ b/dev-ruby/pg/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>ruby</herd> + <upstream> + <remote-id type="bitbucket">ged/ruby-pg</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/pg/pg-0.14.1.ebuild b/dev-ruby/pg/pg-0.14.1.ebuild new file mode 100644 index 000000000000..8881a38aed5a --- /dev/null +++ b/dev-ruby/pg/pg-0.14.1.ebuild @@ -0,0 +1,66 @@ +# 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="http://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 +} 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..08fc61ca763a --- /dev/null +++ b/dev-ruby/pg/pg-0.17.1-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +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="http://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.17.1.ebuild b/dev-ruby/pg/pg-0.17.1.ebuild new file mode 100644 index 000000000000..5933c2d3ef26 --- /dev/null +++ b/dev-ruby/pg/pg-0.17.1.ebuild @@ -0,0 +1,66 @@ +# 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="http://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.2.ebuild b/dev-ruby/pg/pg-0.18.2.ebuild new file mode 100644 index 000000000000..560c8e0ef99c --- /dev/null +++ b/dev-ruby/pg/pg-0.18.2.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="http://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 +} |