summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-03-05 08:11:55 +0100
committerHans de Graaff <graaff@gentoo.org>2017-03-05 08:11:55 +0100
commit726273702d8bbf3f1b0df45a283efbb3a6a0ff7e (patch)
tree6e03bd29698104116c124d7002645475dd3cac8d /www-apps/nanoc
parentdev-python/ovs: cleanup (diff)
downloadgentoo-726273702d8bbf3f1b0df45a283efbb3a6a0ff7e.tar.gz
gentoo-726273702d8bbf3f1b0df45a283efbb3a6a0ff7e.tar.bz2
gentoo-726273702d8bbf3f1b0df45a283efbb3a6a0ff7e.zip
www-apps/nanoc: add 4.5.4
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-apps/nanoc')
-rw-r--r--www-apps/nanoc/Manifest1
-rw-r--r--www-apps/nanoc/nanoc-4.5.4.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index afdd38e011ae..8698c83f3ff4 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,3 +1,4 @@
DIST nanoc-4.3.5.gem 168960 SHA256 039a42f01b1b43c7ad97cfcb4d5d4e0389811ec8d42171debd33821c1842be96 SHA512 d1d4aaab010c39e607035b51b2ed1e43ff627b925b29514aea5346f5f6cf6235d7d5845cac35a08d691de46af561670d66aae733ec72150ce0ed4dff9357ec84 WHIRLPOOL c7debe62ca7d71d82812ae9ebc2f6f4b98beffccc26efb0f2289e3b5be7d035000e13940aa94c39769181c7776093110ede71a9fd4a1950ee0c049c2ba390047
DIST nanoc-4.3.8.gem 168960 SHA256 450676d4c702f4e0ebe7a9ea5d69648cc5eaeaf9a2c3ef60efb026ceee1bd72f SHA512 4b99588eecb3a2ce88c05c4b5d8eddc1becb140514d6fb1c7f48453fb2884018365d5183ea53881c54719abedd1240005ed4c2ac1c465840cfc1bca6eff140d4 WHIRLPOOL a90b965be083f0d667ef1db4b82151ae19c25517ead2d367f87000767f49172568856b044db7c37f56b1a6218f49649623fa587858a40336da522a8c3d7323e2
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
diff --git a/www-apps/nanoc/nanoc-4.5.4.ebuild b/www-apps/nanoc/nanoc-4.5.4.ebuild
new file mode 100644
index 000000000000..916ec7cf3ad7
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.5.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 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="http://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/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/I s:^:#:' test/helper.rb || die
+ sed -i -e '/coverall/I s:^:#:' \
+ -e '/rubocop/ s:^:#:' Rakefile || die
+
+ # Avoid tests requiring a network connection
+ rm -f test/checking/checks/test_{css,html}.rb || die
+}
+
+each_ruby_test() {
+ RUBYLIB="${S}/lib" ${RUBY} -S rake test_all || die
+}