Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/
Date: Thu, 26 Apr 2018 04:57:15
Message-Id: 1524717903.abcf25f95faba3538e8d6ba6c8fda435ccf7ca05.graaff@gentoo
1 commit: abcf25f95faba3538e8d6ba6c8fda435ccf7ca05
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 26 04:45:03 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 26 04:45:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abcf25f9
7
8 dev-ruby/pg: cleanup
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-ruby/pg/Manifest | 1 -
13 dev-ruby/pg/pg-0.17.1-r1.ebuild | 65 -----------------------------------------
14 2 files changed, 66 deletions(-)
15
16 diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest
17 index e454c180b18..e3df249ae1d 100644
18 --- a/dev-ruby/pg/Manifest
19 +++ b/dev-ruby/pg/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST pg-0.17.1.gem 142848 BLAKE2B 26715943ffc56d5377613d3dd56bc994696a812ccedf6415233781d6685ac34ddf25321f2f194880dd9df6715d43efef7eaeb00ed8ac594302c6e2e292b07cc8 SHA512 fb637256d084af3b41ba4130f866924df957a63c29d029b99995bf553e545b3d4064e682b00d0604bf495a853a8800b9c8eba34718e96c651c9a697281ae4a62
22 DIST pg-0.18.4.gem 219648 BLAKE2B f6b957551b0b537dda5551bc8974f5bd2f8a4ee4ecf482a5d3dc3ede0ad610507029693fadbfe9d2e2940f63d82da61e535e802919a82f7e5ea23c1165b81847 SHA512 48e792756c7ee205164b59a9515ace6320150f0ce1907293f8c1a736300c62c0b38c1be49e8ad4f1a50f29abc7f72bb43e742a8e63d9606eff4c7d2191a4fb74
23 DIST pg-0.21.0.gem 214016 BLAKE2B 9e27646cd85bc97dedfb980f4851b19a1ef2aad17f6a5c60726c1683642af5c4cf87d518b300fb4c894e1580f808f8af6158b57f1ac25971c1fc55818abee6f4 SHA512 590a8c34487d2cf030082cfff87b2cc83b636df06a931e394acfb098ecb5728e793d777f125b036ee9953bbd21ec5facf91c932930acccb507d3394f2fc4cc5b
24 DIST pg-1.0.0.gem 213504 BLAKE2B eecaa632c7903f89c503ad92ccff058bbc6c2c80cbf83d656eeb9a5b919b84bb270671ad4e0fa08f55be1bcfc69eb8e13b815c37c601d300de503383f1ba5908 SHA512 1cac025ab8a95b4429534b98377eedeb1e3f8b2c4a859363c4174d477577caf39557b002cde4e745189fa9a29e9181ff9d564d822f15ff5c4f03f7389b0d0398
25
26 diff --git a/dev-ruby/pg/pg-0.17.1-r1.ebuild b/dev-ruby/pg/pg-0.17.1-r1.ebuild
27 deleted file mode 100644
28 index e79f3407961..00000000000
29 --- a/dev-ruby/pg/pg-0.17.1-r1.ebuild
30 +++ /dev/null
31 @@ -1,65 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -USE_RUBY="ruby21 ruby22"
37 -
38 -RUBY_FAKEGEM_RECIPE_TEST="rspec"
39 -
40 -RUBY_FAKEGEM_TASK_DOC="docs"
41 -RUBY_FAKEGEM_DOCDIR="doc"
42 -RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc"
43 -
44 -inherit multilib ruby-fakegem
45 -
46 -DESCRIPTION="Ruby extension library providing an API to PostgreSQL"
47 -HOMEPAGE="https://bitbucket.org/ged/ruby-pg/"
48 -
49 -LICENSE="|| ( GPL-2 Ruby )"
50 -SLOT="0"
51 -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"
52 -IUSE=""
53 -
54 -RDEPEND="${RDEPEND}
55 - dev-db/postgresql:*"
56 -DEPEND="${DEPEND}
57 - dev-db/postgresql
58 - test? ( dev-db/postgresql[server,threads] )"
59 -
60 -ruby_add_bdepend "
61 - doc? (
62 - dev-ruby/hoe
63 - || ( >=dev-ruby/yard-0.6.1 dev-ruby/rdoc ) )"
64 -
65 -all_ruby_prepare() {
66 - # hack the Rakefile to make it sure that it doesn't load
67 - # rake-compiler (so that we don't have to depend on it and it
68 - # actually works when building with USE=doc).
69 - sed -i \
70 - -e '/Rakefile.cross/s:^:#:' \
71 - -e '/ExtensionTask/,/^end$/ s:^:#:' \
72 - Rakefile || die
73 -
74 - sed -i -e '18i require "socket"' spec/pg/connection_spec.rb || die
75 -}
76 -
77 -each_ruby_configure() {
78 - ${RUBY} -C ext extconf.rb || die "extconf.rb failed"
79 -}
80 -
81 -each_ruby_compile() {
82 - emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
83 - cp ext/*$(get_libname) lib || die
84 -}
85 -
86 -each_ruby_test() {
87 - if [[ "${EUID}" -ne "0" ]]; then
88 - # Make the rspec call explicit, this way we don't have to depend
89 - # on rake-compiler (nor rubygems) _and_ we don't have to rebuild
90 - # the whole extension from scratch.
91 - ruby-ng_rspec
92 - else
93 - ewarn "The userpriv feature must be enabled to run tests."
94 - eerror "Testsuite will not be run."
95 - fi
96 -}