summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-10-07 07:52:08 +0200
committerHans de Graaff <graaff@gentoo.org>2017-10-07 07:52:08 +0200
commitd518858ca25d7cc83b858aadcd868dc44a145fbb (patch)
tree780f11985c7ca73eda2053781db588b56d4adf24 /www-apps
parentwww-apps/nanoc: cleanup (diff)
downloadgentoo-d518858ca25d7cc83b858aadcd868dc44a145fbb.tar.gz
gentoo-d518858ca25d7cc83b858aadcd868dc44a145fbb.tar.bz2
gentoo-d518858ca25d7cc83b858aadcd868dc44a145fbb.zip
www-apps/nanoc: add 4.8.9
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/nanoc/Manifest1
-rw-r--r--www-apps/nanoc/nanoc-4.8.9.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 24b7f6a19513..23b20d74605c 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -2,3 +2,4 @@ DIST nanoc-4.6.4.gem 241152 SHA256 4fc9c41f8103edc732654ba8559f42007ce6e7013078c
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
DIST nanoc-4.8.5.gem 257536 SHA256 bd0909d15dfacc3f1e859ba1c84f66611c414aee6600c256d27394d8b47bed58 SHA512 6cb4e57e3e852dea5f2b64ed2d194dba88e109ebf1e83433b49bb6c0027b7d47676bd418aa6d1149c88a71981790bb459ae5a5d21c18a805cdd9db1bf5c3647f WHIRLPOOL 289ed9e7c2e90fe41392d2ade914f57db022455cab8f40a809d30a2bdf1e74b7b999c8e7d25ee3fc109dc896062bf20baeeff53d412cfae1e9798f2cdd0aaa23
+DIST nanoc-4.8.9.gem 258560 SHA256 68f51386e8a2eb01f1348c43a10a752fc118f513550a9011d097693f7e193703 SHA512 7fedd050564134ba4f3706689af21d856639b02ba0c5a4bc02bf639f7be4dafd9efed4c3e11aaba08b53d4587476c9f071f4cd0fa07879e769295c6175735dd4 WHIRLPOOL 7c214f597864d4914e7f2279b39d2b415308ee97b43fd7657c370ea77f8a530902a6f323998099209272b8aa131932625c8aa6b1539557b1b106ea1364ca8a57
diff --git a/www-apps/nanoc/nanoc-4.8.9.ebuild b/www-apps/nanoc/nanoc-4.8.9.ebuild
new file mode 100644
index 000000000000..b1c3454fd12c
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.8.9.ebuild
@@ -0,0 +1,69 @@
+# 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/addressable-2.5
+ >=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/fuubar
+ >=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
+}