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.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 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,3 +1,4 @@ | ||
DIST backports-3.15.0.gem 152064 BLAKE2B a2c2a1f35ab6f682be23a5189bafec563a2d028ed5f0e0a4880ad85e09ac7af1085a601323ec3459c5be87a5271c6c3e47b6e80005c50e3084d4ac1dc9f2fd35 SHA512 4eb1f928c37596971fa274d838ab991bce462a7f571cb68501fc81e579693528e93536c25e4b64d93f4f0edfd313c8aacd8af014bb5c586cc182867e78f614d5 | ||
DIST backports-3.16.0.gem 154624 BLAKE2B a35adb965c3f9f42fab5fe80fa1ca20a59511e9b265da28bef059e3477fa6a291c86e3b16f837e1f2d2f7e36e6660be29a9fc02713c3f46ad36767dd87baa1f9 SHA512 500386a74162e6c66e606c705dd26296f56118460f300005f0db44025f49bb8f516805921f23e17d0959056a2a8fc320b5ad4c514dd9c22ef811f6325113ae8a | ||
DIST backports-3.16.1{P}.tar.gz 156181 BLAKE2B c7cc842fb9bf8fcc7b55c8a572cc7a01a63008ad20f63142f339d24d7bf04202f4def2f03261d23d6c41c8c3bd0af8fce76a323e25585b6874c1428eb2a9ef90 SHA512 d907d729dd37ebfb175f8274078664fc4eee51de773cd0871b8bec9a8808052fbdea8571f0a402b1a6ca88ca7cd7b6b9984f66799abf92f300f1f8bc7b8f3f9b | ||
DIST backports-3.17.0{P}.tar.gz 158065 BLAKE2B 33df81f32aa36b8039e021dbbf9ebd265a73cc5f74069472773ccf8f71d9378820671055c8130282a95ee8a5b32d3fe13a04394fb8f9b4c01c38f13582447063 SHA512 4acea191916bb067856c42665c10fad52a275193fc5cd04cb73bc5ce7967033d055acbf682f5e7abc8058fafd5150fb8154495a964d09664bf1ffcf91dd154c8 |
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,28 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
USE_RUBY="ruby24 ruby25 ruby26 ruby27" | ||
RUBY_FAKEGEM_TASK_TEST="test" | ||
|
||
RUBY_FAKEGEM_GEMSPEC="backports.gemspec" | ||
|
||
inherit ruby-fakegem | ||
|
||
DESCRIPTION="Backports of Ruby features for older Ruby" | ||
HOMEPAGE="https://github.com/marcandre/backports" | ||
SRC_URI="https://github.com/marcandre/backports/archive/v${PV}.tar.gz -> $P{P}.tar.gz" | ||
|
||
LICENSE="MIT" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" | ||
IUSE="" | ||
|
||
all_ruby_prepare() { | ||
# Avoid activesupport test that no longer works in Rails 5. This also avoids | ||
# a dependency on activesupport | ||
sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die | ||
|
||
sed -i -e '/rubocop/I s:^:#:' Rakefile || die | ||
} |