summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/nanoc/Manifest1
-rw-r--r--www-apps/nanoc/nanoc-4.8.1.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index ebdb88b2f881..59a5ed7454fa 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -4,3 +4,4 @@ DIST nanoc-4.4.7.gem 227840 SHA256 714ebdfa0247b60cbac1265889fdfc7981e31f8885b08
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
+DIST nanoc-4.8.1.gem 256000 SHA256 9d2bb60fffcc3a0f1ec7b6c204494514874f51ad9d5f8f4e15441d5d4d976a22 SHA512 9b24c91074ba591a18ba1f4adc2e97e89f3fa0e152cb56fbce58b2591312f54db0336487526ca0f34dc02ef22b2c0960a70a5313e0d8b6c6b7cb2d36ab98b5eb WHIRLPOOL 51fbe4eb5a587143a16d8d9bec7f5f2ccea3900a87534808209a54b763e9fa0d7ba7c5fece38fc82ff447f6175f1feb9ec26ea2127c12bd65ddb94b155af89e6
diff --git a/www-apps/nanoc/nanoc-4.8.1.ebuild b/www-apps/nanoc/nanoc-4.8.1.ebuild
new file mode 100644
index 000000000000..5f688ebbbf39
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.8.1.ebuild
@@ -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.8: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
+}