From: Hans de Graaff Date: Sun, 29 Apr 2018 09:33:00 +0000 (+0200) Subject: dev-ruby/postgres_ext: cleanup X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=14c1536beeba7592acbef215a49fc072b24c54d3;p=gentoo.git dev-ruby/postgres_ext: cleanup Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- diff --git a/dev-ruby/postgres_ext/Manifest b/dev-ruby/postgres_ext/Manifest index a0b6d42e6be4..03c18a592bdb 100644 --- a/dev-ruby/postgres_ext/Manifest +++ b/dev-ruby/postgres_ext/Manifest @@ -1,2 +1 @@ -DIST postgres_ext-3.0.0.gem 21504 BLAKE2B 8fa38e78bd182e8c89746492d7082383b3411d987b95b6f01ca0fe961913aa74f3e32923150e3ce8d9dc0bf7377a65c6f2f926681b7dce0cf25873a8537c9ad0 SHA512 3d17a0f6ed98badf5c196ddc78e50d47c6a24edc19276f3939255f3d23490e30a3abc344da020d0480a8ec73586c6084349caf472f735461c4f9b6084d4d2c52 DIST postgres_ext-3.0.1.gem 24064 BLAKE2B 013a5b146474006f5bf15c5336b84b279a2d92afa632faa8e2c237f02bd4d899fb7ce7f7bda401df7b686ee7e952248db1278aeced9067a15343d13f5a5f832d SHA512 da1f47e90e12229f675955491d21eea56a349213db963e7a6e29886c1f5b8773a1988ca224be4abf5163e66e4189d98e9adf85d61e201488e5c13b36bc6f7b4f diff --git a/dev-ruby/postgres_ext/postgres_ext-3.0.0.ebuild b/dev-ruby/postgres_ext/postgres_ext-3.0.0.ebuild deleted file mode 100644 index 021c22083a70..000000000000 --- a/dev-ruby/postgres_ext/postgres_ext-3.0.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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 -}