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.19, Repoman-2.3.6
- Loading branch information
Showing
2 changed files
with
32 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 docile-1.1.5.gem 14848 BLAKE2B a8689b3d1a23cac3f62c9fa5d6dd6425bd780a01ffaf96869a57d1bb0a7756b2d8242d77726ed7286e3405c0abc86644e6ac6b51722d120d4c541e4406d7de4d SHA512 3bdb2e42d83fd0050bf541d4dad0120180b63f80ab5ace1504ab7a12bd38397a89c74855437698267b4a87d72dd02dd4ab4ec365a2a4610828d2b100c2a9e3d4 | ||
DIST docile-1.2.0.gem 16896 BLAKE2B eadbf625fe1f26bb63cafdf2c30e53d0f7362e19baeac2ffaa8bb8ecc01453bdd7a5d1b5005bf60a892b6f48188f0d7d3e2a1d75b53cefddc206e11c0384982b SHA512 328ef09e4d9981aeaec8e3d97ed54a1806ca1de8e5a00b6f2b311e377fcb986eef1b7fbfa8a27992d235f93629a636fa20a5c347ae7310f325af7e4af88ebccc | ||
DIST docile-1.3.0.tar.gz 14120 BLAKE2B 4567905283779e76a2f29fbf40968119bab10959e87c7a4ce9cd35cc77c138704867c032116e7cb682325eb61690afa002b80018241aa330d5e84df20810c2ad SHA512 bfbacb5197ed384dac82111799ecd23f074dd6c70e978e12c0bf9a017cc815429005153c155c62e2c6b04016a8b19cd5e2c4f4af68c899d8273423a4e0992502 |
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,31 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
USE_RUBY="ruby22 ruby23 ruby24" | ||
|
||
RUBY_FAKEGEM_RECIPE_TEST="rspec3" | ||
|
||
RUBY_FAKEGEM_RECIPE_DOC="rdoc" | ||
RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" | ||
|
||
RUBY_FAKEGEM_GEMSPEC="docile.gemspec" | ||
|
||
inherit ruby-fakegem | ||
|
||
DESCRIPTION="Turns any Ruby object into a DSL" | ||
HOMEPAGE="https://ms-ati.github.io/docile/" | ||
SRC_URI="https://github.com/ms-ati/docile/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="MIT" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
all_ruby_prepare() { | ||
sed -i -e '/require \"github\/markup\"/d' Rakefile || die | ||
sed -i -e '/^unless on/,/^end/ s:^:#:' spec/spec_helper.rb || die | ||
|
||
sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die | ||
} |