diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/Manifest.gz | bin | 13120 -> 13130 bytes | |||
-rw-r--r-- | www-apps/nanoc-checking/Manifest | 2 | ||||
-rw-r--r-- | www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild | 4 | ||||
-rw-r--r-- | www-apps/nanoc-cli/Manifest | 2 | ||||
-rw-r--r-- | www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild | 70 | ||||
-rw-r--r-- | www-apps/nanoc-core/Manifest | 2 | ||||
-rw-r--r-- | www-apps/nanoc-core/nanoc-core-4.12.16.ebuild | 77 | ||||
-rw-r--r-- | www-apps/nanoc-deploying/Manifest | 1 | ||||
-rw-r--r-- | www-apps/nanoc-deploying/nanoc-deploying-1.0.2-r1.ebuild | 27 | ||||
-rw-r--r-- | www-apps/nanoc-spec/Manifest | 1 | ||||
-rw-r--r-- | www-apps/nanoc-spec/nanoc-spec-0.0.2-r1.ebuild | 23 | ||||
-rw-r--r-- | www-apps/nanoc/Manifest | 2 | ||||
-rw-r--r-- | www-apps/nanoc/nanoc-4.12.16.ebuild | 100 |
13 files changed, 308 insertions, 3 deletions
diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz Binary files differindex 1e8113be2496..492bd84df587 100644 --- a/www-apps/Manifest.gz +++ b/www-apps/Manifest.gz diff --git a/www-apps/nanoc-checking/Manifest b/www-apps/nanoc-checking/Manifest index 43c818502dd3..176411d9de68 100644 --- a/www-apps/nanoc-checking/Manifest +++ b/www-apps/nanoc-checking/Manifest @@ -1,3 +1,3 @@ DIST nanoc-checking-1.0.2.gem 11264 BLAKE2B 5ac338624bd85decb52ad4d59cff466ba849bd03c4b27534db34528db3fa768c1c198461bd35614203f352426105ea541c3dd0da2dff27a8430aa600a756f1fc SHA512 29fcd816f908bd7fdc2895e549d4cd0834ac53f8fc1bf8a9cf12e385cc9a1cabcca87178014beffe6b1b9f63b68d4bfe89096234ec72d3abc37dc8cc906eff24 -EBUILD nanoc-checking-1.0.2.ebuild 595 BLAKE2B 1eb0ba2e0dfaeaf972b03c8c9b6651168647464556b442f40d4d301e22bb4618ed38a614cc30e81f938d699fb3b68bcd5d74b5d07d98d6abcd2503d39e31a2b8 SHA512 201839b3517bd62c9bedc5fb2c087cc7b057305a07e240b025ffb38c23917e5fa8bc741302b59df3ed05edc85a1187fc5b24800e6495def4a5876c2de029d33d +EBUILD nanoc-checking-1.0.2.ebuild 588 BLAKE2B 2923cec008ec9dee333225096710dec19c9ef92e76a1fe3bff3e11bc60dbd5aaba5d430c1eb48e9d4335536b01efcd1590a71aea93fd942c9b222273cb104566 SHA512 ce1a069b354cf2873e3354d35043ae602ca72900e5574ae56fbbe7bdcfee0d76b7ae8377bd64aaedaa906199c7540b60f490ee9cd7cd20da0db88ef5bd7b34b1 MISC metadata.xml 394 BLAKE2B 7b8c56a3dc98dbfc894dd1956390b9ea58fad15bd061590e776778af087d281e30fccdca9d5b227aad4b99ec0c370759ae501eafc58bf87cc56811cfb51b4647 SHA512 9e56f1314cf818d30c3153f5ada0ac75c70d460e9137de7146bc9af41ceebcd578de1336bebf141e41ba0969dbca332b8e06269dd61e91b7a33e207b2f6b4997 diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild b/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild index 8128dda38151..32a6a8ae55f4 100644 --- a/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild +++ b/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" +USE_RUBY="ruby30 ruby31" # Upstream has specs but they are not available in the gem and the # repository upstream is not tagged for this. diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest index a76ffa56178c..38667194d979 100644 --- a/www-apps/nanoc-cli/Manifest +++ b/www-apps/nanoc-cli/Manifest @@ -1,5 +1,7 @@ DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a SHA512 bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9 DIST nanoc-4.12.15.tar.gz 348052 BLAKE2B a880b3f5e3f8dc59e0a98d5e957ad6ca64134cc54c2a6e4380e91ce64414c93e8212ee2724b646703ada4ff212576346b9dd3b272cf6adc35d58e1277ab185c8 SHA512 43e37005306b137162786f14c54690888845eeee582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150 +DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b SHA512 e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd EBUILD nanoc-cli-4.12.14.ebuild 2037 BLAKE2B aae94d2ef4ca1f094713eea9063e595b342732b80985a663a2799c831064c3459f036c8cfa9f318e51306f3c1ec868be92f12d798a1899438adc4b79307444af SHA512 74c055daf70dc6ce96656ae4f3360e9dbf9931e6783411ae31d74c3ce6419088dc5ebf0d2837922972766ae239d157f28fd765bea392512e0202a789a4ca3c5d EBUILD nanoc-cli-4.12.15.ebuild 2037 BLAKE2B dcc88b5f1c04efe2da18279022cbb103a744125bcfc62776532522e6b6aff0becc3318ea9a191b5d3247fd1f87f267a484a5082b8b322bd3af9710e4234251d7 SHA512 1713a1f3630573f2f1fd01113a92752d25471bbc07a0c135337243e39aa9bd890eb4dbff6c7a287fc8b2ede9bb7260879288da2d0132a8365a322854391271d8 +EBUILD nanoc-cli-4.12.16.ebuild 2037 BLAKE2B aa3be6da68d9210af179cb449287bb87921ed85705ae4419dcf15ebcdf596ff728d20bce1b4df7828136b13b968a7f343cab8a15b06b89d082529ab3a513ec2f SHA512 b88ea1c44e660968d2065e6d6c2c699865d5b2ab1b757d3d8b73add424b96e4191dd0af30c678383c34723d20a844c0f049a76039133f49c4d1af2c768e151eb MISC metadata.xml 394 BLAKE2B 7b8c56a3dc98dbfc894dd1956390b9ea58fad15bd061590e776778af087d281e30fccdca9d5b227aad4b99ec0c370759ae501eafc58bf87cc56811cfb51b4647 SHA512 9e56f1314cf818d30c3153f5ada0ac75c70d460e9137de7146bc9af41ceebcd578de1336bebf141e41ba0969dbca332b8e06269dd61e91b7a33e207b2f6b4997 diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild b/www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild new file mode 100644 index 000000000000..cb43c1206022 --- /dev/null +++ b/www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="nanoc is a simple but very flexible static site generator written in Ruby" +HOMEPAGE="https://nanoc.app/" +SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> nanoc-${PV}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~riscv" +SLOT="0" +IUSE="${IUSE} minimal" + +RUBY_S="nanoc-${PV}/nanoc-cli" + +ruby_add_rdepend " + >=dev-ruby/cri-2.15:0 + >=dev-ruby/diff-lcs-1.3:0 + ~www-apps/nanoc-core-${PV} + >=dev-ruby/zeitwerk-2.1:2 +" + +ruby_add_bdepend "test? ( + dev-ruby/bundler + dev-ruby/rspec:3 + dev-ruby/rspec-its + dev-ruby/fuubar + dev-ruby/minitest + dev-ruby/timecop + dev-ruby/tty-command + dev-ruby/yard + www-apps/nanoc-spec +) +" + +all_ruby_prepare() { + # Avoid unneeded development dependencies + 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 + sed -i -e '2i require "tmpdir"; require "pathname"' spec/spec_helper.rb || die + + echo "-r ./spec/spec_helper.rb" > .rspec || die + + sed -i -e "s:require_relative 'lib:require './lib:" ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid error handler specs failing due to different (rubygems?) + # output, meta_spec is affected by this. + rm -f spec/nanoc/cli/error_handler_spec.rb spec/meta_spec.rb || die + + # Avoid test requiring a network interface + sed -i -e '/does not listen on non-local interfaces/askip "Needs network"' spec/nanoc/cli/commands/view_spec.rb || die + + # Avoid tests requiring an additional dependency on nanoc-live + sed -i -e '/--live-reload is given/askip "Unpackaged nanoc-live"' spec/nanoc/cli/commands/view_spec.rb || die + sed -i -e '/watches with --watch/askip "Unpackaged nanoc-live"' spec/nanoc/cli/commands/compile_spec.rb || die +} + +each_ruby_test() { + RUBYLIB="${S}/lib" ${RUBY} -S rake spec || die +} diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest index f370fef4263d..5710471cde6a 100644 --- a/www-apps/nanoc-core/Manifest +++ b/www-apps/nanoc-core/Manifest @@ -1,6 +1,8 @@ AUX nanoc-core-4.12.2-contracts.patch 543 BLAKE2B 374bc86e4351627693d85517f24a82505454eb3eb52c6b12be1681e5bcc4f7a299b98ea72edca42a26e8d121219e6a76afe636b9b08da44e334c10f9fb5be47b SHA512 e8bfcfa6e49439734f6fe760dc46d5eaf6dee9d79a0be83e65dd450a769e0745422d76bf4067d475921b83a4534c9868aca9ef23f2a1fe6ff3ac7ba4b15fe3f6 DIST nanoc-core-4.12.14.tar.gz 347902 BLAKE2B 325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a SHA512 bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9 DIST nanoc-core-4.12.15.tar.gz 348052 BLAKE2B a880b3f5e3f8dc59e0a98d5e957ad6ca64134cc54c2a6e4380e91ce64414c93e8212ee2724b646703ada4ff212576346b9dd3b272cf6adc35d58e1277ab185c8 SHA512 43e37005306b137162786f14c54690888845eeee582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150 +DIST nanoc-core-4.12.16.tar.gz 350823 BLAKE2B 8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b SHA512 e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd EBUILD nanoc-core-4.12.14.ebuild 1958 BLAKE2B 2c64f438cb10d1dc797d8e0898cd86b4ecfa01a91f9188511645fbeee39ea51757b2995dc9fa33120458cf96d34b66c417dad9ac3aecbe7a7f9ce05cddcf8f46 SHA512 cdf7ec0bd1f1b97f69b9b3f94663f5210003c60eed65feafe9c4792f0e979f6a3614473970c06c55f9d5b87145c1f3c7ee13b0112cacc72c5017f5165d17d674 EBUILD nanoc-core-4.12.15.ebuild 1985 BLAKE2B b236e9874c40328d54f27dd5262dae2e9989c06ae5cdb0fadd2eef5e1456a146311ba278b78ddf51947bb7fbd35bafbf6aca48053f3a439de7717629f736975a SHA512 8625f97789ff2dffaf795597ba2dd1c9edc59e911c5a06e3c1b1e7728741ebadc87d0eacf9740347827ac08885ce4e62e41de45cfd16d1f2e71bfbc2b47c1a43 +EBUILD nanoc-core-4.12.16.ebuild 1996 BLAKE2B 7b1b9353668ff6a9cd44ed84a644813b4f22eb7635e1aac7a882ddcd7c81a739a5ae74dc1b3ac053512c3c517c75532b1e8dcffde6ae9c7a99848a57fec6d1d4 SHA512 f46575c62aeadbbb1d2815bf3529c1ad8246a622552e3d3f9cdb2793a351ad338c41640436158568b6e78c8e7b2b1a6a1b6606d08c3182987be07e858dfba521 MISC metadata.xml 394 BLAKE2B 7b8c56a3dc98dbfc894dd1956390b9ea58fad15bd061590e776778af087d281e30fccdca9d5b227aad4b99ec0c370759ae501eafc58bf87cc56811cfb51b4647 SHA512 9e56f1314cf818d30c3153f5ada0ac75c70d460e9137de7146bc9af41ceebcd578de1336bebf141e41ba0969dbca332b8e06269dd61e91b7a33e207b2f6b4997 diff --git a/www-apps/nanoc-core/nanoc-core-4.12.16.ebuild b/www-apps/nanoc-core/nanoc-core-4.12.16.ebuild new file mode 100644 index 000000000000..c48b16e16e5b --- /dev/null +++ b/www-apps/nanoc-core/nanoc-core-4.12.16.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="nanoc is a simple but very flexible static site generator written in Ruby" +HOMEPAGE="https://nanoc.app/" +SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64 ~riscv" +SLOT="0" +IUSE="${IUSE} minimal" + +DEPEND+="test? ( app-text/asciidoc app-text/highlight )" + +RUBY_S="nanoc-${PV}/nanoc-core" + +ruby_add_rdepend " + >=dev-ruby/concurrent-ruby-1.1:1 + dev-ruby/ddmetrics:1 + dev-ruby/ddplugin:1 + >=dev-ruby/immutable-ruby-0.1:0 + >=dev-ruby/json_schema-0.19:0 + >=dev-ruby/memo_wise-1.5:1 + dev-ruby/psych:0 + dev-ruby/slow_enumerator_tools:1 + >=dev-ruby/tty-platform-0.2:0 + >=dev-ruby/zeitwerk-2.1:2 +" + +ruby_add_bdepend "test? ( + dev-ruby/bundler + dev-ruby/rspec:3 + dev-ruby/rspec-its + dev-ruby/fuubar + dev-ruby/minitest + dev-ruby/timecop + dev-ruby/tty-command + dev-ruby/yard + www-apps/nanoc-spec +) +" + +PATCHES=( "${FILESDIR}/${PN}-4.12.2-contracts.patch" ) + +all_ruby_prepare() { + # Avoid unneeded development dependencies + sed -i -e '/simplecov/I s:^:#:' \ + -e '/codecov/I s:^:#:' ../common/spec/spec_helper_head_core.rb || die + sed -e '/coverall/I s:^:#:' \ + -e '/rubocop/ s:^:#:' \ + -i Rakefile || die + sed -i -e '2i require "tmpdir"; require "pathname"; gem "psych", "~> 4.0"' spec/spec_helper.rb || die + + echo "-r ./spec/spec_helper.rb" > .rspec || die + + sed -i -e "s:require_relative 'lib:require './lib:" ${RUBY_FAKEGEM_GEMSPEC} || die + + # Use useable tmp dir + sed -i -e "s:/tmp/whatever:${T}/whatever:" spec/nanoc/core/checksummer_spec.rb || die + + # Avoid circular dependency on www-apps/nanoc + sed -i -e '/.all_outdated/,/^ end/ s:^:#:' spec/nanoc/core/feature_spec.rb || die + rm -f spec/nanoc/core_spec.rb || die +} + +each_ruby_test() { + RUBYLIB="${S}/lib" ${RUBY} -S rake spec || die +} diff --git a/www-apps/nanoc-deploying/Manifest b/www-apps/nanoc-deploying/Manifest index b701a633da28..58a984ddc894 100644 --- a/www-apps/nanoc-deploying/Manifest +++ b/www-apps/nanoc-deploying/Manifest @@ -1,3 +1,4 @@ DIST nanoc-deploying-1.0.2.gem 9728 BLAKE2B 6f06a33c08105e59a928277efccf48371d0c93f0cb4427951431462afc4b9d88c677ac17a2627f7511a7675a7b350c2887f62b88112c2d10e1e203a44252a387 SHA512 2ef340742926584ef5112d5c281ac469520d6fd30d60bfcf502ac993256020f85de03d957d61bff0613d3e8d9bda22256cc565feffe80411e3f024c5d8a74b2c +EBUILD nanoc-deploying-1.0.2-r1.ebuild 618 BLAKE2B dc6a108838d6e5fa76a2f091afa0c059a7a8fccc79b88085151073f36c0933888ddcc7776b4a820276c416267b32442332c9e71ee92a5ae5f51149a1d9f49207 SHA512 6e57f3bcd6d59986ead0be9d7f314ffc2430b250664b4475e29c3e4415fd245a387c266d7fcedf3e610e02aebf8dc345943118eda9108f9e384d799abc3e6ebf EBUILD nanoc-deploying-1.0.2.ebuild 625 BLAKE2B 8563b5e4f1f9e35e5772d3052b111d2637aecc3ccf9f6e60a73b246170128af8864e633b36e3363749262d16b7a7891df2b6bd53b45db7380d524fdc61c9032c SHA512 0c235372984866be96bfa497f52a1d8884bf267cbc2529be9a57c5a15b19c218cc2987612f96eac609be8aa15945956d526d8f68d6c536dd630b7580e7661223 MISC metadata.xml 394 BLAKE2B 7b8c56a3dc98dbfc894dd1956390b9ea58fad15bd061590e776778af087d281e30fccdca9d5b227aad4b99ec0c370759ae501eafc58bf87cc56811cfb51b4647 SHA512 9e56f1314cf818d30c3153f5ada0ac75c70d460e9137de7146bc9af41ceebcd578de1336bebf141e41ba0969dbca332b8e06269dd61e91b7a33e207b2f6b4997 diff --git a/www-apps/nanoc-deploying/nanoc-deploying-1.0.2-r1.ebuild b/www-apps/nanoc-deploying/nanoc-deploying-1.0.2-r1.ebuild new file mode 100644 index 000000000000..9ed9b0a674e4 --- /dev/null +++ b/www-apps/nanoc-deploying/nanoc-deploying-1.0.2-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31" + +# Upstream has specs but they are not available in the gem and the +# repository upstream is not tagged for this. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Provides deploying functionality for Nanoc" +HOMEPAGE="https://nanoc.app/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~riscv" +SLOT="$(ver_cut 1)" +IUSE="" + +ruby_add_rdepend " + www-apps/nanoc-checking:1 + >=www-apps/nanoc-cli-4.11.15:0 + >=www-apps/nanoc-core-4.11.15:0 +" diff --git a/www-apps/nanoc-spec/Manifest b/www-apps/nanoc-spec/Manifest index 01a2c3ade49b..5f4bc71cb423 100644 --- a/www-apps/nanoc-spec/Manifest +++ b/www-apps/nanoc-spec/Manifest @@ -1,3 +1,4 @@ DIST nanoc-spec-0.0.2.gem 6656 BLAKE2B de90b2f63a15a7168d491cd33f8994a9ef8f7b13b23f6e32d50c2bdf8467a68e4205c24c9ca79efccc1a5076d2af25cf1a31c49c946e2ff0e7add9d5bcb99d1f SHA512 78202adfcc1e9b414a1b2f8d85bf5a0ab3e52473cc490145d0b63f5c6cbd4c29c1c56b06b343ad6bd6ba2818f464abc7ece3c3a0ccd9c2dd38771110ef573d7c +EBUILD nanoc-spec-0.0.2-r1.ebuild 482 BLAKE2B 7452ec0ae4fb64699e692be616d8cf15d579451526819ecc0b26bcb6dbe25fbf019e7343bfa600572cdc516049f3f4526b15bbe270b6fce8661787f7d1cfea6e SHA512 1b47d81068fa2e2e3c13d15673315138df6b858b36d4dfeb70af790ac2ef6ba076368e0f8db5fb8c55637b83db9becf269e785f232f73f36895cba965011143b EBUILD nanoc-spec-0.0.2.ebuild 489 BLAKE2B e5bcf14694d898bf6f5be8de5c4190a973da1f8b937f0ab2890bdc8c2dfe67a643294f92b4d366fae9eb0d09da2cbcd1ec7b6fd17f4d05789e997e7984fbc3f7 SHA512 92761f913026a93a53a68b014088e57bda12559cf5625a9963b36ca510cda950d5d6f5942888787f294ee991334ca896c5b033e37ee6b6f249378bfdf341642b MISC metadata.xml 394 BLAKE2B 7b8c56a3dc98dbfc894dd1956390b9ea58fad15bd061590e776778af087d281e30fccdca9d5b227aad4b99ec0c370759ae501eafc58bf87cc56811cfb51b4647 SHA512 9e56f1314cf818d30c3153f5ada0ac75c70d460e9137de7146bc9af41ceebcd578de1336bebf141e41ba0969dbca332b8e06269dd61e91b7a33e207b2f6b4997 diff --git a/www-apps/nanoc-spec/nanoc-spec-0.0.2-r1.ebuild b/www-apps/nanoc-spec/nanoc-spec-0.0.2-r1.ebuild new file mode 100644 index 000000000000..23fa33fff8d9 --- /dev/null +++ b/www-apps/nanoc-spec/nanoc-spec-0.0.2-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Provides Nanoc::Spec, containing functionality for writing tests for Nanoc" +HOMEPAGE="https://nanoc.app/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~riscv" +SLOT="0" +IUSE="${IUSE} minimal" + +ruby_add_rdepend " + >=www-apps/nanoc-core-4.11.13:0 +" diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest index b40c4cd1a1ff..b4a00b8d58c9 100644 --- a/www-apps/nanoc/Manifest +++ b/www-apps/nanoc/Manifest @@ -1,5 +1,7 @@ DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a SHA512 bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9 DIST nanoc-4.12.15.tar.gz 348052 BLAKE2B a880b3f5e3f8dc59e0a98d5e957ad6ca64134cc54c2a6e4380e91ce64414c93e8212ee2724b646703ada4ff212576346b9dd3b272cf6adc35d58e1277ab185c8 SHA512 43e37005306b137162786f14c54690888845eeee582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150 +DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b SHA512 e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd EBUILD nanoc-4.12.14.ebuild 2563 BLAKE2B 9c7b514d74f630a479abdaa9ae5c3df170552ffe6fd2811391f34759ea7681ca19ee289258a896f3312195b9ff57894459a1121d8f3794e31bfe6988f9e3b57e SHA512 519944bb6360f64f7d1f69f97cdae18617bc9295a04c01804eeabf3c55a0e9be9ac03b659f0e129868a2d3d34c862084969bc38f3a843e7529d1da0fa038e079 EBUILD nanoc-4.12.15.ebuild 2567 BLAKE2B 0585e71f7eead36322832f3fe4f58fd8a5cfc5a42dff5cdc63f49fb4ccd6463388507829d0af498c61f5ce2eaaffbfae52aa6175a1def9094c212dcdb8abecb8 SHA512 118dee82de9ae2708d1c4657556cf34333cb30b1640f1291a3429b6add14e7fb5c9e1e668075e0fc2d732e05a2ff44bf8d7c3b6d71286edb3c1ed9c301283e8b +EBUILD nanoc-4.12.16.ebuild 2756 BLAKE2B eb70d5e1555cdf4e74dfe13a5ff892f0b7a2c9ac0f80de7f09379b595ef7e5a0fda12641c045d214af2fe3cf97d87b28c6f2ed6f3f51e7ac6cc788c0316b8c55 SHA512 52dca5f71ddfb9d6be5fc857870160cbf87fcaa91dc3e5383b04a69bbf6635a3c6aaa0f18bae6c1c9dfb315dfae2ae3de9191fd222ba60250980f68a4fb73287 MISC metadata.xml 394 BLAKE2B 7b8c56a3dc98dbfc894dd1956390b9ea58fad15bd061590e776778af087d281e30fccdca9d5b227aad4b99ec0c370759ae501eafc58bf87cc56811cfb51b4647 SHA512 9e56f1314cf818d30c3153f5ada0ac75c70d460e9137de7146bc9af41ceebcd578de1336bebf141e41ba0969dbca332b8e06269dd61e91b7a33e207b2f6b4997 diff --git a/www-apps/nanoc/nanoc-4.12.16.ebuild b/www-apps/nanoc/nanoc-4.12.16.ebuild new file mode 100644 index 000000000000..826e15fcb9cf --- /dev/null +++ b/www-apps/nanoc/nanoc-4.12.16.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_GEMSPEC="nanoc.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="nanoc is a simple but very flexible static site generator written in Ruby" +HOMEPAGE="https://nanoc.app/" +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/colored-1.2:0 + >=www-apps/nanoc-checking-1.0.2:1 + ~www-apps/nanoc-cli-${PV} + ~www-apps/nanoc-core-${PV} + www-apps/nanoc-deploying:1 + >=dev-ruby/parallel-1.12:1 + >=dev-ruby/tty-command-0.8:0 + >=dev-ruby/tty-which-0.4:0 +" + +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-3.5.1: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/I s:^:#:' \ + -e '/codecov/I s:^:#:' test/helper.rb ../common/spec/spec_helper_head_core.rb || die + sed -i -e '/coverall/I s:^:#:' \ + -e '/rubocop/ s:^:#:' Rakefile || die + sed -i -e '2igem "psych", "~> 4.0"' test/helper.rb || die + + echo "-r ./spec/spec_helper.rb" > .rspec || die + + # Avoid basepath issues when generating gemspec + sed -i -e "s:require_relative ':require './:" ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid tests requiring a network connection or make assumptions + # about the local network environment. + rm -f test/checking/checks/test_{css,html}.rb spec/nanoc/cli/commands/view_spec.rb || die + + # Avoid tests for unpackaged dependencies + rm spec/nanoc/filters/less_spec.rb \ + test/filters/test_{markaby,rainpress}.rb || die + + # Avoid tests that are specific to haml 6.x which is currently not packaged + sed -i -e '/test_filter_\(with_proper_indentation\|error\)/askip "haml 6"' test/filters/test_haml.rb || die + + # Avoid non-fatal failing tests due to specifics in the environment + sed -e '124askip "ordering issues"' -e '168askip "ordering issues"' \ + -i spec/nanoc/data_sources/filesystem_spec.rb || die + sed -e '/def test_default_encoding/,/^ end/ s:^:#:' \ + -i test/orig_cli/commands/test_create_site.rb || die +} + +each_ruby_test() { + MT_NO_PLUGINS=true RUBYLIB="${S}/lib" ${RUBY} -S rake spec test_all || die +} |