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.
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 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 +1,2 @@ | ||
DIST acts_as_list-0.9.19.gem 37376 BLAKE2B e676d970fecbf81df92193e62e3cd9880c3f3f7b03cfbdb7e9e3802aefe209f55d034a4e7e2b9ff09ed84ef7ba7fdbd3d625fe79d86ca1e826f7ebd90bd96e8e SHA512 890d396647c770df754abcde2ab69f022d6fbc2417a1672f41fec2e03e2db7ce2df08126efb757e18c7f0f2faa1230ffa49f099b94ee9035068d6c04c38c7476 | ||
DIST acts_as_list-1.0.0.gem 38912 BLAKE2B b48b554590343271156c4e4275ed6f7c59ea03c4a0c9a88cf549e9cbaf2fe428957c704f4fe70729c027f87236b1b347e3ff37978a775028c940dadf99b0a872 SHA512 850ec3b148a0123e7393109987aab321b75567dae8be2445bf0b40e089bf07eaa121c09997ccf725ca947dff440c57186e43c30a7c82e229002d226109a1f59a |
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,36 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
USE_RUBY="ruby24 ruby25 ruby26" | ||
|
||
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-4.2:*" | ||
|
||
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 | ||
} |