summaryrefslogtreecommitdiff
path: root/dev-ruby/postgres_ext
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/postgres_ext
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/postgres_ext')
-rw-r--r--dev-ruby/postgres_ext/Manifest6
-rw-r--r--dev-ruby/postgres_ext/metadata.xml11
-rw-r--r--dev-ruby/postgres_ext/postgres_ext-2.4.1.ebuild54
-rw-r--r--dev-ruby/postgres_ext/postgres_ext-3.0.0.ebuild54
4 files changed, 125 insertions, 0 deletions
diff --git a/dev-ruby/postgres_ext/Manifest b/dev-ruby/postgres_ext/Manifest
new file mode 100644
index 000000000000..5a3eac656523
--- /dev/null
+++ b/dev-ruby/postgres_ext/Manifest
@@ -0,0 +1,6 @@
+DIST postgres_ext-2.4.1.gem 20992 SHA256 41d5bd383537e90833005f87fe502843ee7097c5a981e81f7ed8464635d89df3 SHA512 e8a0b2990e2939f600c92bfae70ebfb142875ca3b86d6d6ad95bc8bbaf350df8c2fde5173f51ff71616e5b68d7d852d1f4b201573c05afa39aa4134c9cb4ef75 WHIRLPOOL 8d2126b0717c7f4311bd171542dd76db8d56c6b07cdd05400af7130a9e8f06df324faf4ca5aacbddfb31fdfeedf2e40bb9f960f1cbd515f3687dbe5a31c1a622
+DIST postgres_ext-3.0.0.gem 21504 SHA256 ec311a5550a0ad7a26ca9a3d1aaf3cb0a9a4e75fa49d6a3f6c4d055d1c0e77d1 SHA512 3d17a0f6ed98badf5c196ddc78e50d47c6a24edc19276f3939255f3d23490e30a3abc344da020d0480a8ec73586c6084349caf472f735461c4f9b6084d4d2c52 WHIRLPOOL 3c6a03884f608ac98353194c111acbbe06f9589525a4844185e2dcbb4a0166b56b66f51a5ae6041d52b972189d0e8f7963fc56429f5d5cb31cbf1a4f71048418
+EBUILD postgres_ext-2.4.1.ebuild 1512 SHA256 84e6a86d633372af800d5ef78de0944adba8c1aee3b584b4b3dfc26be5baf091 SHA512 f0539e851fd2fd74a4910a3a5614aea292458c96dfea2105f3f58df5156be5c069a69e03d213b5e27188ad10c339beb95bf33134b1afc4672901b736317a1b22 WHIRLPOOL 9b8430b1993d8405228e3a05c7fb595216fad873fedd7f3cf326cd8aef2a1c5039bfb48c0b6fbd744c34dc46cbb4d0faddcb662917d0927b97d8f499a8a7f46a
+EBUILD postgres_ext-3.0.0.ebuild 1504 SHA256 40babab9838d9bbd16e586e39f932268cc6ce61fe84c12b229cc8dbc222986d6 SHA512 c51974d40c3e0623a7095e5d36bf635de1ae60de1729ff4a5e09f073344bc3e3ca57fd9e7f28a1da514e09fe5bfb2ba448a07d1dd782ee326457d68ef4cf3f28 WHIRLPOOL a46e76aa50ecf74cde36b286ba3c1dbbc9f043be3fadd91a17613cff3491fa105e1f2698fecef4fe8bcf0929d3e8e27670305e3b29c4cfe082c13d1f6856cebe
+MISC ChangeLog 2284 SHA256 c85a780340bd9df419db0b2c19b3265146c19135789f55e6f424f7de6d2cc3fc SHA512 76e6b42b370c60494970eedaee4c89f11558b683b2a0f726eb87d2b977c9b457aec645657d7fad5d2f22d96cd6d376026eba40fed0273ebd2d7df8755e072bad WHIRLPOOL ee17eac1e640770f249da34cbd5f22e7d7f115779970c5e1ed9d1061a05e49003cc3c34301d67aafbbc19bc795084043a54e10ab8e3210c1986a6185b8ce1197
+MISC metadata.xml 343 SHA256 f03a0922dd5b60508bf88cebbd880ce9cfc8b48cfc5b790ef91cd256cf317abb SHA512 b00bbf491b1dca98cdcbdd8a23982a5120205f07e9948c453c9c18ae3233e450cda7d6e78986b4a1b6ae17db15307ef9494be4e85aca31b453e3531ff0de060e WHIRLPOOL ba8eb70f1d3a58376d02f21d6c2c25bd041360e11333cb401259e32988059b13fa406efef7fea0bdb6ef6d1a777865b51c0ee87f96603ea98c6fbd2f21e3031f
diff --git a/dev-ruby/postgres_ext/metadata.xml b/dev-ruby/postgres_ext/metadata.xml
new file mode 100644
index 000000000000..3d9ac2a2fc57
--- /dev/null
+++ b/dev-ruby/postgres_ext/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="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">dockyard/postgres_ext</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/postgres_ext/postgres_ext-2.4.1.ebuild b/dev-ruby/postgres_ext/postgres_ext-2.4.1.ebuild
new file mode 100644
index 000000000000..1c406910eb46
--- /dev/null
+++ b/dev-ruby/postgres_ext/postgres_ext-2.4.1.ebuild
@@ -0,0 +1,54 @@
+# 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_DOC="rdoc"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Native PostgreSQL data types and querying extensions for ActiveRecord and Arel"
+HOMEPAGE="https://github.com/dockyard/postgres_ext"
+SRC_URI="mirror://rubygems/${P}.gem"
+
+LICENSE="BSD"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+# Requires live database connection
+RESTRICT=test
+
+ruby_add_rdepend "|| (
+ dev-ruby/activerecord:4.2 )
+ >=dev-ruby/arel-4.0.1:*
+ dev-ruby/pg_array_parser:0.0.9"
+
+ruby_add_bdepend "dev-ruby/bundler"
+
+all_ruby_prepare() {
+ [ -f Gemfile.lock ] && rm Gemfile.lock
+ #if ! use development; then
+ sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
+ sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || die
+ sed -i -e "/gem.add_development_dependency/d" "${PN}".gemspec || die
+ #fi
+ #if ! use test; then
+ sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
+ #fi
+ #if ! use test && ! use development; then
+ sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || die
+ #fi
+ #https://github.com/dockyard/postgres_ext/issues/166
+ #ugh, thanks
+ sed -i -e "/byebug/d" Gemfile || die
+ sed -i -e "/fivemat/d" Gemfile || die
+}
+
+each_ruby_prepare() {
+ if [ -f Gemfile ]; then
+ BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
+ BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
+ fi
+}
diff --git a/dev-ruby/postgres_ext/postgres_ext-3.0.0.ebuild b/dev-ruby/postgres_ext/postgres_ext-3.0.0.ebuild
new file mode 100644
index 000000000000..021c22083a70
--- /dev/null
+++ b/dev-ruby/postgres_ext/postgres_ext-3.0.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Native PostgreSQL data types and querying extensions for ActiveRecord and Arel"
+HOMEPAGE="https://github.com/dockyard/postgres_ext"
+
+LICENSE="BSD"
+SLOT="$(get_version_component_range 1)"
+KEYWORDS="~amd64 ~arm"
+IUSE=""
+
+# Requires live database connection
+RESTRICT=test
+
+ruby_add_rdepend "|| (
+ dev-ruby/activerecord:5.0
+ dev-ruby/activerecord:4.2 )
+ >=dev-ruby/arel-4.0.1:*
+ dev-ruby/pg_array_parser:0.0.9"
+
+ruby_add_bdepend "dev-ruby/bundler"
+
+all_ruby_prepare() {
+ [ -f Gemfile.lock ] && rm Gemfile.lock
+ #if ! use development; then
+ sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
+ sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || die
+ sed -i -e "/gem.add_development_dependency/d" "${PN}".gemspec || die
+ #fi
+ #if ! use test; then
+ sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
+ #fi
+ #if ! use test && ! use development; then
+ sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || die
+ #fi
+ #https://github.com/dockyard/postgres_ext/issues/166
+ #ugh, thanks
+ sed -i -e "/byebug/d" Gemfile || die
+ sed -i -e "/fivemat/d" Gemfile || die
+}
+
+each_ruby_prepare() {
+ if [ -f Gemfile ]; then
+ BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
+ BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
+ fi
+}