forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Hans de Graaff <[email protected]> Package-Manager: Portage-2.3.49, Repoman-2.3.11
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST acts_as_list-0.9.15.gem 35840 BLAKE2B 3a1c5929d5f51804b5d4ee1d754f951ce0615bf4fa80345bb55d7c1b821fcd3378ec6817da697381d6692e97b790823a2f00e41742608a04ea399c3c1bf6ba30 SHA512 76b2b80c4b3011b69f027066d5a1d458727209f8c05ec3f01f5479db18dcae85213cb1c9111aa152093148e2e5c2235b2714760141504939005e656c891135b1 | ||
DIST acts_as_list-0.9.16.gem 35840 BLAKE2B 189e05a7f9ba231a4d49f00df0941edef820ef4e1d8705f6b36b8dbffe9125a77b964997e58712d293785396b3b0847b494758bb4b9e0102c53df78ee0817728 SHA512 e01c7814669bfd408a27b37ff88c42adfd52b4001f0e835f134dbb5de8d041d27dc95b3549271ffe81b3b5991e149ff0958f8c14bb59425f29dd1493db474f22 | ||
DIST acts_as_list-0.9.17.gem 36352 BLAKE2B 6f876dbeab3e84952da4b04f98e8283284fdfe34deab0a0e950606b935e4b64e5adba057aef33daa2279faf9e1f24240f653a2f4c5a56120d5a9019c1dca76ed SHA512 a65cb1e4d8ff99f40ed6ef16344a2884e80d861064c91ccaeb5baa35f4bce72ab77e4f0cc2110ae5734e8c329c7dee19ff0a38f59bd518a97ea7073ce4e61678 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Copyright 1999-2018 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
USE_RUBY="ruby23 ruby24 ruby25" | ||
|
||
RUBY_FAKEGEM_RECIPE_DOC="rdoc" | ||
|
||
inherit ruby-fakegem | ||
|
||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" | ||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb" | ||
|
||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" | ||
|
||
DESCRIPTION="Capabilities for sorting and reordering a number of objects in a list" | ||
HOMEPAGE="https://github.com/swanandp/acts_as_list" | ||
|
||
LICENSE="MIT" | ||
SLOT="3" | ||
KEYWORDS="~amd64 ~x86-macos" | ||
IUSE="" | ||
|
||
ruby_add_rdepend ">=dev-ruby/activerecord-3:*" | ||
|
||
ruby_add_bdepend " | ||
test? ( | ||
dev-ruby/test-unit:2 | ||
dev-ruby/activerecord[sqlite] | ||
)" | ||
|
||
all_ruby_prepare() { | ||
rm Gemfile || die | ||
sed -i -e '/[Bb]undler/d' Rakefile || die | ||
sed -i -e '/bundler/,/^end/ s:^:#:' test/helper.rb || die | ||
sed -i -e '/git ls/d' ${RUBY_FAKEGEM_GEMSPEC} || die | ||
sed -i -e '/github_changelog/,$ s:^:#:' Rakefile || die | ||
} |