From b7ebc951da8800f711142f69d9d958bde67a112d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Apr 2019 09:54:45 +0100 Subject: gentoo resync : 28.04.2019 --- www-apps/nanoc/Manifest | 4 +- www-apps/nanoc/nanoc-4.11.2.ebuild | 90 ++++++++++++++++++++++++++++++++++++ www-apps/nanoc/nanoc-4.9.6.ebuild | 93 -------------------------------------- 3 files changed, 92 insertions(+), 95 deletions(-) create mode 100644 www-apps/nanoc/nanoc-4.11.2.ebuild delete mode 100644 www-apps/nanoc/nanoc-4.9.6.ebuild (limited to 'www-apps/nanoc') diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest index fc889d9290b7..c7b1145dd923 100644 --- a/www-apps/nanoc/Manifest +++ b/www-apps/nanoc/Manifest @@ -1,7 +1,7 @@ DIST nanoc-4.10.4.tar.gz 290367 BLAKE2B 0b5cf03938af1f971fccddb6bed4fa6b67da3aaf93cb7666c52e3ff8fc524f17ff10bf1a60ccf7f7b59f840d4c445ef57677349f5b83bc55e754e7078ac4b8d9 SHA512 5446e351906b5b6bbe5c9059dab86490d5deef5e1197adf5827fe201f2932d5cf79c65bfd9d9370ce57c35d965e013098d39d53fa96db8b4d1c6017977683ea2 DIST nanoc-4.11.0.tar.gz 291654 BLAKE2B ab88bf36b472106f356ae67782dac61f691e0d64646f410ae0cceca7a9df11689dd7a011bf58a773d6b35956f0092deac4db43bb8663d66463b72e10da27c658 SHA512 357345c9247465bd470bf6c71ea2b16e3415680fad6a4d4ee755eeb3a1443664590753003a5de0a740ffcfbaf93049c2c12c1f22de052f4d6efc2382430a4e08 -DIST nanoc-4.9.6.tar.gz 282811 BLAKE2B 109b73e4908b45c055912f6e3b2d18675ee00dd848cf7b84197d1a53c30d5862183dcdbd917f1f6f235f97dc5d33b36ba423f34b72bb83ca6f9f2fda4f0081b3 SHA512 67b2df683c4becfbb9a64462b053544c68117c2459fce8e5941f8415c79f1ec73e9c386622dfdb201cf5473f6b83ff1b1444b6492d247036e696d3761e4589ce +DIST nanoc-4.11.2.tar.gz 302927 BLAKE2B 206142cc13468c3456dfd141bb031791c3d6aa31b81cca04493519e8b44d7bc82d6837d266a0edecc58c0e635cee7428bfdf0d5428de7d5e6fb6eacebb09d45e SHA512 842703e5218c06e817ce188458ee0e9267467b92219dd566fda9d58cd21ec9842bbc011b8f2faa7854caf39af1379c2eae16a3e3b73c53f2c8af6b8851c7c8b9 EBUILD nanoc-4.10.4.ebuild 2619 BLAKE2B 7e5ff080ec66019c9c0706b66fee93fc4029daa1a174eb907798f98673abd0b468ca49f85fa91c4bb214316613e1f0cbc2c42536a9a9ebc19e2d3126ad957a58 SHA512 588d87ec7f8545e89685e80c838280147792b10010ed8ae81dd8a1d10d2c68aa7681eea4cb12d1840242847c1ec164e4252d40a76812323ae10b57aab363a92b EBUILD nanoc-4.11.0.ebuild 2626 BLAKE2B b4cdd5df85c200cca904dd6564d22e0b08ff6d76aee5110a0d2ae9cf7195884c6bf6c6e5e0b1af3c28bd5dee95931e6be2727047351dc42c0b53e736bd3fe0d7 SHA512 071fd944e68c277b9aa13bbcf22ce3bd7b4642974f43950dc75975e8255de90be402a60df2642b54f9ec6e6f731f771839e4701ccbb44e51ca2054647fe0e7a6 -EBUILD nanoc-4.9.6.ebuild 2456 BLAKE2B 5cb22d012719734408ffba44834bff4e592fb7003770e9e8acca8e1b2c584b235d043e37f152a998e29ea18fca3259c3e52b0dc6501d9ede8c94974d13be2030 SHA512 8862a7c15cb81ceb803e2e55729681de2a096d031d9bca657ee3d4d1e89d81f567f7e44f71f7d48179b4a264b2b423870e3f6ca94595877ae9590654f3cfde36 +EBUILD nanoc-4.11.2.ebuild 2446 BLAKE2B 6422042144f1749a3c5821295de682ceea1a682076b7edd5b45a6e9278324829c709609d89a3e689dda6d94069b6db817a3a8afb56c3a3587f94b36cb79dd2a2 SHA512 8bdf7d4686765c1b5d3a6484d48e1310f702d8d3e800e6293b090a0962978b970df863705af6f56d8371acaaf38dbb466b02032f3153613bc6a9e5afb089d156 MISC metadata.xml 317 BLAKE2B c6af48dcdb56be1e50ef78910bc5150112d2914bbd13b576883eeeecdcc2a47f6360ffcf7a83432266bc737891527f4f1cacaf90b62e7b38d75a0c74c87bb0d8 SHA512 5394c6280515d4728d6b30f6eff872dd1d3dc283fe125aa8b5bc7f1206d967b74864bd144c6b2623ea63db19f78b5a94d13261464b35b4056cf92cccf374db1e diff --git a/www-apps/nanoc/nanoc-4.11.2.ebuild b/www-apps/nanoc/nanoc-4.11.2.ebuild new file mode 100644 index 000000000000..02aaf44b073f --- /dev/null +++ b/www-apps/nanoc/nanoc-4.11.2.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25" + +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/" +SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="${IUSE} minimal" + +DEPEND+="test? ( app-text/asciidoc app-text/highlight )" + +RUBY_S="${P}/nanoc" + +ruby_add_rdepend "!minimal? ( + dev-ruby/mime-types:* + dev-ruby/rack:* + www-servers/adsf +) + >=dev-ruby/addressable-2.5 + >=dev-ruby/cri-2.15:0 + ~www-apps/nanoc-core-${PV} + >=dev-ruby/parallel-1.12:1 + >=dev-ruby/slow_enumerator_tools-1.1.0:1 + >=dev-ruby/tomlrb-1.2:1" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:3 + dev-ruby/asciidoctor + dev-ruby/fuubar + dev-ruby/haml + dev-ruby/maruku + >=dev-ruby/mocha-0.13 + dev-ruby/minitest + dev-ruby/mustache + dev-ruby/pry + dev-ruby/rdoc + dev-ruby/rouge:2 + dev-ruby/rubypants + dev-ruby/systemu + dev-ruby/timecop + 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:^:#:' ../common/spec/spec_helper_head_core.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 \ + test/filters/test_{markaby,rainpress}.rb || die + + # Avoid non-fatal failing tests due to specifics in the environment + sed -i -e '145askip "gentoo"' spec/nanoc/cli/error_handler_spec.rb || die + sed -i -e '/does not crash when output dir does not exist and/askip "gentoo"' spec/nanoc/cli/commands/view_spec.rb || die + sed -i -e '/watches with --watch/askip "gentoo"' spec/nanoc/cli/commands/compile_spec.rb || die + sed -i -e '124askip "ordering issues"' -e '168askip "ordering issues"' spec/nanoc/data_sources/filesystem_spec.rb || die +} + +each_ruby_test() { + RUBYLIB="${S}/lib" ${RUBY} -S rake spec test_all || die +} diff --git a/www-apps/nanoc/nanoc-4.9.6.ebuild b/www-apps/nanoc/nanoc-4.9.6.ebuild deleted file mode 100644 index 9e6642788b8f..000000000000 --- a/www-apps/nanoc/nanoc-4.9.6.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby23 ruby24" - -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/" -SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" - -KEYWORDS="~amd64" -SLOT="0" -IUSE="${IUSE} minimal" - -DEPEND+="test? ( app-text/asciidoc app-text/highlight )" - -RUBY_S="${P}/nanoc" - -ruby_add_rdepend "!minimal? ( - dev-ruby/mime-types:* - dev-ruby/rack:* - www-servers/adsf -) - >=dev-ruby/addressable-2.5 - >=dev-ruby/cri-2.13:0 - dev-ruby/ddmemoize:1 - dev-ruby/ddmetrics:1 - dev-ruby/ddplugin:1 - =dev-ruby/hamster-3* - >=dev-ruby/parallel-1.12:1 - dev-ruby/ref:2 - >=dev-ruby/slow_enumerator_tools-1.1.0:1 - >=dev-ruby/tomlrb-1.2:1" - -ruby_add_bdepend "test? ( - dev-ruby/rspec:3 - dev-ruby/asciidoctor - dev-ruby/fuubar - dev-ruby/maruku - >=dev-ruby/mocha-0.13 - dev-ruby/minitest - dev-ruby/pry - dev-ruby/rdoc - dev-ruby/rouge:2 - dev-ruby/systemu - dev-ruby/timecop - 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:^:#:' ../common/spec/spec_helper_head.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 \ - test/filters/test_{markaby,rainpress}.rb || die - - # Use useable tmp dir - sed -i -e 's:/tmp/whatever:'${T}'/whatever:' spec/nanoc/base/checksummer_spec.rb || die - - # Avoid non-fatal failing tests due to specifics in the environment - sed -i -e '145askip "gentoo"' spec/nanoc/cli/error_handler_spec.rb || die - sed -i -e '/does not crash when output dir does not exist and/askip "gentoo"' spec/nanoc/cli/commands/view_spec.rb || die - sed -i -e '/watches with --watch/askip "gentoo"' spec/nanoc/cli/commands/compile_spec.rb || die -} - -each_ruby_test() { - RUBYLIB="${S}/lib" ${RUBY} -S rake spec test_all || die -} -- cgit v1.2.3