diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-15 13:42:19 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-15 13:42:19 +0100 |
commit | bd8ca999980e9c0c9ae40a11789c858bb58769e3 (patch) | |
tree | 355d68a84921e04a81231e74fc062f229f76a733 /dev-ruby/seed-fu | |
parent | b3f2504c1d05b5999b74b2135860fc721e3adf68 (diff) |
gentoo auto-resync : 15:07:2022 - 13:42:19
Diffstat (limited to 'dev-ruby/seed-fu')
-rw-r--r-- | dev-ruby/seed-fu/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/seed-fu/seed-fu-2.3.9-r1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/seed-fu/Manifest b/dev-ruby/seed-fu/Manifest index ba5c9bbd567f..19606755319e 100644 --- a/dev-ruby/seed-fu/Manifest +++ b/dev-ruby/seed-fu/Manifest @@ -1,3 +1,4 @@ DIST seed-fu-2.3.9.tar.gz 13392 BLAKE2B 7468c54013f6a51bcebf4b6ad1f2401d53ddd2a5f61eddc71d0edc088ea1296acf8012ae885036d5f11c5e9336e7dbf67f2508b3d89830647b36d6f7992d574d SHA512 bf5b7a472a5af6bd40f06f60c404c8893641b222d80469765a434a126e182ae6e7fd5281a0ba9d5d61bd89aa515ee0a3f244238108cd41fb15ced501c917b216 +EBUILD seed-fu-2.3.9-r1.ebuild 940 BLAKE2B ee1ff94b4bae0f7791d4c2ba572266dce56692a898da30412e2d37364d5390bce19028a9b0be52a33e6197ac3a7e87570b98f9908881a190d005902e289667a2 SHA512 a92e66e625288001e66ce34486414a966ef39b9e853c61ece009dd462cc5448c1c4a0275235fbe4699e160b2631c2bceff45f67be33327366c0e67ab0043333f EBUILD seed-fu-2.3.9.ebuild 907 BLAKE2B 8f1ab70d0213ecb007415cab63fb4db57d59a3563aff01049ce1a098f1143a896208edc574d1d8642d94829a0cd7be42edd31b51566dd2063198c0621f37955c SHA512 6b85f3fb4d461c0acda70337b3b031230885b28c6b30c315563425c2fa9ab647bbcbd606f0a1e0be07b7ba624747045883507c875aa0e07b95524341e2d50376 MISC metadata.xml 342 BLAKE2B 812a0870e13c96a3b3a5a817b0ad5582ca928acc6431d13b236f3f6db7aba91d06ef62cdccc9196ee5303de11bf80493c7ee8937b126e80322005c135474b317 SHA512 d1e4188cb0b2bad55f333324878827bc46f79eb96e1a4c6bfc3264f86d43f9ea0ac4a3271760a5fa7c8facde4251da6bd3bcabea0136d6043d48f2aa25f1a7b1 diff --git a/dev-ruby/seed-fu/seed-fu-2.3.9-r1.ebuild b/dev-ruby/seed-fu/seed-fu-2.3.9-r1.ebuild new file mode 100644 index 000000000000..b12e4c868d1b --- /dev/null +++ b/dev-ruby/seed-fu/seed-fu-2.3.9-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_GEMSPEC="seed-fu.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +inherit ruby-fakegem + +DESCRIPTION="Advanced seed data handling for Rails" +HOMEPAGE="https://github.com/mbleigh/seed-fu" +SRC_URI="https://github.com/mbleigh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/activerecord-3.1:* + >=dev-ruby/activesupport-3.1:*" +ruby_add_bdepend "test? ( dev-ruby/sqlite3 )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' spec/spec_helper.rb || die "sed failed" + + # Avoid failing test that appears not be innocent + sed -i -e '/raise an ActiveRecord::RecordNotSaved/,/end/ s:^:#:' spec/seeder_spec.rb || die +} |