summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-12-08 10:05:37 +0100
committerHans de Graaff <graaff@gentoo.org>2017-12-09 08:52:01 +0100
commitc59d83b29ce788042a59e10afd17be3236460f54 (patch)
tree6281afdca23bb0e31784d4bd5e1559e6e0985483 /dev-ruby/factory_girl
parentdev-ruby/fast_gettext: cleanup (diff)
downloadgentoo-c59d83b29ce788042a59e10afd17be3236460f54.tar.gz
gentoo-c59d83b29ce788042a59e10afd17be3236460f54.tar.bz2
gentoo-c59d83b29ce788042a59e10afd17be3236460f54.zip
dev-ruby/factory_girl: cleanup
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/factory_girl')
-rw-r--r--dev-ruby/factory_girl/Manifest3
-rw-r--r--dev-ruby/factory_girl/factory_girl-4.8.0.ebuild49
2 files changed, 1 insertions, 51 deletions
diff --git a/dev-ruby/factory_girl/Manifest b/dev-ruby/factory_girl/Manifest
index 0f85c83abb12..3ab620517970 100644
--- a/dev-ruby/factory_girl/Manifest
+++ b/dev-ruby/factory_girl/Manifest
@@ -1,2 +1 @@
-DIST factory_girl-4.8.0.tar.gz 66025 SHA256 81149a7466ead3f3ecd5e9a4cecd19ca20646901669b2892a62413f54a24036b SHA512 c1e89b25c0dc3292b647179c3cfb487ae235d8049f936beb926c3799e0348ee66e4e6a5d3904fd1a11660477f4c2c993e5d2640a8f54f7cfc5779027d76cca61 WHIRLPOOL 075e04007a9e98c62ca09c4798cfd3dc3e1ebe7025d5b2ae1a2510f9d1a2d34ae9f9fbd56730c09757461d5c546f36517fb914c6c375bebb494409c8db268a4b
-DIST factory_girl-4.8.1.tar.gz 66262 SHA256 874255baaadcd8bedd289b3d8c39343f7ac228a6f43464e7f67f1085fabc6228 SHA512 2c27eaec8351b009bf200e10829128c5fd3e73b0383cebf7f3ccbe062ba362b29f25e5c054ed25245202c85c6ab60c637547a8f3719e2f079c86c83c30db48a0 WHIRLPOOL d3e702547015b75ce51295a1838c9aa757ee1a8c855498a8a0395258c05abba3f5a237a201aaf4e4cf371b9a71b8c5ff9362e0f605937bf9af1aba4b442bb633
+DIST factory_girl-4.8.1.tar.gz 66262 BLAKE2B 6a90581ef7fe7f6e3d244bceebd10a4d725731ff2a7f6aae4265a6d235f5ef4f1069a0f1f2fa55121c9112b245dc947378745958583e9380536cc797d881a3aa SHA512 2c27eaec8351b009bf200e10829128c5fd3e73b0383cebf7f3ccbe062ba362b29f25e5c054ed25245202c85c6ab60c637547a8f3719e2f079c86c83c30db48a0
diff --git a/dev-ruby/factory_girl/factory_girl-4.8.0.ebuild b/dev-ruby/factory_girl/factory_girl-4.8.0.ebuild
deleted file mode 100644
index c35532783667..000000000000
--- a/dev-ruby/factory_girl/factory_girl-4.8.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# 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_DOC="yard"
-
-# Tests depend on unpackaged appraisal, for now we just run the specs
-# with the version of Rails that is installed.
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_EXTRADOC="GETTING_STARTED.md NEWS README.md"
-
-RUBY_FAKEGEM_EXTRAINSTALL="features"
-
-inherit ruby-fakegem
-
-DESCRIPTION="factory_girl provides a framework and DSL for defining and using factories"
-HOMEPAGE="https://github.com/thoughtbot/factory_girl"
-SRC_URI="https://github.com/thoughtbot/factory_girl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE=""
-
-ruby_add_rdepend ">=dev-ruby/activesupport-3.0.0:*"
-
-ruby_add_bdepend "
- test? (
- >=dev-ruby/activerecord-3.1[sqlite]
- dev-ruby/bourne
- >=dev-ruby/mocha-0.12.8
- dev-ruby/rspec-its
- dev-ruby/timecop
- )
-"
-
-all_ruby_prepare() {
- # Avoid unneeded test dependencies
- sed -i -e '/simplecov/ s:^:#:' \
- -e '1irequire "fileutils"' spec/spec_helper.rb || die
-
- # Avoid specs that may fail due to more strict rspec 2.99
- # interpretation.
- sed -i -e '/callbacks using syntax methods without referencing FactoryGirl explicitly/,/^end/ s:^:#:' spec/acceptance/callbacks_spec.rb || die
-}