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.76, 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,4 +1,5 @@ | ||
DIST rouge-3.11.0.tar.gz 788545 BLAKE2B f6f5782f620b76236f66b3b59248eda345d41383dfd8d4ed782e3c61c24226135abe70f906a337497242ade14b6cfb33f904de7c12ca2ff538daf37189568ff0 SHA512 4cdc85c543bc9303778940300c76e7863c67534cca91bd35135ef3abfc107c4ff0d7289aad2980f685b6bc716b74907fe029bf65f6cc2362a4ae048a0d8b6191 | ||
DIST rouge-3.11.1.tar.gz 788635 BLAKE2B 4bd0767d30799fccf83df8422308aa30da1d3475c122a63f49723906b5950aabdbe778da0d852ac3b1b7977cf11f1e94c3b0a5d4c274c196950d10183e706882 SHA512 22707f443078de26ba1c94272ed9ccaf1c772271dcc2b844969f345645a5e22ff6dde1f9d6ea36fabd1f61f4cc24474d849883ced9219ae6ff8cc7113751fcfd | ||
DIST rouge-3.12.0.tar.gz 790763 BLAKE2B 8572c8d89f7f16bb6a5d5b3119abac7c13779fcefb4da3ef701bd00430bb01611cdea9de0e6ccf4d07dd8cd646525fa679d86e951a18fd4d76a1cb03d423431c SHA512 bd9616bc1a7c8d46f906b51c30eeec53f77712ad8b5c6c4403dfd128e1d710a9dfd2cc7c026c62589eeb1c87de95c1972933cd156d23721c2ea02846bac71f05 | ||
DIST rouge-3.13.0.tar.gz 793330 BLAKE2B 5046eaf2a6bbb61f1d19c74d98027fdd32747f84dcdac40f1d6ee34fdc46194b885ab2d1e9ed1c3bbd42b6ba6102632ea457181c844781f31f5f92ca6c0cb09e SHA512 01a8244a9a1aa4a28b97037edbcd7a43f8a812dabfcaeb08dedd0ca1a05dd96fc622aad0dedac991bc54c18a62466548403bba9c740f5f1c4b67d49b5dbe2d8e | ||
DIST rouge-3.8.0.tar.gz 755720 BLAKE2B aca1ccbd601ee080958ccf09ab8932dc556065945f4cc2ee9b9bf5531ff41cec676005b0c7540aa058b3346c5eabac4351dd6a291ff148c9b5dfc682f7579336 SHA512 16a1cf9e9eae466c55f236f10d10bf0f5f4d523f6a680c1130b02115384691c1e2fbb14b59a6be1b9df77cc67fdb0ffe026cff6d0150230afe53f26b4c254dde |
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" | ||
|
||
RUBY_FAKEGEM_TASK_TEST="spec" | ||
RUBY_FAKEGEM_RECIPE_DOC="yard" | ||
|
||
RUBY_FAKEGEM_GEMSPEC="rouge.gemspec" | ||
|
||
inherit ruby-fakegem | ||
|
||
DESCRIPTION="Yet-another-markdown-parser using a strict syntax definition in pure Ruby" | ||
HOMEPAGE="https://github.com/jneen/rouge" | ||
SRC_URI="https://github.com/jneen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="MIT" | ||
|
||
SLOT="2" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~x86" | ||
IUSE="" | ||
|
||
ruby_add_bdepend "doc? ( dev-ruby/redcarpet ) | ||
test? ( dev-ruby/minitest-power_assert ) | ||
dev-ruby/yard | ||
" | ||
|
||
ruby_add_rdepend "dev-ruby/redcarpet" | ||
|
||
all_ruby_prepare() { | ||
rm -f tasks/{check/style,update/changelog}.rake || die | ||
|
||
sed -i -e '/bundler/I s:^:#: ; 5irequire "minitest-power_assert"' spec/spec_helper.rb || die | ||
sed -i -e '/\(changelog\|bundler\|rubocop\)/ s:^:#: ; 1irequire "pathname"' Rakefile || die | ||
} |