Skip to content

Commit

Permalink
www-apps/nanoc: add 4.7.14
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
graaff committed Aug 8, 2017
1 parent 791bb46 commit 6a5e9df
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
1 change: 1 addition & 0 deletions www-apps/nanoc/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ DIST nanoc-4.3.8.gem 168960 SHA256 450676d4c702f4e0ebe7a9ea5d69648cc5eaeaf9a2c3e
DIST nanoc-4.4.7.gem 227840 SHA256 714ebdfa0247b60cbac1265889fdfc7981e31f8885b08cf648b0395fe6765c88 SHA512 32525a80f43246786a7f6d19f269613a4dc397f3a85ebd1676a9a443cb2472b38407511b5248be1cf321af539e1e483b02f55dedaca385ee15eedfee2d02712c WHIRLPOOL ce921450982f4d4229a40470a09894b56a11318a9bf16a0c98cad94ff5dea5912d4bb026a4e95e51c562f5a2eb57c60bbf445099306736ac3c470c7c818c3fb1
DIST nanoc-4.5.4.gem 230400 SHA256 6bb5b62d7421893c7078b086baa94349294454d23def4884f6ce7db3ac1507f8 SHA512 be7d658ec5ca91c67ab8d96631434a9f90ebca8078eb734c0bdb1ca11724432b2db157955e84a68334aa6542d3e0b1d577bb046300811c23bb52d7191e9a517d WHIRLPOOL add98630cbe7814be7b811301297f79c7c5f5a471c4fbeedf3ec13682300316353be9e73b31ce9cd1692d4fe5d4687dbde814f0bd3df4730d31e1830465cca07
DIST nanoc-4.6.4.gem 241152 SHA256 4fc9c41f8103edc732654ba8559f42007ce6e7013078cf652f05e572c61272aa SHA512 49e41f5bfc3ae9afc7e40b182374579adbd703954ba97b0cbe68c0e3ac864e7301a90dc5993795636b96155a1d9cfbb102e6bfa321513919123ff680322a2631 WHIRLPOOL bbfd86c526f34258d68e1532ec4629cada74da8a5a6411f6bd5b1fa890693dd614205c9859483b1b796a0de38d9ec1ce21650d69415aa8eb4f08500fa9e27eea
DIST nanoc-4.7.14.gem 256000 SHA256 e68fb32763517dbd78b655ad14d2bc69e0828f4cce6488240c4ec89b7d8377a9 SHA512 e7413771794e9d2931e3be2a5b5575f7cd207d9b11167a1838496edf34bee4e631c362d9ac50fb0f9dddbe2fd5836b402506565c704838327116a18f0ea34088 WHIRLPOOL ff04d10480a2a9ff308d0ac11320f37fcc7afed84221dc9bc86ff8b318a1100d2cdb20634d771612c7e56a727ac3448b094b7d736c5bf38c4f24fc09d9bd7486
67 changes: 67 additions & 0 deletions www-apps/nanoc/nanoc-4.7.14.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
USE_RUBY="ruby23"

RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"

RUBY_FAKEGEM_RECIPE_DOC="rdoc"

inherit ruby-fakegem

DESCRIPTION="nanoc is a simple but very flexible static site generator written in Ruby"
HOMEPAGE="https://nanoc.ws/"
LICENSE="MIT"

KEYWORDS="~amd64"
SLOT="0"
IUSE="${IUSE} minimal"

DEPEND+="test? ( app-text/asciidoc app-text/highlight )"

ruby_add_rdepend "!minimal? (
dev-ruby/mime-types:*
dev-ruby/rack:*
www-servers/adsf
)
>=dev-ruby/cri-2.3:0
dev-ruby/ddplugin:1
=dev-ruby/hamster-3*
dev-ruby/ref:2"

ruby_add_bdepend "test? (
dev-ruby/rspec:3
>=dev-ruby/mocha-0.13
dev-ruby/minitest
dev-ruby/rdoc
dev-ruby/systemu
dev-ruby/vcr
dev-ruby/webmock
dev-ruby/yard
)
doc? (
dev-ruby/kramdown
dev-ruby/rdiscount
dev-ruby/yard
)"

all_ruby_prepare() {
# Avoid unneeded development dependencies
sed -i -e '/simplecov/,/SimpleCov.formatter/ s:^:#:' test/helper.rb || die
sed -i -e '/simplecov/I s:^:#:' -e '/codecov/I s:^:#:' spec/spec_helper.rb || die
sed -i -e '/coverall/I s:^:#:' \
-e '/rubocop/ s:^:#:' Rakefile || die

echo "-r ./spec/spec_helper.rb" > .rspec || die

# Avoid tests requiring a network connection
rm -f test/checking/checks/test_{css,html}.rb || die

# Avoid tests for unpackaged dependencies
rm spec/nanoc/deploying/fog_spec.rb spec/nanoc/filters/less_spec.rb || die
}

each_ruby_test() {
RUBYLIB="${S}/lib" ${RUBY} -S rake spec test_all || die
}

0 comments on commit 6a5e9df

Please sign in to comment.