[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2024-06-22 Thread Hans de Graaff
commit: 1383a11107fb1a867988196fb52140c446a3443e
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jun 22 06:11:03 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jun 22 06:18:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1383a111

www-apps/nanoc: add 4.13.0

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest|  1 +
 www-apps/nanoc/nanoc-4.13.0.ebuild | 99 ++
 2 files changed, 100 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index d5de4ef82d17..52605765f661 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -3,3 +3,4 @@ DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e
 DIST nanoc-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
 DIST nanoc-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c
 DIST nanoc-4.12.21.tar.gz 356922 BLAKE2B 
7395bfdba8d27c6f60b8df072bc862c3541beafc4aa36fa5e5e6cce1d558eed462e445fe8414ec952c65840b2eab6cd3457b49a537b8197642bf3bf79074bb71
 SHA512 
a68af1ef19affe2188a7b4813bda24dd75d6e1c9de4465dd68271c22efb1b7af302906a58465cd177e8dd4922bd3a2292dd3059458e77f8e3e637bf63b3330b7
+DIST nanoc-4.13.0.tar.gz 356745 BLAKE2B 
55b529669937db12e820d1ed83800415a01e6e9b96b9b2be0e339e8e66d1f7a7ce6982ad3a8e6357875fc326aa96675775e8f39a01fa614d39a1f34e152e6581
 SHA512 
06f537a9a15ae1ec8bf94cc242dfd76fb99330fbe81ebb1375f711cf568e33579745ac571d37258666cdfd903493cd924da390b1710cef7a31d93cfa28ecb81f

diff --git a/www-apps/nanoc/nanoc-4.13.0.ebuild 
b/www-apps/nanoc/nanoc-4.13.0.ebuild
new file mode 100644
index ..beab24ca753f
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.13.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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"
+
+SLOT="0"
+KEYWORDS="~amd64"
+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.5: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/rspec-its
+   dev-ruby/rubypants
+   dev-ruby/systemu
+   dev-ruby/timecop
+   dev-ruby/vcr
+   dev-ruby/webmock
+   dev-ruby/yard
+   www-apps/nanoc-spec
+)
+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
+
+   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 or obsolete dependencies
+   rm spec/nanoc/filters/less_spec.rb \
+  test/filters/test_{erubis,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"' 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2024-06-22 Thread Hans de Graaff
commit: 0aab169ecfd3c1a430908ffcfefa2d14b4f5d6c0
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jun 22 06:12:41 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jun 22 06:18:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aab169e

www-apps/nanoc-core: drop 4.12.16, 4.12.17, 4.12.19

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest  |  3 --
 www-apps/nanoc-core/nanoc-core-4.12.16.ebuild | 77 ---
 www-apps/nanoc-core/nanoc-core-4.12.17.ebuild | 77 ---
 www-apps/nanoc-core/nanoc-core-4.12.19.ebuild | 77 ---
 4 files changed, 234 deletions(-)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index f69c96294a2b..36e2cbd975a8 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,6 +1,3 @@
-DIST nanoc-core-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
-DIST nanoc-core-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
-DIST nanoc-core-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
 DIST nanoc-core-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c
 DIST nanoc-core-4.12.21.tar.gz 356922 BLAKE2B 
7395bfdba8d27c6f60b8df072bc862c3541beafc4aa36fa5e5e6cce1d558eed462e445fe8414ec952c65840b2eab6cd3457b49a537b8197642bf3bf79074bb71
 SHA512 
a68af1ef19affe2188a7b4813bda24dd75d6e1c9de4465dd68271c22efb1b7af302906a58465cd177e8dd4922bd3a2292dd3059458e77f8e3e637bf63b3330b7
 DIST nanoc-core-4.13.0.tar.gz 356745 BLAKE2B 
55b529669937db12e820d1ed83800415a01e6e9b96b9b2be0e339e8e66d1f7a7ce6982ad3a8e6357875fc326aa96675775e8f39a01fa614d39a1f34e152e6581
 SHA512 
06f537a9a15ae1ec8bf94cc242dfd76fb99330fbe81ebb1375f711cf568e33579745ac571d37258666cdfd903493cd924da390b1710cef7a31d93cfa28ecb81f

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.16.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.16.ebuild
deleted file mode 100644
index 136a919ee393..
--- a/www-apps/nanoc-core/nanoc-core-4.12.16.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby30 ruby31 ruby32"
-
-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 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2024-06-22 Thread Hans de Graaff
commit: 516141b7f3b01ad8aea9698dbf8653d37b1c5aa6
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jun 22 06:12:07 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jun 22 06:18:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=516141b7

www-apps/nanoc-cli: drop 4.12.16, 4.12.17, 4.12.19

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest |  3 --
 www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild | 71 -
 www-apps/nanoc-cli/nanoc-cli-4.12.17.ebuild | 71 -
 www-apps/nanoc-cli/nanoc-cli-4.12.19.ebuild | 71 -
 4 files changed, 216 deletions(-)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index 52605765f661..77aa19f98864 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,6 +1,3 @@
-DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
-DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
-DIST nanoc-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
 DIST nanoc-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c
 DIST nanoc-4.12.21.tar.gz 356922 BLAKE2B 
7395bfdba8d27c6f60b8df072bc862c3541beafc4aa36fa5e5e6cce1d558eed462e445fe8414ec952c65840b2eab6cd3457b49a537b8197642bf3bf79074bb71
 SHA512 
a68af1ef19affe2188a7b4813bda24dd75d6e1c9de4465dd68271c22efb1b7af302906a58465cd177e8dd4922bd3a2292dd3059458e77f8e3e637bf63b3330b7
 DIST nanoc-4.13.0.tar.gz 356745 BLAKE2B 
55b529669937db12e820d1ed83800415a01e6e9b96b9b2be0e339e8e66d1f7a7ce6982ad3a8e6357875fc326aa96675775e8f39a01fa614d39a1f34e152e6581
 SHA512 
06f537a9a15ae1ec8bf94cc242dfd76fb99330fbe81ebb1375f711cf568e33579745ac571d37258666cdfd903493cd924da390b1710cef7a31d93cfa28ecb81f

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild
deleted file mode 100644
index af4e0e04f214..
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby30 ruby31 ruby32"
-
-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
-   www-servers/adsf
-)
-"
-
-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 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2024-06-22 Thread Hans de Graaff
commit: ef4f1794352e71e4dc72235b1233def660f4dc88
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jun 22 06:10:21 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jun 22 06:18:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef4f1794

www-apps/nanoc-core: add 4.13.0

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest |  1 +
 www-apps/nanoc-core/nanoc-core-4.13.0.ebuild | 78 
 2 files changed, 79 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index a1e2cdd24013..f69c96294a2b 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -3,3 +3,4 @@ DIST nanoc-core-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d431
 DIST nanoc-core-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
 DIST nanoc-core-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c
 DIST nanoc-core-4.12.21.tar.gz 356922 BLAKE2B 
7395bfdba8d27c6f60b8df072bc862c3541beafc4aa36fa5e5e6cce1d558eed462e445fe8414ec952c65840b2eab6cd3457b49a537b8197642bf3bf79074bb71
 SHA512 
a68af1ef19affe2188a7b4813bda24dd75d6e1c9de4465dd68271c22efb1b7af302906a58465cd177e8dd4922bd3a2292dd3059458e77f8e3e637bf63b3330b7
+DIST nanoc-core-4.13.0.tar.gz 356745 BLAKE2B 
55b529669937db12e820d1ed83800415a01e6e9b96b9b2be0e339e8e66d1f7a7ce6982ad3a8e6357875fc326aa96675775e8f39a01fa614d39a1f34e152e6581
 SHA512 
06f537a9a15ae1ec8bf94cc242dfd76fb99330fbe81ebb1375f711cf568e33579745ac571d37258666cdfd903493cd924da390b1710cef7a31d93cfa28ecb81f

diff --git a/www-apps/nanoc-core/nanoc-core-4.13.0.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.13.0.ebuild
new file mode 100644
index ..533f9c0a4c8c
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.13.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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"
+
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="${IUSE} minimal"
+
+DEPEND+="test? ( app-text/asciidoc app-text/highlight )"
+
+RUBY_S="nanoc-${PV}/nanoc-core"
+
+ruby_add_rdepend "
+   dev-ruby/base64:0.2
+   >=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:5 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"' 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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2024-06-22 Thread Hans de Graaff
commit: eaf5cbd824d6a6296c5500fe60bd573cde48c768
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jun 22 06:11:38 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jun 22 06:18:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf5cbd8

www-apps/nanoc: drop 4.12.16, 4.12.17, 4.12.19

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest |   3 --
 www-apps/nanoc/nanoc-4.12.16.ebuild | 103 
 www-apps/nanoc/nanoc-4.12.17.ebuild | 103 
 www-apps/nanoc/nanoc-4.12.19.ebuild | 103 
 4 files changed, 312 deletions(-)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 52605765f661..77aa19f98864 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,6 +1,3 @@
-DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
-DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
-DIST nanoc-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
 DIST nanoc-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c
 DIST nanoc-4.12.21.tar.gz 356922 BLAKE2B 
7395bfdba8d27c6f60b8df072bc862c3541beafc4aa36fa5e5e6cce1d558eed462e445fe8414ec952c65840b2eab6cd3457b49a537b8197642bf3bf79074bb71
 SHA512 
a68af1ef19affe2188a7b4813bda24dd75d6e1c9de4465dd68271c22efb1b7af302906a58465cd177e8dd4922bd3a2292dd3059458e77f8e3e637bf63b3330b7
 DIST nanoc-4.13.0.tar.gz 356745 BLAKE2B 
55b529669937db12e820d1ed83800415a01e6e9b96b9b2be0e339e8e66d1f7a7ce6982ad3a8e6357875fc326aa96675775e8f39a01fa614d39a1f34e152e6581
 SHA512 
06f537a9a15ae1ec8bf94cc242dfd76fb99330fbe81ebb1375f711cf568e33579745ac571d37258666cdfd903493cd924da390b1710cef7a31d93cfa28ecb81f

diff --git a/www-apps/nanoc/nanoc-4.12.16.ebuild 
b/www-apps/nanoc/nanoc-4.12.16.ebuild
deleted file mode 100644
index 96152932c2bc..
--- a/www-apps/nanoc/nanoc-4.12.16.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby30 ruby31 ruby32"
-
-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 || 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2024-06-22 Thread Hans de Graaff
commit: 53928e5f9f79fddc123bbbebad0f4d82d89143b9
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jun 22 06:10:49 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jun 22 06:18:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53928e5f

www-apps/nanoc-cli: add 4.13.0

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest|  1 +
 www-apps/nanoc-cli/nanoc-cli-4.13.0.ebuild | 72 ++
 2 files changed, 73 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index d5de4ef82d17..52605765f661 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -3,3 +3,4 @@ DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e
 DIST nanoc-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
 DIST nanoc-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c
 DIST nanoc-4.12.21.tar.gz 356922 BLAKE2B 
7395bfdba8d27c6f60b8df072bc862c3541beafc4aa36fa5e5e6cce1d558eed462e445fe8414ec952c65840b2eab6cd3457b49a537b8197642bf3bf79074bb71
 SHA512 
a68af1ef19affe2188a7b4813bda24dd75d6e1c9de4465dd68271c22efb1b7af302906a58465cd177e8dd4922bd3a2292dd3059458e77f8e3e637bf63b3330b7
+DIST nanoc-4.13.0.tar.gz 356745 BLAKE2B 
55b529669937db12e820d1ed83800415a01e6e9b96b9b2be0e339e8e66d1f7a7ce6982ad3a8e6357875fc326aa96675775e8f39a01fa614d39a1f34e152e6581
 SHA512 
06f537a9a15ae1ec8bf94cc242dfd76fb99330fbe81ebb1375f711cf568e33579745ac571d37258666cdfd903493cd924da390b1710cef7a31d93cfa28ecb81f

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.13.0.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.13.0.ebuild
new file mode 100644
index ..60ae596b20e0
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.13.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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"
+
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+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/pry
+   >=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
+   www-servers/adsf
+)
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2024-04-28 Thread Hans de Graaff
commit: 348e15b8177e9e398e4fb7b69d77df1ee79b9965
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Apr 28 08:32:56 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Apr 28 08:35:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=348e15b8

www-apps/nanoc-core: add 4.12.21

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest  |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.21.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 207641d5913d..a1e2cdd24013 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -2,3 +2,4 @@ DIST nanoc-core-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14
 DIST nanoc-core-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
 DIST nanoc-core-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
 DIST nanoc-core-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c
+DIST nanoc-core-4.12.21.tar.gz 356922 BLAKE2B 
7395bfdba8d27c6f60b8df072bc862c3541beafc4aa36fa5e5e6cce1d558eed462e445fe8414ec952c65840b2eab6cd3457b49a537b8197642bf3bf79074bb71
 SHA512 
a68af1ef19affe2188a7b4813bda24dd75d6e1c9de4465dd68271c22efb1b7af302906a58465cd177e8dd4922bd3a2292dd3059458e77f8e3e637bf63b3330b7

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.21.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.21.ebuild
new file mode 100644
index ..533f9c0a4c8c
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.21.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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"
+
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="${IUSE} minimal"
+
+DEPEND+="test? ( app-text/asciidoc app-text/highlight )"
+
+RUBY_S="nanoc-${PV}/nanoc-core"
+
+ruby_add_rdepend "
+   dev-ruby/base64:0.2
+   >=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:5 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"' 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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2024-04-28 Thread Hans de Graaff
commit: f5c4ebe6709dcb769ce8a79e3997145791207761
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Apr 28 08:34:18 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Apr 28 08:35:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c4ebe6

www-apps/nanoc: add 4.12.21

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest |   1 +
 www-apps/nanoc/nanoc-4.12.21.ebuild | 105 
 2 files changed, 106 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index cc2c30050c3d..d5de4ef82d17 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -2,3 +2,4 @@ DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f
 DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
 DIST nanoc-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
 DIST nanoc-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c
+DIST nanoc-4.12.21.tar.gz 356922 BLAKE2B 
7395bfdba8d27c6f60b8df072bc862c3541beafc4aa36fa5e5e6cce1d558eed462e445fe8414ec952c65840b2eab6cd3457b49a537b8197642bf3bf79074bb71
 SHA512 
a68af1ef19affe2188a7b4813bda24dd75d6e1c9de4465dd68271c22efb1b7af302906a58465cd177e8dd4922bd3a2292dd3059458e77f8e3e637bf63b3330b7

diff --git a/www-apps/nanoc/nanoc-4.12.21.ebuild 
b/www-apps/nanoc/nanoc-4.12.21.ebuild
new file mode 100644
index ..b095445b3524
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.21.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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"
+
+SLOT="0"
+KEYWORDS="~amd64"
+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.5: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/rspec-its
+   dev-ruby/rubypants
+   dev-ruby/systemu
+   dev-ruby/timecop
+   dev-ruby/vcr
+   dev-ruby/webmock
+   dev-ruby/yard
+   www-apps/nanoc-spec
+)
+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 or obsolete dependencies
+   rm spec/nanoc/filters/less_spec.rb \
+  test/filters/test_{erubis,markaby,rainpress}.rb || die
+
+   # Avoid tests that are specific to haml 6.x which is currently not 
packaged
+   sed -i -e 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2024-04-28 Thread Hans de Graaff
commit: 4f63850e0032fe9c53dbd12803435a964d2ec47b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Apr 28 08:34:43 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Apr 28 08:35:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f63850e

www-apps/nanoc-checking: enable ruby33

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-checking/nanoc-checking-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.5.ebuild 
b/www-apps/nanoc-checking/nanoc-checking-1.0.5.ebuild
index 1c01dd15800d..5ee44c580eef 100644
--- a/www-apps/nanoc-checking/nanoc-checking-1.0.5.ebuild
+++ b/www-apps/nanoc-checking/nanoc-checking-1.0.5.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
 
 # Upstream has specs but they are not available in the gem and the
 # repository upstream is not tagged for this.



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-deploying/

2024-04-28 Thread Hans de Graaff
commit: 6cbc2c5eae311f4a6658877e1a333b826232e77b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Apr 28 08:35:04 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Apr 28 08:35:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cbc2c5e

www-apps/nanoc-deploying: enable ruby33

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-deploying/nanoc-deploying-1.0.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
index c3bc114de4e2..581d016f0e25 100644
--- a/www-apps/nanoc-deploying/nanoc-deploying-1.0.2-r1.ebuild
+++ b/www-apps/nanoc-deploying/nanoc-deploying-1.0.2-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby30 ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
 
 # Upstream has specs but they are not available in the gem and the
 # repository upstream is not tagged for this.



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2024-04-28 Thread Hans de Graaff
commit: 1dd097c4bb5ec5cbf00b5af83253d397e4fdd67d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Apr 28 08:33:33 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Apr 28 08:35:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd097c4

www-apps/nanoc-cli: add 4.12.21

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest |  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.21.ebuild | 72 +
 2 files changed, 73 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index cc2c30050c3d..d5de4ef82d17 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -2,3 +2,4 @@ DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f
 DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
 DIST nanoc-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
 DIST nanoc-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c
+DIST nanoc-4.12.21.tar.gz 356922 BLAKE2B 
7395bfdba8d27c6f60b8df072bc862c3541beafc4aa36fa5e5e6cce1d558eed462e445fe8414ec952c65840b2eab6cd3457b49a537b8197642bf3bf79074bb71
 SHA512 
a68af1ef19affe2188a7b4813bda24dd75d6e1c9de4465dd68271c22efb1b7af302906a58465cd177e8dd4922bd3a2292dd3059458e77f8e3e637bf63b3330b7

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.21.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.21.ebuild
new file mode 100644
index ..60ae596b20e0
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.21.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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"
+
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+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/pry
+   >=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
+   www-servers/adsf
+)
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-spec/

2024-04-28 Thread Hans de Graaff
commit: bb5c2fccaa2a7c2203fcef8c0088bdebbf81464e
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Apr 28 08:33:13 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Apr 28 08:35:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5c2fcc

www-apps/nanoc-spec: enable ruby33

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-spec/nanoc-spec-0.0.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
index 96a370f2cbf5..b00e6c170384 100644
--- a/www-apps/nanoc-spec/nanoc-spec-0.0.2-r1.ebuild
+++ b/www-apps/nanoc-spec/nanoc-spec-0.0.2-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby30 ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
 
 RUBY_FAKEGEM_RECIPE_TEST="none"
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2024-04-21 Thread Hans de Graaff
commit: 7613830e0e82344eff2fedf7ba298cadb908c1a3
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Apr 22 05:45:05 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Apr 22 05:55:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7613830e

www-apps/nanoc-checking: add 1.0.5

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-checking/Manifest   |  1 +
 .../nanoc-checking/nanoc-checking-1.0.5.ebuild | 25 ++
 2 files changed, 26 insertions(+)

diff --git a/www-apps/nanoc-checking/Manifest b/www-apps/nanoc-checking/Manifest
index f869799bac1e..95956135000d 100644
--- a/www-apps/nanoc-checking/Manifest
+++ b/www-apps/nanoc-checking/Manifest
@@ -1,3 +1,4 @@
 DIST nanoc-checking-1.0.2.gem 11264 BLAKE2B 
5ac338624bd85decb52ad4d59cff466ba849bd03c4b27534db34528db3fa768c1c198461bd35614203f352426105ea541c3dd0da2dff27a8430aa600a756f1fc
 SHA512 
29fcd816f908bd7fdc2895e549d4cd0834ac53f8fc1bf8a9cf12e385cc9a1cabcca87178014beffe6b1b9f63b68d4bfe89096234ec72d3abc37dc8cc906eff24
 DIST nanoc-checking-1.0.3.gem 12288 BLAKE2B 
ec8ea73697c5515e6012e3a732a41671b0d90af517f4e068a5228f7512fdd310c86095690a9fdd55372b26a8668ab960e7791c64d992fca20a0c49a24242cbd6
 SHA512 
55bed10bfe4d5af336e3c376738d03b9869918f2da0b5e3cbd2535395c5cce86651e3b4890badf3f686a31cd2cb7ef0200711501f68b9cd9aeb9fef1cbb9b33b
 DIST nanoc-checking-1.0.4.gem 12288 BLAKE2B 
b01c9ca1a83284b1dbbf63e9de2cf95efc94c5040df946626e49319dde66e0ca24fc9e3db5177e178f396c7c5465227f5c3d1d39d27e4bd8a95fcb6b0fc59167
 SHA512 
38a5ddeaeedf0fde992b377cd94bfff9fd9966ad6020bb96b0d2f56526db8130dd43b7d7efdb1ce1de6f21d7eee68166c5eccfb5532ef9c3744be2c85ff51436
+DIST nanoc-checking-1.0.5.gem 12288 BLAKE2B 
c5ce590d6bdc27ab047d82069183c689d3c5f2b29abebfe672760b5885b6ebf47c20436e0abf91e1862aeef74ab1b72147c2d1972e11bbd449fb919fdc808de2
 SHA512 
ca3dd96cd22e84dcdcb81aa00f2048691d70b87a6d963e6d46a6b8d625446c7fa3a8dc4006e5cea1c4b1b4a4c7b4291793f1d60b6618d1f3528b4d5df1ac5b57

diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.5.ebuild 
b/www-apps/nanoc-checking/nanoc-checking-1.0.5.ebuild
new file mode 100644
index ..1c01dd15800d
--- /dev/null
+++ b/www-apps/nanoc-checking/nanoc-checking-1.0.5.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+# 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 checking functionality for Nanoc"
+HOMEPAGE="https://nanoc.app/;
+LICENSE="MIT"
+
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~riscv"
+
+ruby_add_rdepend "
+   >=www-apps/nanoc-cli-4.12.5:0
+   >=www-apps/nanoc-core-4.12.5:0
+"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2024-04-21 Thread Hans de Graaff
commit: 576545daf07fcab52cc28f0c77f0cc9c9417afec
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Apr 22 05:45:22 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Apr 22 05:55:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=576545da

www-apps/nanoc-checking: drop 1.0.2, 1.0.4

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-checking/Manifest   |  2 --
 .../nanoc-checking/nanoc-checking-1.0.2.ebuild | 26 --
 .../nanoc-checking/nanoc-checking-1.0.4.ebuild | 25 -
 3 files changed, 53 deletions(-)

diff --git a/www-apps/nanoc-checking/Manifest b/www-apps/nanoc-checking/Manifest
index 95956135000d..ef1974a28e12 100644
--- a/www-apps/nanoc-checking/Manifest
+++ b/www-apps/nanoc-checking/Manifest
@@ -1,4 +1,2 @@
-DIST nanoc-checking-1.0.2.gem 11264 BLAKE2B 
5ac338624bd85decb52ad4d59cff466ba849bd03c4b27534db34528db3fa768c1c198461bd35614203f352426105ea541c3dd0da2dff27a8430aa600a756f1fc
 SHA512 
29fcd816f908bd7fdc2895e549d4cd0834ac53f8fc1bf8a9cf12e385cc9a1cabcca87178014beffe6b1b9f63b68d4bfe89096234ec72d3abc37dc8cc906eff24
 DIST nanoc-checking-1.0.3.gem 12288 BLAKE2B 
ec8ea73697c5515e6012e3a732a41671b0d90af517f4e068a5228f7512fdd310c86095690a9fdd55372b26a8668ab960e7791c64d992fca20a0c49a24242cbd6
 SHA512 
55bed10bfe4d5af336e3c376738d03b9869918f2da0b5e3cbd2535395c5cce86651e3b4890badf3f686a31cd2cb7ef0200711501f68b9cd9aeb9fef1cbb9b33b
-DIST nanoc-checking-1.0.4.gem 12288 BLAKE2B 
b01c9ca1a83284b1dbbf63e9de2cf95efc94c5040df946626e49319dde66e0ca24fc9e3db5177e178f396c7c5465227f5c3d1d39d27e4bd8a95fcb6b0fc59167
 SHA512 
38a5ddeaeedf0fde992b377cd94bfff9fd9966ad6020bb96b0d2f56526db8130dd43b7d7efdb1ce1de6f21d7eee68166c5eccfb5532ef9c3744be2c85ff51436
 DIST nanoc-checking-1.0.5.gem 12288 BLAKE2B 
c5ce590d6bdc27ab047d82069183c689d3c5f2b29abebfe672760b5885b6ebf47c20436e0abf91e1862aeef74ab1b72147c2d1972e11bbd449fb919fdc808de2
 SHA512 
ca3dd96cd22e84dcdcb81aa00f2048691d70b87a6d963e6d46a6b8d625446c7fa3a8dc4006e5cea1c4b1b4a4c7b4291793f1d60b6618d1f3528b4d5df1ac5b57

diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild 
b/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild
deleted file mode 100644
index 213ad0011975..
--- a/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby30 ruby31 ruby32"
-
-# 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 checking functionality for Nanoc"
-HOMEPAGE="https://nanoc.app/;
-LICENSE="MIT"
-
-KEYWORDS="~amd64 ~riscv"
-SLOT="$(ver_cut 1)"
-IUSE=""
-
-ruby_add_rdepend "
-   >=www-apps/nanoc-cli-4.12.4:0
-   >=www-apps/nanoc-core-4.12.4:0
-"

diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.4.ebuild 
b/www-apps/nanoc-checking/nanoc-checking-1.0.4.ebuild
deleted file mode 100644
index 1c01dd15800d..
--- a/www-apps/nanoc-checking/nanoc-checking-1.0.4.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby31 ruby32"
-
-# 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 checking functionality for Nanoc"
-HOMEPAGE="https://nanoc.app/;
-LICENSE="MIT"
-
-SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~riscv"
-
-ruby_add_rdepend "
-   >=www-apps/nanoc-cli-4.12.5:0
-   >=www-apps/nanoc-core-4.12.5:0
-"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2024-04-20 Thread Hans de Graaff
commit: 89eafe3d0661aa7732af406d694fdfe97dff664e
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Apr 20 07:33:48 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Apr 20 07:47:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89eafe3d

www-apps/nanoc-checking: add 1.0.4

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-checking/Manifest   |  1 +
 .../nanoc-checking/nanoc-checking-1.0.4.ebuild | 25 ++
 2 files changed, 26 insertions(+)

diff --git a/www-apps/nanoc-checking/Manifest b/www-apps/nanoc-checking/Manifest
index bf489a754836..f869799bac1e 100644
--- a/www-apps/nanoc-checking/Manifest
+++ b/www-apps/nanoc-checking/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-checking-1.0.2.gem 11264 BLAKE2B 
5ac338624bd85decb52ad4d59cff466ba849bd03c4b27534db34528db3fa768c1c198461bd35614203f352426105ea541c3dd0da2dff27a8430aa600a756f1fc
 SHA512 
29fcd816f908bd7fdc2895e549d4cd0834ac53f8fc1bf8a9cf12e385cc9a1cabcca87178014beffe6b1b9f63b68d4bfe89096234ec72d3abc37dc8cc906eff24
 DIST nanoc-checking-1.0.3.gem 12288 BLAKE2B 
ec8ea73697c5515e6012e3a732a41671b0d90af517f4e068a5228f7512fdd310c86095690a9fdd55372b26a8668ab960e7791c64d992fca20a0c49a24242cbd6
 SHA512 
55bed10bfe4d5af336e3c376738d03b9869918f2da0b5e3cbd2535395c5cce86651e3b4890badf3f686a31cd2cb7ef0200711501f68b9cd9aeb9fef1cbb9b33b
+DIST nanoc-checking-1.0.4.gem 12288 BLAKE2B 
b01c9ca1a83284b1dbbf63e9de2cf95efc94c5040df946626e49319dde66e0ca24fc9e3db5177e178f396c7c5465227f5c3d1d39d27e4bd8a95fcb6b0fc59167
 SHA512 
38a5ddeaeedf0fde992b377cd94bfff9fd9966ad6020bb96b0d2f56526db8130dd43b7d7efdb1ce1de6f21d7eee68166c5eccfb5532ef9c3744be2c85ff51436

diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.4.ebuild 
b/www-apps/nanoc-checking/nanoc-checking-1.0.4.ebuild
new file mode 100644
index ..1c01dd15800d
--- /dev/null
+++ b/www-apps/nanoc-checking/nanoc-checking-1.0.4.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+# 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 checking functionality for Nanoc"
+HOMEPAGE="https://nanoc.app/;
+LICENSE="MIT"
+
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~riscv"
+
+ruby_add_rdepend "
+   >=www-apps/nanoc-cli-4.12.5:0
+   >=www-apps/nanoc-core-4.12.5:0
+"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2024-03-18 Thread Hans de Graaff
commit: 2062cc1b052693529c2d5792179c565b07bdc044
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Mar 18 17:03:07 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Mar 18 17:03:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2062cc1b

www-apps/nanoc: add missing test dependency

Closes: https://bugs.gentoo.org/927251
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/nanoc-4.12.20.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www-apps/nanoc/nanoc-4.12.20.ebuild 
b/www-apps/nanoc/nanoc-4.12.20.ebuild
index 2234738fd885..0a76eadc44dc 100644
--- a/www-apps/nanoc/nanoc-4.12.20.ebuild
+++ b/www-apps/nanoc/nanoc-4.12.20.ebuild
@@ -58,6 +58,7 @@ ruby_add_bdepend "test? (
dev-ruby/vcr
dev-ruby/webmock
dev-ruby/yard
+   www-apps/nanoc-spec
 )
 doc? (
dev-ruby/kramdown



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2024-03-18 Thread Hans de Graaff
commit: 8854062b2573a50beedfd1176e8a005e6c4d6789
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Mar 18 12:15:49 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Mar 18 12:16:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8854062b

www-apps/nanoc: add missing test dependency

Closes: https://bugs.gentoo.org/927190
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/nanoc-4.12.20.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www-apps/nanoc/nanoc-4.12.20.ebuild 
b/www-apps/nanoc/nanoc-4.12.20.ebuild
index 8a32609951b9..2234738fd885 100644
--- a/www-apps/nanoc/nanoc-4.12.20.ebuild
+++ b/www-apps/nanoc/nanoc-4.12.20.ebuild
@@ -51,6 +51,7 @@ ruby_add_bdepend "test? (
dev-ruby/pry
dev-ruby/rdoc
>=dev-ruby/rouge-3.5.1:2
+   dev-ruby/rspec-its
dev-ruby/rubypants
dev-ruby/systemu
dev-ruby/timecop



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2024-03-17 Thread Hans de Graaff
commit: 034611e5637b162bfdd6af1491a3b22da6f65de6
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Mar 17 08:17:09 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Mar 17 08:17:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=034611e5

www-apps/nanoc-cli: add 4.12.20

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest |  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.20.ebuild | 72 +
 2 files changed, 73 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index 89c48cf6e0b1..cc2c30050c3d 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,3 +1,4 @@
 DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
 DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
 DIST nanoc-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
+DIST nanoc-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.20.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.20.ebuild
new file mode 100644
index ..f82d364ca9b6
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.20.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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/pry
+   >=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
+   www-servers/adsf
+)
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2024-03-17 Thread Hans de Graaff
commit: 0958633747a5221ea2b3408a1e43e32cbb0c7e83
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Mar 17 08:17:25 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Mar 17 08:17:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09586337

www-apps/nanoc: add 4.12.20

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest |   1 +
 www-apps/nanoc/nanoc-4.12.20.ebuild | 103 
 2 files changed, 104 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 89c48cf6e0b1..cc2c30050c3d 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,3 +1,4 @@
 DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
 DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
 DIST nanoc-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
+DIST nanoc-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c

diff --git a/www-apps/nanoc/nanoc-4.12.20.ebuild 
b/www-apps/nanoc/nanoc-4.12.20.ebuild
new file mode 100644
index ..8a32609951b9
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.20.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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.3: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 or obsolete dependencies
+   rm spec/nanoc/filters/less_spec.rb \
+  test/filters/test_{erubis,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 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2024-03-17 Thread Hans de Graaff
commit: 76b98d1bbe39b5b10027e371a16f622011ab3ae9
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Mar 17 08:16:48 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Mar 17 08:17:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76b98d1b

www-apps/nanoc-core: add 4.12.20

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest  |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.20.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 7a978583890e..207641d5913d 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,3 +1,4 @@
 DIST nanoc-core-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
 DIST nanoc-core-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
 DIST nanoc-core-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c
+DIST nanoc-core-4.12.20.tar.gz 355843 BLAKE2B 
44974de8d84af651f636f369206875a42aa349f78a98d6425cea5d65cc30a5bcbbc10975493b58b87605ae5efb7748712b69e652b94a146242df8fbc3ce8cc87
 SHA512 
b714ac4e743be390dc1484ed29b018da51751f704667cabd8c9c8c7f937eb32863da33f5e7b53838d641e1448e582b9aa729d38df9f25c6eb21358aafd3dbd8c

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.20.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.20.ebuild
new file mode 100644
index ..7211b0b89a16
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.20.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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/base64:0.2
+   >=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:5 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"' 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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2024-03-17 Thread Hans de Graaff
commit: 22ef0d46f07c688cced2e3dc170a6a9cbd0306ad
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Mar 17 07:29:25 2024 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Mar 17 08:17:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22ef0d46

www-apps/nanoc-checking: add 1.0.3

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-checking/Manifest   |  1 +
 .../nanoc-checking/nanoc-checking-1.0.3.ebuild | 25 ++
 2 files changed, 26 insertions(+)

diff --git a/www-apps/nanoc-checking/Manifest b/www-apps/nanoc-checking/Manifest
index e692976896ee..bf489a754836 100644
--- a/www-apps/nanoc-checking/Manifest
+++ b/www-apps/nanoc-checking/Manifest
@@ -1 +1,2 @@
 DIST nanoc-checking-1.0.2.gem 11264 BLAKE2B 
5ac338624bd85decb52ad4d59cff466ba849bd03c4b27534db34528db3fa768c1c198461bd35614203f352426105ea541c3dd0da2dff27a8430aa600a756f1fc
 SHA512 
29fcd816f908bd7fdc2895e549d4cd0834ac53f8fc1bf8a9cf12e385cc9a1cabcca87178014beffe6b1b9f63b68d4bfe89096234ec72d3abc37dc8cc906eff24
+DIST nanoc-checking-1.0.3.gem 12288 BLAKE2B 
ec8ea73697c5515e6012e3a732a41671b0d90af517f4e068a5228f7512fdd310c86095690a9fdd55372b26a8668ab960e7791c64d992fca20a0c49a24242cbd6
 SHA512 
55bed10bfe4d5af336e3c376738d03b9869918f2da0b5e3cbd2535395c5cce86651e3b4890badf3f686a31cd2cb7ef0200711501f68b9cd9aeb9fef1cbb9b33b

diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.3.ebuild 
b/www-apps/nanoc-checking/nanoc-checking-1.0.3.ebuild
new file mode 100644
index ..deba1bdb08ff
--- /dev/null
+++ b/www-apps/nanoc-checking/nanoc-checking-1.0.3.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+# 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 checking functionality for Nanoc"
+HOMEPAGE="https://nanoc.app/;
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~riscv"
+SLOT="$(ver_cut 1)"
+
+ruby_add_rdepend "
+   >=www-apps/nanoc-cli-4.12.5:0
+   >=www-apps/nanoc-core-4.12.5:0
+"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2023-12-29 Thread Hans de Graaff
commit: f2b1afd99eb60b3ffc951837d5e0117293515fb7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Dec 29 10:14:25 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Dec 29 10:14:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b1afd9

www-apps/nanoc: add 4.12.19

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest |   1 +
 www-apps/nanoc/nanoc-4.12.19.ebuild | 103 
 2 files changed, 104 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index b9a0bbe7373b..89c48cf6e0b1 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
 DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
+DIST nanoc-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c

diff --git a/www-apps/nanoc/nanoc-4.12.19.ebuild 
b/www-apps/nanoc/nanoc-4.12.19.ebuild
new file mode 100644
index ..a79a4d304195
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.19.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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 or obsolete dependencies
+   rm spec/nanoc/filters/less_spec.rb \
+  test/filters/test_{erubis,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
+
+   # 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2023-12-29 Thread Hans de Graaff
commit: b52479f5d2a5cbac64c32f9aef3e009ffaa170cd
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Dec 29 10:14:08 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Dec 29 10:14:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b52479f5

www-apps/nanoc-cli: add 4.12.19

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest |  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.19.ebuild | 71 +
 2 files changed, 72 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index b9a0bbe7373b..89c48cf6e0b1 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
 DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
+DIST nanoc-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.19.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.19.ebuild
new file mode 100644
index ..8da190b719b7
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.19.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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
+   www-servers/adsf
+)
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2023-12-29 Thread Hans de Graaff
commit: cf0d9599dbd1ed33122f0ed127d535bccf406714
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Dec 29 10:13:53 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Dec 29 10:14:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0d9599

www-apps/nanoc-core: add 4.12.19

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest  |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.19.ebuild | 77 +++
 2 files changed, 78 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 090b7c8c8714..7a978583890e 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-core-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
 DIST nanoc-core-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1
+DIST nanoc-core-4.12.19.tar.gz 352620 BLAKE2B 
1e6f7e4b49ffd52f985c8a8e4f33401b03abf64569c719a888c603cc8cf1cc2409cf5513dccaa3517bc2d4180e60bec4060db7672d999c486bc4e2138e272946
 SHA512 
0118eda03479bbdc75098e789ab1095942dfc8967dc6f628e07a93826241845df253eb5701803df2386cf56aaabf6670ed3e8589dcfdcdd331a13def3b05374c

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.19.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.19.ebuild
new file mode 100644
index ..fc14ee3a29aa
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.19.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="ruby31 ruby32"
+
+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:5 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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2023-10-03 Thread Hans de Graaff
commit: 318d7f79b88e04553b5a00b31aa29bcc37379162
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Oct  4 05:30:22 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Oct  4 05:31:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=318d7f79

www-apps/nanoc-core: add 4.12.17

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest  |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.17.ebuild | 77 +++
 2 files changed, 78 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index b9aaed5f1857..090b7c8c8714 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1 +1,2 @@
 DIST nanoc-core-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
+DIST nanoc-core-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.17.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.17.ebuild
new file mode 100644
index ..80ccfe943d17
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.17.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="ruby31 ruby32"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2023-10-03 Thread Hans de Graaff
commit: f3e65bd0cce35c96844d997852f363ff73ab4ac3
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Oct  4 05:30:36 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Oct  4 05:31:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3e65bd0

www-apps/nanoc-cli: add 4.12.17

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest |  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.17.ebuild | 71 +
 2 files changed, 72 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index 263d6a046f34..b9a0bbe7373b 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1 +1,2 @@
 DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
+DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.17.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.17.ebuild
new file mode 100644
index ..8da190b719b7
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.17.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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
+   www-servers/adsf
+)
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2023-10-03 Thread Hans de Graaff
commit: a909a2a7a6b91eeae4685b10c0a1c15a94d179e5
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Oct  4 05:30:58 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Oct  4 05:31:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a909a2a7

www-apps/nanoc: add 4.12.17

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest |   1 +
 www-apps/nanoc/nanoc-4.12.17.ebuild | 103 
 2 files changed, 104 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 263d6a046f34..b9a0bbe7373b 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1 +1,2 @@
 DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd
+DIST nanoc-4.12.17.tar.gz 350964 BLAKE2B 
ca19c259eac8005f2612f61b902005d43196e3e01e8bb0c7a77f9f68bc27486ad6e6e9860420817a633b9a48973f7d98689046cbdb6fe4c185ae18583168d6d2
 SHA512 
d5a8d3711642f65078102be9317ac2b7db3635c5ff5616d2c05fd917e5cba76a8a21ceeb0a84565723d334f8d62cb55c8097eac07c9bc30f783916c8d312b8c1

diff --git a/www-apps/nanoc/nanoc-4.12.17.ebuild 
b/www-apps/nanoc/nanoc-4.12.17.ebuild
new file mode 100644
index ..a4a5b6c23b41
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.17.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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 or obsolete dependencies
+   rm spec/nanoc/filters/less_spec.rb \
+  test/filters/test_{erubis,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
+
+   # Fix deprecated minitest constant
+   sed -i -e 's/MiniTest/Minitest/' test/rule_dsl/test_rules_collection.rb 
|| die
+}
+
+each_ruby_test() {
+   MT_NO_PLUGINS=true RUBYLIB="${S}/lib" ${RUBY} -S rake spec test_all || 
die
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2023-08-11 Thread Hans de Graaff
commit: 1bdb94a1dda6a002deab53c19aeef41d4ff3b552
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Aug 11 19:13:53 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Aug 11 19:14:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bdb94a1

www-apps/nanoc: enable ruby32

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/nanoc-4.12.16.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/www-apps/nanoc/nanoc-4.12.16.ebuild 
b/www-apps/nanoc/nanoc-4.12.16.ebuild
index 826e15fcb9cf..96152932c2bc 100644
--- a/www-apps/nanoc/nanoc-4.12.16.ebuild
+++ b/www-apps/nanoc/nanoc-4.12.16.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby30 ruby31"
+USE_RUBY="ruby30 ruby31 ruby32"
 
 RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
 
@@ -81,9 +81,9 @@ all_ruby_prepare() {
# 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
+   # Avoid tests for unpackaged or obsolete dependencies
rm spec/nanoc/filters/less_spec.rb \
-  test/filters/test_{markaby,rainpress}.rb || die
+  test/filters/test_{erubis,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
@@ -93,6 +93,9 @@ all_ruby_prepare() {
-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
+
+   # Fix deprecated minitest constant
+   sed -i -e 's/MiniTest/Minitest/' test/rule_dsl/test_rules_collection.rb 
|| die
 }
 
 each_ruby_test() {



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2023-08-11 Thread Hans de Graaff
commit: 1f9587de77d937a0907b7a85c318eef726ec03f1
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Aug 11 18:11:43 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Aug 11 19:14:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f9587de

www-apps/nanoc-checking: enable ruby32

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 32a6a8ae55f4..213ad0011975 100644
--- a/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild
+++ b/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby30 ruby31"
+USE_RUBY="ruby30 ruby31 ruby32"
 
 # Upstream has specs but they are not available in the gem and the
 # repository upstream is not tagged for this.



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-spec/

2023-08-11 Thread Hans de Graaff
commit: ae389462d21048173222b85cc5c3ce17e2adbf12
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Aug 11 18:02:04 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Aug 11 19:14:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae389462

www-apps/nanoc-spec: enable ruby32

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-spec/nanoc-spec-0.0.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 23fa33fff8d9..96a370f2cbf5 100644
--- a/www-apps/nanoc-spec/nanoc-spec-0.0.2-r1.ebuild
+++ b/www-apps/nanoc-spec/nanoc-spec-0.0.2-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby30 ruby31"
+USE_RUBY="ruby30 ruby31 ruby32"
 
 RUBY_FAKEGEM_RECIPE_TEST="none"
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-deploying/

2023-08-11 Thread Hans de Graaff
commit: 20f8df59ef352906623aaa42998d715d50026e3c
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Aug 11 18:13:07 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Aug 11 19:14:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f8df59

www-apps/nanoc-deploying: enable ruby32

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-deploying/nanoc-deploying-1.0.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 9ed9b0a674e4..c3bc114de4e2 100644
--- a/www-apps/nanoc-deploying/nanoc-deploying-1.0.2-r1.ebuild
+++ b/www-apps/nanoc-deploying/nanoc-deploying-1.0.2-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby30 ruby31"
+USE_RUBY="ruby30 ruby31 ruby32"
 
 # Upstream has specs but they are not available in the gem and the
 # repository upstream is not tagged for this.



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2023-08-11 Thread Hans de Graaff
commit: 77badf4af907c18a76eec90a6314ee71c6451548
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Aug 11 18:10:30 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Aug 11 19:14:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77badf4a

www-apps/nanoc-cli: enable ruby32

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild
index cb43c1206022..af4e0e04f214 100644
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby30 ruby31"
+USE_RUBY="ruby30 ruby31 ruby32"
 
 RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
 
@@ -38,6 +38,7 @@ ruby_add_bdepend "test? (
dev-ruby/tty-command
dev-ruby/yard
www-apps/nanoc-spec
+   www-servers/adsf
 )
 "
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2023-08-11 Thread Hans de Graaff
commit: f139fd553fbb5fed50305858cd085f5f01915741
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Aug 11 18:01:45 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Aug 11 19:14:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f139fd55

www-apps/nanoc-core: enable ruby32

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/nanoc-core-4.12.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.16.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.16.ebuild
index c48b16e16e5b..136a919ee393 100644
--- a/www-apps/nanoc-core/nanoc-core-4.12.16.ebuild
+++ b/www-apps/nanoc-core/nanoc-core-4.12.16.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby30 ruby31"
+USE_RUBY="ruby30 ruby31 ruby32"
 
 RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2023-07-18 Thread Hans de Graaff
commit: 41dde8aeef2a1ad663c10dac8853e79d3280d570
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jul 18 05:58:06 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jul 18 07:23:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41dde8ae

www-apps/nanoc-core: drop 4.12.14, 4.12.15

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest  |  2 -
 www-apps/nanoc-core/nanoc-core-4.12.14.ebuild | 76 --
 www-apps/nanoc-core/nanoc-core-4.12.15.ebuild | 77 ---
 3 files changed, 155 deletions(-)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 7a6adf522d48..b9aaed5f1857 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,3 +1 @@
-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 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
 DIST nanoc-core-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.14.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.14.ebuild
deleted file mode 100644
index 66c164373d91..
--- a/www-apps/nanoc-core/nanoc-core-4.12.14.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby27 ruby30"
-
-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/hamster-3*
-   >=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 -i -e '/coverall/I s:^:#:' \
-   -e '/rubocop/ s:^:#:' Rakefile || die
-   sed -i -e '1i 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
-
-   # 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-core/nanoc-core-4.12.15.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.15.ebuild
deleted file mode 100644
index f20011007870..
--- a/www-apps/nanoc-core/nanoc-core-4.12.15.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby27 ruby30"
-
-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"
-

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2023-07-18 Thread Hans de Graaff
commit: 17781ebce1482ccda9c54f7f4dca18689544afd5
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jul 18 05:55:57 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jul 18 07:23:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17781ebc

www-apps/nanoc: drop 4.12.14, 4.12.15

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest |  2 -
 www-apps/nanoc/nanoc-4.12.14.ebuild | 96 
 www-apps/nanoc/nanoc-4.12.15.ebuild | 97 -
 3 files changed, 195 deletions(-)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 21edc8ac5f6c..263d6a046f34 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,3 +1 @@
-DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 
325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a
 SHA512 
bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9
-DIST nanoc-4.12.15.tar.gz 348052 BLAKE2B 
a880b3f5e3f8dc59e0a98d5e957ad6ca64134cc54c2a6e4380e91ce64414c93e8212ee2724b646703ada4ff212576346b9dd3b272cf6adc35d58e1277ab185c8
 SHA512 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
 DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd

diff --git a/www-apps/nanoc/nanoc-4.12.14.ebuild 
b/www-apps/nanoc/nanoc-4.12.14.ebuild
deleted file mode 100644
index cdc5ce7a4da8..
--- a/www-apps/nanoc/nanoc-4.12.14.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby27 ruby30"
-
-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
-
-   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 -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.12.15.ebuild 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2023-07-18 Thread Hans de Graaff
commit: f0d4a176d6e31d1e3568a3e43d4a23e89e5bbcde
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jul 18 05:56:26 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jul 18 07:23:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0d4a176

www-apps/nanoc-cli: drop 4.12.14, 4.12.15

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest |  2 -
 www-apps/nanoc-cli/nanoc-cli-4.12.14.ebuild | 70 -
 www-apps/nanoc-cli/nanoc-cli-4.12.15.ebuild | 70 -
 3 files changed, 142 deletions(-)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index 21edc8ac5f6c..263d6a046f34 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,3 +1 @@
-DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 
325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a
 SHA512 
bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9
-DIST nanoc-4.12.15.tar.gz 348052 BLAKE2B 
a880b3f5e3f8dc59e0a98d5e957ad6ca64134cc54c2a6e4380e91ce64414c93e8212ee2724b646703ada4ff212576346b9dd3b272cf6adc35d58e1277ab185c8
 SHA512 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
 DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.14.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.14.ebuild
deleted file mode 100644
index 3d298add06f1..
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.14.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby27 ruby30"
-
-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-cli/nanoc-cli-4.12.15.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.15.ebuild
deleted file mode 100644
index 0e39da6e06b4..
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.15.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby27 ruby30"
-
-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 -> 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-deploying/

2023-07-17 Thread Hans de Graaff
commit: 1193d680836cdb55dec2328d1dd81f985b6e4042
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jul 18 05:10:55 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jul 18 05:10:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1193d680

www-apps/nanoc-deploying: drop 1.0.2

Signed-off-by: Hans de Graaff  gentoo.org>

 .../nanoc-deploying/nanoc-deploying-1.0.2.ebuild   | 27 --
 1 file changed, 27 deletions(-)

diff --git a/www-apps/nanoc-deploying/nanoc-deploying-1.0.2.ebuild 
b/www-apps/nanoc-deploying/nanoc-deploying-1.0.2.ebuild
deleted file mode 100644
index 3b8ea8b5e623..
--- a/www-apps/nanoc-deploying/nanoc-deploying-1.0.2.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby26 ruby27 ruby30"
-
-# 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
-"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-spec/

2023-07-17 Thread Hans de Graaff
commit: 5973bd52174f320cd3fe486a03dcc7fee0dd58cf
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jul 18 05:11:18 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jul 18 05:11:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5973bd52

www-apps/nanoc-spec: drop 0.0.2

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild | 23 ---
 1 file changed, 23 deletions(-)

diff --git a/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild 
b/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
deleted file mode 100644
index 20cf03408146..
--- a/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby26 ruby27 ruby30"
-
-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
-"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2023-06-24 Thread Hans de Graaff
commit: e4c84fd0da3fadc18960285b4a95b1bb316d4046
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun 25 05:51:03 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun 25 05:51:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4c84fd0

www-apps/nanoc: add 4.12.16

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest |   1 +
 www-apps/nanoc/nanoc-4.12.16.ebuild | 100 
 2 files changed, 101 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 9451b1ee48b1..21edc8ac5f6c 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 
325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a
 SHA512 
bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9
 DIST nanoc-4.12.15.tar.gz 348052 BLAKE2B 
a880b3f5e3f8dc59e0a98d5e957ad6ca64134cc54c2a6e4380e91ce64414c93e8212ee2724b646703ada4ff212576346b9dd3b272cf6adc35d58e1277ab185c8
 SHA512 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
+DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd

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 ..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() {
+   

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-deploying/

2023-06-24 Thread Hans de Graaff
commit: 34295e703b736720e19f4d6d6e4a076048864bfc
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun 25 05:48:12 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun 25 05:51:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34295e70

www-apps/nanoc-deploying: update EAPI 7 -> 8

Signed-off-by: Hans de Graaff  gentoo.org>

 .../nanoc-deploying-1.0.2-r1.ebuild| 27 ++
 1 file changed, 27 insertions(+)

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 ..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
+"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2023-06-24 Thread Hans de Graaff
commit: d21e8afe08566ca19ffe4211c65d3678fa9ceb19
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun 25 05:49:37 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun 25 05:51:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d21e8afe

www-apps/nanoc-core: add 4.12.16

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest  |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.16.ebuild | 77 +++
 2 files changed, 78 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index e2ad4bb946bf..7a6adf522d48 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,2 +1,3 @@
 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 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
+DIST nanoc-core-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2023-06-24 Thread Hans de Graaff
commit: 3ab52acd7e75636cbaf749579a5684e48af14b73
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun 25 05:48:37 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun 25 05:51:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab52acd

www-apps/nanoc-checking: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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.



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2023-06-24 Thread Hans de Graaff
commit: 420c37cb469510767584bdfa97698dba7adfbce8
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun 25 05:49:23 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun 25 05:51:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=420c37cb

www-apps/nanoc-cli: add 4.12.16

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest |  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.16.ebuild | 70 +
 2 files changed, 71 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index 9451b1ee48b1..21edc8ac5f6c 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 
325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a
 SHA512 
bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9
 DIST nanoc-4.12.15.tar.gz 348052 BLAKE2B 
a880b3f5e3f8dc59e0a98d5e957ad6ca64134cc54c2a6e4380e91ce64414c93e8212ee2724b646703ada4ff212576346b9dd3b272cf6adc35d58e1277ab185c8
 SHA512 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
+DIST nanoc-4.12.16.tar.gz 350823 BLAKE2B 
8196589290b5120b74bd2063e60f1fad14af98f7c8ffcef0a226d28ecb3f129ab04c913ad921e64c9551965c8fe1e26da1e0f41baa64a75caa372d6796c5084b
 SHA512 
e04a562d87250286a9fbdc0381fdc64868f87f67d1ae9ce81f0e21c13496e168cfc4936c02b3cba87e8d647ab070670a208722fd53f4265eb3674b7ba20ccebd

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-spec/

2023-06-24 Thread Hans de Graaff
commit: 70b8ec9c569d31bc4ef298a52f64617f26bddac6
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun 25 05:48:52 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun 25 05:51:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70b8ec9c

www-apps/nanoc-spec: update EAPI 7 -> 8

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-spec/nanoc-spec-0.0.2-r1.ebuild | 23 +++
 1 file changed, 23 insertions(+)

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 ..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
+"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2023-06-15 Thread Hans de Graaff
commit: bae6c360c1795374d0130cab2ee043439cd724cf
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Jun 15 06:24:01 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Jun 15 06:24:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bae6c360

www-apps/nanoc-core: drop 4.12.6, 4.12.7, 4.12.9

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest |  3 --
 www-apps/nanoc-core/nanoc-core-4.12.6.ebuild | 75 ---
 www-apps/nanoc-core/nanoc-core-4.12.7.ebuild | 76 
 www-apps/nanoc-core/nanoc-core-4.12.9.ebuild | 76 
 4 files changed, 230 deletions(-)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 310af8751a0f..e2ad4bb946bf 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,5 +1,2 @@
 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 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
-DIST nanoc-core-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
-DIST nanoc-core-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
-DIST nanoc-core-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild
deleted file mode 100644
index e1c82b3500f4..
--- a/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
-
-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/hamster-3*
-   >=dev-ruby/json_schema-0.19:0
-   >=dev-ruby/memo_wise-1.5:1
-   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 -i -e '/coverall/I s:^:#:' \
-   -e '/rubocop/ s:^:#:' Rakefile || die
-   sed -i -e '1i 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
-
-   # 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 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2023-06-15 Thread Hans de Graaff
commit: 3016142625e1858efa1131ec46504bc492177e17
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Jun 15 06:24:23 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Jun 15 06:24:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30161426

www-apps/nanoc-cli: drop 4.12.6, 4.12.7, 4.12.9

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest|  3 --
 www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild | 70 --
 www-apps/nanoc-cli/nanoc-cli-4.12.7.ebuild | 70 --
 www-apps/nanoc-cli/nanoc-cli-4.12.9.ebuild | 70 --
 4 files changed, 213 deletions(-)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index ff8db8bb999d..9451b1ee48b1 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,5 +1,2 @@
 DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 
325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a
 SHA512 
bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9
 DIST nanoc-4.12.15.tar.gz 348052 BLAKE2B 
a880b3f5e3f8dc59e0a98d5e957ad6ca64134cc54c2a6e4380e91ce64414c93e8212ee2724b646703ada4ff212576346b9dd3b272cf6adc35d58e1277ab185c8
 SHA512 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
-DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
-DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
-DIST nanoc-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild
deleted file mode 100644
index 89dc046b14ec..
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
-
-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 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2023-06-15 Thread Hans de Graaff
commit: ea294b7bba885035952edc05185bb946a6f49e61
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Jun 15 06:23:32 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Jun 15 06:23:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea294b7b

www-apps/nanoc: drop 4.12.6, 4.12.7, 4.12.9

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest|  3 --
 www-apps/nanoc/nanoc-4.12.6.ebuild | 95 -
 www-apps/nanoc/nanoc-4.12.7.ebuild | 95 -
 www-apps/nanoc/nanoc-4.12.9.ebuild | 96 --
 4 files changed, 289 deletions(-)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index ff8db8bb999d..9451b1ee48b1 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,5 +1,2 @@
 DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 
325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a
 SHA512 
bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9
 DIST nanoc-4.12.15.tar.gz 348052 BLAKE2B 
a880b3f5e3f8dc59e0a98d5e957ad6ca64134cc54c2a6e4380e91ce64414c93e8212ee2724b646703ada4ff212576346b9dd3b272cf6adc35d58e1277ab185c8
 SHA512 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
-DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
-DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
-DIST nanoc-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc/nanoc-4.12.6.ebuild 
b/www-apps/nanoc/nanoc-4.12.6.ebuild
deleted file mode 100644
index 5dd599378dc6..
--- a/www-apps/nanoc/nanoc-4.12.6.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
-
-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
-
-   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 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2023-03-29 Thread Hans de Graaff
commit: 4f84d62c515f0b2e287f64531e2b7dd7ea6633c3
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 29 06:34:20 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Mar 29 06:35:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f84d62c

www-apps/nanoc: add 4.12.15

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest |  1 +
 www-apps/nanoc/nanoc-4.12.15.ebuild | 96 +
 2 files changed, 97 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index b9540beb79ee..ff8db8bb999d 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,4 +1,5 @@
 DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 
325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a
 SHA512 
bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9
+DIST nanoc-4.12.15.tar.gz 348052 BLAKE2B 
a880b3f5e3f8dc59e0a98d5e957ad6ca64134cc54c2a6e4380e91ce64414c93e8212ee2724b646703ada4ff212576346b9dd3b272cf6adc35d58e1277ab185c8
 SHA512 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
 DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
 DIST nanoc-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc/nanoc-4.12.15.ebuild 
b/www-apps/nanoc/nanoc-4.12.15.ebuild
new file mode 100644
index ..e2c809ab6174
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.15.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+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
+
+   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 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2023-03-29 Thread Hans de Graaff
commit: acbece7443f0a271e45ccea39b93aa40312c2611
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 29 06:33:52 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Mar 29 06:35:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acbece74

www-apps/nanoc-core: add 4.12.15

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest  |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.15.ebuild | 77 +++
 2 files changed, 78 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 9e5b50b6f0a7..310af8751a0f 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,4 +1,5 @@
 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 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
 DIST nanoc-core-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-core-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
 DIST nanoc-core-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.15.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.15.ebuild
new file mode 100644
index ..f20011007870
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.15.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="ruby27 ruby30"
+
+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/hamster-3*
+   >=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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2023-03-29 Thread Hans de Graaff
commit: ebb5395659aaa5cb87526bc8defcc979e7d5d261
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 29 06:35:41 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Mar 29 06:35:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb53956

www-apps/nanoc: fix line length warning

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/nanoc-4.12.15.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www-apps/nanoc/nanoc-4.12.15.ebuild 
b/www-apps/nanoc/nanoc-4.12.15.ebuild
index e2c809ab6174..28e999de69c8 100644
--- a/www-apps/nanoc/nanoc-4.12.15.ebuild
+++ b/www-apps/nanoc/nanoc-4.12.15.ebuild
@@ -88,7 +88,8 @@ all_ruby_prepare() {
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 -i -e '124askip "ordering issues"' -e '168askip "ordering issues"' 
spec/nanoc/data_sources/filesystem_spec.rb || die
+   sed -e '124askip "ordering issues"' -e '168askip "ordering issues"' \
+   -i spec/nanoc/data_sources/filesystem_spec.rb || die
 }
 
 each_ruby_test() {



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2023-03-29 Thread Hans de Graaff
commit: 1b6511295c36c186febce6ca832b95cbf1a54385
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 29 06:34:04 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Mar 29 06:35:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b651129

www-apps/nanoc-cli: add 4.12.15

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest |  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.15.ebuild | 70 +
 2 files changed, 71 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index b9540beb79ee..ff8db8bb999d 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,4 +1,5 @@
 DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 
325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a
 SHA512 
bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9
+DIST nanoc-4.12.15.tar.gz 348052 BLAKE2B 
a880b3f5e3f8dc59e0a98d5e957ad6ca64134cc54c2a6e4380e91ce64414c93e8212ee2724b646703ada4ff212576346b9dd3b272cf6adc35d58e1277ab185c8
 SHA512 
43e37005306b137162786f14c5469045582cedb9947c7cd6baf0c1cc83a51529af89fef48843960726cb04aba6cd0e41b2b2a92615543a303b864150
 DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
 DIST nanoc-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.15.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.15.ebuild
new file mode 100644
index ..0e39da6e06b4
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.15.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="ruby27 ruby30"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2022-12-17 Thread Hans de Graaff
commit: 60414ecbb9a403d79cafb346c9d99e9c5cdd0404
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Dec 17 10:32:39 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Dec 18 07:21:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60414ecb

www-apps/nanoc-core: add 4.12.14

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest  |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.14.ebuild | 76 +++
 2 files changed, 77 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 3d7f65d09ea9..9e5b50b6f0a7 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,3 +1,4 @@
+DIST nanoc-core-4.12.14.tar.gz 347902 BLAKE2B 
325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a
 SHA512 
bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9
 DIST nanoc-core-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-core-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
 DIST nanoc-core-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.14.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.14.ebuild
new file mode 100644
index ..66c164373d91
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.14.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+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/hamster-3*
+   >=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 -i -e '/coverall/I s:^:#:' \
+   -e '/rubocop/ s:^:#:' Rakefile || die
+   sed -i -e '1i 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
+
+   # 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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2022-12-17 Thread Hans de Graaff
commit: c893d1de8bc20198de909533bde155f1a28fa2cc
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Dec 17 10:33:20 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Dec 18 07:21:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c893d1de

www-apps/nanoc: add 4.12.14

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest |  1 +
 www-apps/nanoc/nanoc-4.12.14.ebuild | 96 +
 2 files changed, 97 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 38e20ed62aa4..b9540beb79ee 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,3 +1,4 @@
+DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 
325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a
 SHA512 
bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9
 DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
 DIST nanoc-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc/nanoc-4.12.14.ebuild 
b/www-apps/nanoc/nanoc-4.12.14.ebuild
new file mode 100644
index ..cdc5ce7a4da8
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.14.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+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
+
+   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 -i -e '124askip "ordering issues"' -e '168askip "ordering 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2022-12-17 Thread Hans de Graaff
commit: 4d597a155e83e6ec2005f7d91bb61692a116f113
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Dec 17 10:33:04 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Dec 18 07:21:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d597a15

www-apps/nanoc-cli: add 4.12.14

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest |  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.14.ebuild | 70 +
 2 files changed, 71 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index 38e20ed62aa4..b9540beb79ee 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,3 +1,4 @@
+DIST nanoc-4.12.14.tar.gz 347902 BLAKE2B 
325560667b370df0b245523463be8d5e9cda0cbfbe224e790f84c98aab21eee85a87fce962a24fc975cd98b0b68ad8611fe5c42cc4e0001fe4b6b17ab59bbc1a
 SHA512 
bbc54d84f50cb7586467e33db5986ae9c93ba402b102d159864f78cfb2f3102cea736a5b89655345da93b6dfe1576aa188eba143d206a747bbff38dc27a4b2f9
 DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
 DIST nanoc-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.14.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.14.ebuild
new file mode 100644
index ..3d298add06f1
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.14.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-deploying/

2022-12-07 Thread Hans de Graaff
commit: 7a45e3b0609ec657355888a1adc08ee17b7a4e10
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Dec  7 17:56:07 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Dec  7 17:57:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a45e3b0

www-apps/nanoc-deploying: drop 1.0.1

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-deploying/Manifest  |  1 -
 .../nanoc-deploying/nanoc-deploying-1.0.1.ebuild   | 27 --
 2 files changed, 28 deletions(-)

diff --git a/www-apps/nanoc-deploying/Manifest 
b/www-apps/nanoc-deploying/Manifest
index 15e2873fc3af..7518e93b748e 100644
--- a/www-apps/nanoc-deploying/Manifest
+++ b/www-apps/nanoc-deploying/Manifest
@@ -1,2 +1 @@
-DIST nanoc-deploying-1.0.1.gem 9728 BLAKE2B 
d646f56eada30fc5059069627f6b07fc6620cc952605086100e954aa9b79e7f696ecfe87ad85f1951fca1de75482943af869a28f6f4465fffc3497af9db36b7f
 SHA512 
78e4247021b9e0ba717cf4b41bb913bbbafd7e0b149d16e681d7312f60cd0d2277de5e957f938c3194a521036da21b38696fe4ced5cd0b14cdce01aee207a744
 DIST nanoc-deploying-1.0.2.gem 9728 BLAKE2B 
6f06a33c08105e59a928277efccf48371d0c93f0cb4427951431462afc4b9d88c677ac17a2627f7511a7675a7b350c2887f62b88112c2d10e1e203a44252a387
 SHA512 
2ef340742926584ef5112d5c281ac469520d6fd30d60bfcf502ac993256020f85de03d957d61bff0613d3e8d9bda22256cc565feffe80411e3f024c5d8a74b2c

diff --git a/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild 
b/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild
deleted file mode 100644
index 55b1d6fea075..
--- a/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby26 ruby27"
-
-# 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
-"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2022-12-07 Thread Hans de Graaff
commit: b062c32721b670c3a436ee7e1bfa96a5a1baf8a9
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Dec  7 17:56:35 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Dec  7 17:57:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b062c327

www-apps/nanoc-checking: drop 1.0.1

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-checking/Manifest   |  1 -
 .../nanoc-checking/nanoc-checking-1.0.1.ebuild | 26 --
 2 files changed, 27 deletions(-)

diff --git a/www-apps/nanoc-checking/Manifest b/www-apps/nanoc-checking/Manifest
index ea5f10589960..e692976896ee 100644
--- a/www-apps/nanoc-checking/Manifest
+++ b/www-apps/nanoc-checking/Manifest
@@ -1,2 +1 @@
-DIST nanoc-checking-1.0.1.gem 10752 BLAKE2B 
6f6f10cf97ab17cc328d827ab19490fa6e9d6f744594c167b4d9bf050c1288a7d5657d290402efbfa8d61d8e81550feae5022720464814e27af06d5025dfde96
 SHA512 
ef2b5a9c044f9bef19e4c75cc9ee99747a2ff0f8bece23c56d763f59c622488ccd980a19a3563207948fdb0d9edb91e86703778f7233bc0de76adf385c5694b0
 DIST nanoc-checking-1.0.2.gem 11264 BLAKE2B 
5ac338624bd85decb52ad4d59cff466ba849bd03c4b27534db34528db3fa768c1c198461bd35614203f352426105ea541c3dd0da2dff27a8430aa600a756f1fc
 SHA512 
29fcd816f908bd7fdc2895e549d4cd0834ac53f8fc1bf8a9cf12e385cc9a1cabcca87178014beffe6b1b9f63b68d4bfe89096234ec72d3abc37dc8cc906eff24

diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild 
b/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild
deleted file mode 100644
index 646382c44aa8..
--- a/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby26 ruby27"
-
-# 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 checking functionality for Nanoc"
-HOMEPAGE="https://nanoc.app/;
-LICENSE="MIT"
-
-KEYWORDS="~amd64 ~riscv"
-SLOT="$(ver_cut 1)"
-IUSE=""
-
-ruby_add_rdepend "
-   >=www-apps/nanoc-cli-4.11.15:0
-   >=www-apps/nanoc-core-4.11.15:0
-"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2022-11-09 Thread Arthur Zamarin
commit: b3de950bc7df6f5766463ea926b50de28170292f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov  9 19:45:42 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov  9 19:50:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3de950b

www-apps/nanoc-core: fix UnquotedVariable

Signed-off-by: Arthur Zamarin  gentoo.org>

 www-apps/nanoc-core/nanoc-core-4.12.6.ebuild | 2 +-
 www-apps/nanoc-core/nanoc-core-4.12.7.ebuild | 2 +-
 www-apps/nanoc-core/nanoc-core-4.12.9.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild
index 94306b1e7cfc..e1c82b3500f4 100644
--- a/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild
+++ b/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild
@@ -63,7 +63,7 @@ all_ruby_prepare() {
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
+   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

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.7.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.7.ebuild
index 0100d716bb87..66c164373d91 100644
--- a/www-apps/nanoc-core/nanoc-core-4.12.7.ebuild
+++ b/www-apps/nanoc-core/nanoc-core-4.12.7.ebuild
@@ -64,7 +64,7 @@ all_ruby_prepare() {
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
+   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

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.9.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.9.ebuild
index 0100d716bb87..66c164373d91 100644
--- a/www-apps/nanoc-core/nanoc-core-4.12.9.ebuild
+++ b/www-apps/nanoc-core/nanoc-core-4.12.9.ebuild
@@ -64,7 +64,7 @@ all_ruby_prepare() {
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
+   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



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2022-10-09 Thread Hans de Graaff
commit: 245248ecbd61ca6f47aa2d10666e95dbb9ec1709
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Oct  9 07:10:29 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct  9 07:22:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245248ec

www-apps/nanoc-core: add 4.12.9

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.9.ebuild | 76 
 2 files changed, 77 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index cf5166985264..3d7f65d09ea9 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-core-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-core-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
+DIST nanoc-core-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.9.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.9.ebuild
new file mode 100644
index ..0100d716bb87
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.9.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+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/hamster-3*
+   >=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 -i -e '/coverall/I s:^:#:' \
+   -e '/rubocop/ s:^:#:' Rakefile || die
+   sed -i -e '1i 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
+
+   # 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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2022-10-09 Thread Hans de Graaff
commit: f3b030ee26e5cc86036d92fdf24d71b0e90d7e38
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Oct  9 07:22:00 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct  9 07:22:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3b030ee

www-apps/nanoc: add 4.12.9

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest|  1 +
 www-apps/nanoc/nanoc-4.12.9.ebuild | 96 ++
 2 files changed, 97 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index cb82a95d32dc..38e20ed62aa4 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
+DIST nanoc-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc/nanoc-4.12.9.ebuild 
b/www-apps/nanoc/nanoc-4.12.9.ebuild
new file mode 100644
index ..cdc5ce7a4da8
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.9.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+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
+
+   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 -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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2022-10-09 Thread Hans de Graaff
commit: 2fbbc02be11c74f966195396fa82b7aacd9abf2f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Oct  9 06:54:08 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct  9 07:22:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fbbc02b

www-apps/nanoc-cli: drop 4.12.2, 4.12.3, 4.12.5

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest|  3 --
 www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild | 70 --
 www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild | 70 --
 www-apps/nanoc-cli/nanoc-cli-4.12.5.ebuild | 70 --
 4 files changed, 213 deletions(-)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index 458d74829a9c..cb82a95d32dc 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,5 +1,2 @@
-DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
-DIST nanoc-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
-DIST nanoc-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2
 DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild
deleted file mode 100644
index 379b069bdc23..
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby26 ruby27"
-
-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"
-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

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2022-10-09 Thread Hans de Graaff
commit: d15e9722028ca250bf558c7f74ad07726b148e4d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Oct  9 07:09:42 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct  9 07:22:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d15e9722

www-apps/nanoc-cli: add 4.12.9

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest|  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.9.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index cb82a95d32dc..38e20ed62aa4 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140
+DIST nanoc-4.12.9.tar.gz 336948 BLAKE2B 
1ca70bf9028e8ef45df4979968bbc85933a8a51a66f8283376c1e95eac72e76fc55e4a7132b11f6d38155464fc23f27c2e456fd0cd3f618a30aa1eebc8d43887
 SHA512 
1e562c05057423fdf40b1d170238ea8ec4ac899c642aee693c450cc75969e595d80e34d619bd40ad9688306a698dbe244009d078a89f1cf5fa8b4158f21a25bb

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.9.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.9.ebuild
new file mode 100644
index ..3d298add06f1
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.9.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2022-10-09 Thread Hans de Graaff
commit: e0dd3ce4ba54d1833909a859d88a6ac301f8778f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Oct  9 06:53:26 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct  9 07:22:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0dd3ce4

www-apps/nanoc: drop 4.12.2, 4.12.3, 4.12.5

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest|  3 --
 www-apps/nanoc/nanoc-4.12.2.ebuild | 96 --
 www-apps/nanoc/nanoc-4.12.3.ebuild | 95 -
 www-apps/nanoc/nanoc-4.12.5.ebuild | 95 -
 4 files changed, 289 deletions(-)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 458d74829a9c..cb82a95d32dc 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,5 +1,2 @@
-DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
-DIST nanoc-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
-DIST nanoc-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2
 DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140

diff --git a/www-apps/nanoc/nanoc-4.12.2.ebuild 
b/www-apps/nanoc/nanoc-4.12.2.ebuild
deleted file mode 100644
index e7a63b661450..
--- a/www-apps/nanoc/nanoc-4.12.2.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby26 ruby27"
-
-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
-   ~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/,/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 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 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2022-10-09 Thread Hans de Graaff
commit: 52e67a2d4feb139dccde60afaafb281b577c7bb4
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Oct  9 06:53:47 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct  9 07:22:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e67a2d

www-apps/nanoc-core: drop 4.12.2, 4.12.3, 4.12.5

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest |  3 --
 www-apps/nanoc-core/nanoc-core-4.12.2.ebuild | 75 
 www-apps/nanoc-core/nanoc-core-4.12.3.ebuild | 75 
 www-apps/nanoc-core/nanoc-core-4.12.5.ebuild | 75 
 4 files changed, 228 deletions(-)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 99af40b67819..cf5166985264 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,5 +1,2 @@
-DIST nanoc-core-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
-DIST nanoc-core-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
-DIST nanoc-core-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2
 DIST nanoc-core-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
 DIST nanoc-core-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild
deleted file mode 100644
index 773ad79ce918..
--- a/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby26 ruby27"
-
-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"
-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/ddmemoize:1
-   dev-ruby/ddmetrics:1
-   dev-ruby/ddplugin:1
-   =dev-ruby/hamster-3*
-   >=dev-ruby/json_schema-0.19: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}/${P}-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 -i -e '/coverall/I s:^:#:' \
-   -e '/rubocop/ s:^:#:' Rakefile || die
-   sed -i -e '1i 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
-
-   # 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 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-spec/

2022-08-22 Thread Sam James
commit: 28efe79713c6c0d8a7ce9ac4a48a1452c955b2e7
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Jul 25 17:37:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 23 05:32:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28efe797

www-apps/nanoc-spec: update HOMEPAGE, add remote-id

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.11
Closes: https://github.com/gentoo/gentoo/pull/26593
Signed-off-by: Sam James  gentoo.org>

 www-apps/nanoc-spec/metadata.xml| 3 +++
 www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/www-apps/nanoc-spec/metadata.xml b/www-apps/nanoc-spec/metadata.xml
index 83c7c76138df..22405e20a48d 100644
--- a/www-apps/nanoc-spec/metadata.xml
+++ b/www-apps/nanoc-spec/metadata.xml
@@ -6,4 +6,7 @@
 r...@gentoo.org
 Gentoo Ruby Project
 
+   
+   nanoc/nanoc
+   
 

diff --git a/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild 
b/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
index 1644eabc99b8..20cf03408146 100644
--- a/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
+++ b/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
@@ -11,7 +11,7 @@ RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
 inherit ruby-fakegem
 
 DESCRIPTION="Provides Nanoc::Spec, containing functionality for writing tests 
for Nanoc"
-HOMEPAGE="https://nanoc.ws/;
+HOMEPAGE="https://nanoc.app/;
 LICENSE="MIT"
 
 KEYWORDS="~amd64 ~riscv"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2022-08-22 Thread Sam James
commit: c28030558490d9b0de651148c5a19159630373a4
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Jul 25 17:34:20 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 23 05:32:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2803055

www-apps/nanoc-cli: update HOMEPAGE, add remote-id

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.11
Signed-off-by: Sam James  gentoo.org>

 www-apps/nanoc-cli/metadata.xml| 3 +++
 www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild | 4 ++--
 www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild | 2 +-
 www-apps/nanoc-cli/nanoc-cli-4.12.5.ebuild | 2 +-
 www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild | 2 +-
 www-apps/nanoc-cli/nanoc-cli-4.12.7.ebuild | 2 +-
 6 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/www-apps/nanoc-cli/metadata.xml b/www-apps/nanoc-cli/metadata.xml
index 83c7c76138df..22405e20a48d 100644
--- a/www-apps/nanoc-cli/metadata.xml
+++ b/www-apps/nanoc-cli/metadata.xml
@@ -6,4 +6,7 @@
 r...@gentoo.org
 Gentoo Ruby Project
 
+   
+   nanoc/nanoc
+   
 

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild
index 77ad8311c5fe..379b069bdc23 100644
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> 
nanoc-${PV}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild
index e3d36dce2df6..d33b341c1a50 100644
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> 
nanoc-${PV}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.5.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.5.ebuild
index e3d36dce2df6..d33b341c1a50 100644
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.5.ebuild
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.5.ebuild
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> 
nanoc-${PV}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild
index 878387af78c7..89dc046b14ec 100644
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> 
nanoc-${PV}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.7.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.7.ebuild
index 60b0b6fc39b2..3d298add06f1 100644
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.7.ebuild
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.7.ebuild
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> 
nanoc-${PV}.tar.gz"
 LICENSE="MIT"
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-deploying/

2022-08-22 Thread Sam James
commit: ede1db7d8354b6417e37af7f09009474f5c0357d
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Jul 25 17:35:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 23 05:32:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ede1db7d

www-apps/nanoc-deploying: update HOMEPAGE, add remote-id

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.11
Signed-off-by: Sam James  gentoo.org>

 www-apps/nanoc-deploying/metadata.xml | 3 +++
 www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild | 2 +-
 www-apps/nanoc-deploying/nanoc-deploying-1.0.2.ebuild | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/www-apps/nanoc-deploying/metadata.xml 
b/www-apps/nanoc-deploying/metadata.xml
index 83c7c76138df..22405e20a48d 100644
--- a/www-apps/nanoc-deploying/metadata.xml
+++ b/www-apps/nanoc-deploying/metadata.xml
@@ -6,4 +6,7 @@
 r...@gentoo.org
 Gentoo Ruby Project
 
+   
+   nanoc/nanoc
+   
 

diff --git a/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild 
b/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild
index 0462e9059adb..55b1d6fea075 100644
--- a/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild
+++ b/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild
@@ -13,7 +13,7 @@ RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
 inherit ruby-fakegem
 
 DESCRIPTION="Provides deploying functionality for Nanoc"
-HOMEPAGE="https://nanoc.ws/;
+HOMEPAGE="https://nanoc.app/;
 LICENSE="MIT"
 
 KEYWORDS="~amd64 ~riscv"

diff --git a/www-apps/nanoc-deploying/nanoc-deploying-1.0.2.ebuild 
b/www-apps/nanoc-deploying/nanoc-deploying-1.0.2.ebuild
index ac61113398df..3b8ea8b5e623 100644
--- a/www-apps/nanoc-deploying/nanoc-deploying-1.0.2.ebuild
+++ b/www-apps/nanoc-deploying/nanoc-deploying-1.0.2.ebuild
@@ -13,7 +13,7 @@ RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
 inherit ruby-fakegem
 
 DESCRIPTION="Provides deploying functionality for Nanoc"
-HOMEPAGE="https://nanoc.ws/;
+HOMEPAGE="https://nanoc.app/;
 LICENSE="MIT"
 
 KEYWORDS="~amd64 ~riscv"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2022-08-22 Thread Sam James
commit: ac91a26c8021ce1abbe21379a6603b7be3a7ba59
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Jul 25 17:35:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 23 05:32:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac91a26c

www-apps/nanoc-core: update HOMEPAGE, add remote-id

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.11
Signed-off-by: Sam James  gentoo.org>

 www-apps/nanoc-core/metadata.xml | 3 +++
 www-apps/nanoc-core/nanoc-core-4.12.2.ebuild | 4 ++--
 www-apps/nanoc-core/nanoc-core-4.12.3.ebuild | 2 +-
 www-apps/nanoc-core/nanoc-core-4.12.5.ebuild | 2 +-
 www-apps/nanoc-core/nanoc-core-4.12.6.ebuild | 2 +-
 www-apps/nanoc-core/nanoc-core-4.12.7.ebuild | 2 +-
 6 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/www-apps/nanoc-core/metadata.xml b/www-apps/nanoc-core/metadata.xml
index 83c7c76138df..22405e20a48d 100644
--- a/www-apps/nanoc-core/metadata.xml
+++ b/www-apps/nanoc-core/metadata.xml
@@ -6,4 +6,7 @@
 r...@gentoo.org
 Gentoo Ruby Project
 
+   
+   nanoc/nanoc
+   
 

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild
index a20f4d762fa3..773ad79ce918 100644
--- a/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild
+++ b/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.3.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.3.ebuild
index 80ec88500e6d..52c7d50251d8 100644
--- a/www-apps/nanoc-core/nanoc-core-4.12.3.ebuild
+++ b/www-apps/nanoc-core/nanoc-core-4.12.3.ebuild
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.5.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.5.ebuild
index 516b261eb552..b95379ab088c 100644
--- a/www-apps/nanoc-core/nanoc-core-4.12.5.ebuild
+++ b/www-apps/nanoc-core/nanoc-core-4.12.5.ebuild
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild
index 8ae89b598904..94306b1e7cfc 100644
--- a/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild
+++ b/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.7.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.7.ebuild
index f3f122387474..0100d716bb87 100644
--- a/www-apps/nanoc-core/nanoc-core-4.12.7.ebuild
+++ b/www-apps/nanoc-core/nanoc-core-4.12.7.ebuild
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2022-08-22 Thread Sam James
commit: 9195cff83963066e2dd873a32e24832b335db85d
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Jul 25 17:36:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 23 05:32:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9195cff8

www-apps/nanoc: update HOMEPAGE, add remote-id

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.11
Signed-off-by: Sam James  gentoo.org>

 www-apps/nanoc/metadata.xml| 3 +++
 www-apps/nanoc/nanoc-4.12.2.ebuild | 4 ++--
 www-apps/nanoc/nanoc-4.12.3.ebuild | 4 ++--
 www-apps/nanoc/nanoc-4.12.5.ebuild | 2 +-
 www-apps/nanoc/nanoc-4.12.6.ebuild | 2 +-
 www-apps/nanoc/nanoc-4.12.7.ebuild | 2 +-
 6 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/www-apps/nanoc/metadata.xml b/www-apps/nanoc/metadata.xml
index 83c7c76138df..22405e20a48d 100644
--- a/www-apps/nanoc/metadata.xml
+++ b/www-apps/nanoc/metadata.xml
@@ -6,4 +6,7 @@
 r...@gentoo.org
 Gentoo Ruby Project
 
+   
+   nanoc/nanoc
+   
 

diff --git a/www-apps/nanoc/nanoc-4.12.2.ebuild 
b/www-apps/nanoc/nanoc-4.12.2.ebuild
index dc3d92d1356c..e7a63b661450 100644
--- a/www-apps/nanoc/nanoc-4.12.2.ebuild
+++ b/www-apps/nanoc/nanoc-4.12.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc/nanoc-4.12.3.ebuild 
b/www-apps/nanoc/nanoc-4.12.3.ebuild
index bdae0db727f9..83061c10b1d7 100644
--- a/www-apps/nanoc/nanoc-4.12.3.ebuild
+++ b/www-apps/nanoc/nanoc-4.12.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc/nanoc-4.12.5.ebuild 
b/www-apps/nanoc/nanoc-4.12.5.ebuild
index ea8e757d951a..4b5b89e2b6f2 100644
--- a/www-apps/nanoc/nanoc-4.12.5.ebuild
+++ b/www-apps/nanoc/nanoc-4.12.5.ebuild
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc/nanoc-4.12.6.ebuild 
b/www-apps/nanoc/nanoc-4.12.6.ebuild
index 0e4fee9a9436..5dd599378dc6 100644
--- a/www-apps/nanoc/nanoc-4.12.6.ebuild
+++ b/www-apps/nanoc/nanoc-4.12.6.ebuild
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 

diff --git a/www-apps/nanoc/nanoc-4.12.7.ebuild 
b/www-apps/nanoc/nanoc-4.12.7.ebuild
index 32ef4db37598..67f06c57a402 100644
--- a/www-apps/nanoc/nanoc-4.12.7.ebuild
+++ b/www-apps/nanoc/nanoc-4.12.7.ebuild
@@ -11,7 +11,7 @@ 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.ws/;
+HOMEPAGE="https://nanoc.app/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2022-08-22 Thread Sam James
commit: 8fc2687d374ae4853ec0d648ad2adfff9e27242f
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Jul 25 17:33:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 23 05:32:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc2687d

www-apps/nanoc-checking: update HOMEPAGE, add remote-id

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.11
Signed-off-by: Sam James  gentoo.org>

 www-apps/nanoc-checking/metadata.xml| 3 +++
 www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild | 2 +-
 www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/www-apps/nanoc-checking/metadata.xml 
b/www-apps/nanoc-checking/metadata.xml
index 83c7c76138df..22405e20a48d 100644
--- a/www-apps/nanoc-checking/metadata.xml
+++ b/www-apps/nanoc-checking/metadata.xml
@@ -6,4 +6,7 @@
 r...@gentoo.org
 Gentoo Ruby Project
 
+   
+   nanoc/nanoc
+   
 

diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild 
b/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild
index 1f81a1276481..646382c44aa8 100644
--- a/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild
+++ b/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild
@@ -13,7 +13,7 @@ RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
 inherit ruby-fakegem
 
 DESCRIPTION="Provides checking functionality for Nanoc"
-HOMEPAGE="https://nanoc.ws/;
+HOMEPAGE="https://nanoc.app/;
 LICENSE="MIT"
 
 KEYWORDS="~amd64 ~riscv"

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 125b020adb9f..8128dda38151 100644
--- a/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild
+++ b/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild
@@ -13,7 +13,7 @@ RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
 inherit ruby-fakegem
 
 DESCRIPTION="Provides checking functionality for Nanoc"
-HOMEPAGE="https://nanoc.ws/;
+HOMEPAGE="https://nanoc.app/;
 LICENSE="MIT"
 
 KEYWORDS="~amd64 ~riscv"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2022-07-10 Thread Hans de Graaff
commit: d330ca7d7af32507313d138de8d626fb02de9ae5
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 10 06:29:32 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 10 06:33:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d330ca7d

www-apps/nanoc: add 4.12.7

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest|  1 +
 www-apps/nanoc/nanoc-4.12.7.ebuild | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 1173c06c834e..458d74829a9c 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -2,3 +2,4 @@ DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c
 DIST nanoc-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
 DIST nanoc-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2
 DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
+DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140

diff --git a/www-apps/nanoc/nanoc-4.12.7.ebuild 
b/www-apps/nanoc/nanoc-4.12.7.ebuild
new file mode 100644
index ..32ef4db37598
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.7.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+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.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/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
+
+   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 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 '/watches with --watch/askip "gentoo"' 
spec/nanoc/cli/commands/compile_spec.rb || die
+   sed 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2022-07-10 Thread Hans de Graaff
commit: fdf1740159230437869916c1e81a8c0a8a281059
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 10 06:29:20 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 10 06:33:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdf17401

www-apps/nanoc-core: add 4.12.7

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.7.ebuild | 76 
 2 files changed, 77 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 3fbe9356da1e..99af40b67819 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -2,3 +2,4 @@ DIST nanoc-core-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19
 DIST nanoc-core-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
 DIST nanoc-core-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2
 DIST nanoc-core-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
+DIST nanoc-core-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.7.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.7.ebuild
new file mode 100644
index ..f3f122387474
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.7.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+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.ws/;
+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/hamster-3*
+   >=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 -i -e '/coverall/I s:^:#:' \
+   -e '/rubocop/ s:^:#:' Rakefile || die
+   sed -i -e '1i 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
+
+   # 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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2022-07-10 Thread Hans de Graaff
commit: a94290a8385e6da2b6b7c654176c699815b0cc23
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 10 06:29:11 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 10 06:33:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a94290a8

www-apps/nanoc-cli: add 4.12.7

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest|  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.7.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index 1173c06c834e..458d74829a9c 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -2,3 +2,4 @@ DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c
 DIST nanoc-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
 DIST nanoc-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2
 DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070
+DIST nanoc-4.12.7.tar.gz 333669 BLAKE2B 
cd222df8f68b2ead8bfb324079b2e46ca76bc427d50e97ffbcebffbd79135d6f4349a1e6922f0cb37f49b1c306ac3eb4f34f2b2c3569768b95041e8129f4e9a8
 SHA512 
1f5b2595f2d95b291bad30a40e8753d83c9bfa8468c6b119d0c213a385f4568fa87af5a69ea1d3487dc3331ba71ecf956dabd84b79a9e8cc01b569efc3b57140

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.7.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.7.ebuild
new file mode 100644
index ..60b0b6fc39b2
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.7.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+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.ws/;
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2022-06-18 Thread Hans de Graaff
commit: 758f8b80b8fcd76ef0ed493c2deaeb9c3bf39f17
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jun 18 06:45:17 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jun 18 08:40:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=758f8b80

www-apps/nanoc: drop 4.11.12

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest |  1 -
 www-apps/nanoc/nanoc-4.11.12.ebuild | 98 -
 2 files changed, 99 deletions(-)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 5f1b221bac22..1173c06c834e 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,4 +1,3 @@
-DIST nanoc-4.11.12.tar.gz 310160 BLAKE2B 
ef34bf6d28d5a9287053a939ef14bc59f99bde003d7bbcd7eee861ab882a6beaa48812137c8ad87fe464d27e371cfd40022467f8d10ac5f85ff16ef19215e340
 SHA512 
0503d0a6a0cf1ca9a9c57b831f320abb5102a3e7aa82c016d1f72c4d9f614ef53a0e4df30d50e05a98107fecacae4d70dfa5ee5c15910d575bc30df411430863
 DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
 DIST nanoc-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
 DIST nanoc-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2

diff --git a/www-apps/nanoc/nanoc-4.11.12.ebuild 
b/www-apps/nanoc/nanoc-4.11.12.ebuild
deleted file mode 100644
index de28a28b1206..
--- a/www-apps/nanoc/nanoc-4.11.12.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby24 ruby25 ruby26"
-
-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.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/colored-1.2:0
-   >=dev-ruby/cri-2.15:0
-   ~www-apps/nanoc-core-${PV}
-   >=dev-ruby/parallel-1.12:1
-   >=dev-ruby/tomlrb-1.2:1
-   >=dev-ruby/tty-command-0.8:0
-   >=dev-ruby/tty-file-0.7:0
-   >=dev-ruby/tty-platform-0.2: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/,/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 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/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 '/watches with --watch/askip 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2022-06-18 Thread Hans de Graaff
commit: 9470ec8202dc02ad19caefe829efae9ed09553c8
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jun 18 06:45:50 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jun 18 08:40:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9470ec82

www-apps/nanoc-core: drop 4.11.12

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest  |  1 -
 www-apps/nanoc-core/nanoc-core-4.11.12.ebuild | 65 ---
 2 files changed, 66 deletions(-)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index fc89458935f2..3fbe9356da1e 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,4 +1,3 @@
-DIST nanoc-core-4.11.12.tar.gz 310160 BLAKE2B 
ef34bf6d28d5a9287053a939ef14bc59f99bde003d7bbcd7eee861ab882a6beaa48812137c8ad87fe464d27e371cfd40022467f8d10ac5f85ff16ef19215e340
 SHA512 
0503d0a6a0cf1ca9a9c57b831f320abb5102a3e7aa82c016d1f72c4d9f614ef53a0e4df30d50e05a98107fecacae4d70dfa5ee5c15910d575bc30df411430863
 DIST nanoc-core-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
 DIST nanoc-core-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
 DIST nanoc-core-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2

diff --git a/www-apps/nanoc-core/nanoc-core-4.11.12.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.11.12.ebuild
deleted file mode 100644
index ccc331cdd62d..
--- a/www-apps/nanoc-core/nanoc-core-4.11.12.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby24 ruby25 ruby26"
-
-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.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="nanoc-${PV}/nanoc-core"
-
-ruby_add_rdepend "
-   dev-ruby/ddmemoize:1
-   dev-ruby/ddmetrics:1
-   dev-ruby/ddplugin:1
-   =dev-ruby/hamster-3*
-   >=dev-ruby/json_schema-0.19:0
-   dev-ruby/slow_enumerator_tools:1
-   >=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/yard
-)
-"
-
-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 '1i 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
-
-   # Use useable tmp dir
-   sed -i -e 's:/tmp/whatever:'${T}'/whatever:' 
spec/nanoc/core/checksummer_spec.rb || die
-}
-
-each_ruby_test() {
-   RUBYLIB="${S}/lib" ${RUBY} -S rake spec || die
-}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2022-05-28 Thread Hans de Graaff
commit: ab8b861bc4b41c389b8d64c5a8d16c99880c88d9
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun May 29 05:32:16 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun May 29 05:50:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab8b861b

www-apps/nanoc-core: add 4.12.6

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.6.ebuild | 75 
 2 files changed, 76 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 87eb192ead53..fc89458935f2 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -2,3 +2,4 @@ DIST nanoc-core-4.11.12.tar.gz 310160 BLAKE2B 
ef34bf6d28d5a9287053a939ef14bc59f9
 DIST nanoc-core-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
 DIST nanoc-core-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
 DIST nanoc-core-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2
+DIST nanoc-core-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild
new file mode 100644
index ..8ae89b598904
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.6.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+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.ws/;
+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/hamster-3*
+   >=dev-ruby/json_schema-0.19:0
+   >=dev-ruby/memo_wise-1.5:1
+   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 -i -e '/coverall/I s:^:#:' \
+   -e '/rubocop/ s:^:#:' Rakefile || die
+   sed -i -e '1i 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
+
+   # 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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-spec/

2022-05-28 Thread Hans de Graaff
commit: 0117a528f14cc90f8c624bdc3f4746a47f5a3a10
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun May 29 05:32:27 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun May 29 05:50:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0117a528

www-apps/nanoc-spec: enable ruby30

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild 
b/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
index de408edaee8e..1644eabc99b8 100644
--- a/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
+++ b/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-USE_RUBY="ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30"
 
 RUBY_FAKEGEM_RECIPE_TEST="none"
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2022-05-28 Thread Hans de Graaff
commit: fbbc80d8d0bd6549e2861f4781964df1ae0c6696
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun May 29 05:41:52 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun May 29 05:50:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbbc80d8

www-apps/nanoc-cli: add 4.12.6

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest|  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index 26488e478d87..1173c06c834e 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,3 +1,4 @@
 DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
 DIST nanoc-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
 DIST nanoc-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2
+DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild
new file mode 100644
index ..878387af78c7
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.6.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+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.ws/;
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-deploying/

2022-05-28 Thread Hans de Graaff
commit: 0f95b8901a0e8b4459a06928471c32437e0f8f3f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun May 29 05:38:45 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun May 29 05:50:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f95b890

www-apps/nanoc-deploying: add 1.0.2

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-deploying/Manifest  |  1 +
 .../nanoc-deploying/nanoc-deploying-1.0.2.ebuild   | 27 ++
 2 files changed, 28 insertions(+)

diff --git a/www-apps/nanoc-deploying/Manifest 
b/www-apps/nanoc-deploying/Manifest
index 0153f88d029c..15e2873fc3af 100644
--- a/www-apps/nanoc-deploying/Manifest
+++ b/www-apps/nanoc-deploying/Manifest
@@ -1 +1,2 @@
 DIST nanoc-deploying-1.0.1.gem 9728 BLAKE2B 
d646f56eada30fc5059069627f6b07fc6620cc952605086100e954aa9b79e7f696ecfe87ad85f1951fca1de75482943af869a28f6f4465fffc3497af9db36b7f
 SHA512 
78e4247021b9e0ba717cf4b41bb913bbbafd7e0b149d16e681d7312f60cd0d2277de5e957f938c3194a521036da21b38696fe4ced5cd0b14cdce01aee207a744
+DIST nanoc-deploying-1.0.2.gem 9728 BLAKE2B 
6f06a33c08105e59a928277efccf48371d0c93f0cb4427951431462afc4b9d88c677ac17a2627f7511a7675a7b350c2887f62b88112c2d10e1e203a44252a387
 SHA512 
2ef340742926584ef5112d5c281ac469520d6fd30d60bfcf502ac993256020f85de03d957d61bff0613d3e8d9bda22256cc565feffe80411e3f024c5d8a74b2c

diff --git a/www-apps/nanoc-deploying/nanoc-deploying-1.0.2.ebuild 
b/www-apps/nanoc-deploying/nanoc-deploying-1.0.2.ebuild
new file mode 100644
index ..ac61113398df
--- /dev/null
+++ b/www-apps/nanoc-deploying/nanoc-deploying-1.0.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby26 ruby27 ruby30"
+
+# 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.ws/;
+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
+"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2022-05-28 Thread Hans de Graaff
commit: e07ba8fcce5165d46113dbe6d2eae48b9ec74019
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun May 29 05:50:12 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun May 29 05:50:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e07ba8fc

www-apps/nanoc: add 4.12.6

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest|  1 +
 www-apps/nanoc/nanoc-4.12.6.ebuild | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 4c6c3ce0ea82..5f1b221bac22 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -2,3 +2,4 @@ DIST nanoc-4.11.12.tar.gz 310160 BLAKE2B 
ef34bf6d28d5a9287053a939ef14bc59f99bde0
 DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
 DIST nanoc-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
 DIST nanoc-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2
+DIST nanoc-4.12.6.tar.gz 333932 BLAKE2B 
f5ff12ddd583c4a672c34a63b7f325a3ef6c18713f4e351482eb3c2a3dd5999b67ee0e1b7e8ab85899591824d8c47f19f3aa074790ae15f4616d589f762f2bb8
 SHA512 
343ec620d96ca086612c4babcadf33c4edcc39a02082f762568feaf226566c6d9b5441f53355ea03544b285e9a5ddc32aae0e67cc321b28336665d453f47b070

diff --git a/www-apps/nanoc/nanoc-4.12.6.ebuild 
b/www-apps/nanoc/nanoc-4.12.6.ebuild
new file mode 100644
index ..0e4fee9a9436
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.6.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+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.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/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
+
+   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 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 '/watches with --watch/askip "gentoo"' 
spec/nanoc/cli/commands/compile_spec.rb || die
+ 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2022-05-28 Thread Hans de Graaff
commit: 45f54e1c1f9bf67a2360cb1e0b63c408edd74c77
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun May 29 05:38:22 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun May 29 05:50:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45f54e1c

www-apps/nanoc-checking: enable ruby30

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 b82ea09aba08..125b020adb9f 100644
--- a/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild
+++ b/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30"
 
 # Upstream has specs but they are not available in the gem and the
 # repository upstream is not tagged for this.



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2022-04-09 Thread Hans de Graaff
commit: 8d0d8114ecd71b2f55821fb111b0f703a70186df
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Apr 10 05:05:03 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Apr 10 05:05:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d0d8114

www-apps/nanoc-core: add 4.12.5

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.5.ebuild | 75 
 2 files changed, 76 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index bb3dd26cb0bf..87eb192ead53 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,3 +1,4 @@
 DIST nanoc-core-4.11.12.tar.gz 310160 BLAKE2B 
ef34bf6d28d5a9287053a939ef14bc59f99bde003d7bbcd7eee861ab882a6beaa48812137c8ad87fe464d27e371cfd40022467f8d10ac5f85ff16ef19215e340
 SHA512 
0503d0a6a0cf1ca9a9c57b831f320abb5102a3e7aa82c016d1f72c4d9f614ef53a0e4df30d50e05a98107fecacae4d70dfa5ee5c15910d575bc30df411430863
 DIST nanoc-core-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
 DIST nanoc-core-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
+DIST nanoc-core-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.5.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.5.ebuild
new file mode 100644
index ..516b261eb552
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.5.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+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.ws/;
+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/hamster-3*
+   >=dev-ruby/json_schema-0.19:0
+   >=dev-ruby/memo_wise-1.5:1
+   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 -i -e '/coverall/I s:^:#:' \
+   -e '/rubocop/ s:^:#:' Rakefile || die
+   sed -i -e '1i 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
+
+   # 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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2022-04-09 Thread Hans de Graaff
commit: 82adfa8cccfef830139eb849d89016861c1b995e
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Apr 10 05:05:42 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Apr 10 05:05:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82adfa8c

www-apps/nanoc-cli: add 4.12.5

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest|  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.5.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index b5e12cc29c24..26488e478d87 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
 DIST nanoc-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
+DIST nanoc-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.5.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.5.ebuild
new file mode 100644
index ..e3d36dce2df6
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.5.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+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.ws/;
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2022-04-09 Thread Hans de Graaff
commit: d183511f1002a1a261596d7975c15dfeee4c5f4a
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Apr 10 05:05:55 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Apr 10 05:05:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d183511f

www-apps/nanoc-checking: add 1.0.2

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-checking/Manifest   |  1 +
 .../nanoc-checking/nanoc-checking-1.0.2.ebuild | 26 ++
 2 files changed, 27 insertions(+)

diff --git a/www-apps/nanoc-checking/Manifest b/www-apps/nanoc-checking/Manifest
index 07510f3a4d65..ea5f10589960 100644
--- a/www-apps/nanoc-checking/Manifest
+++ b/www-apps/nanoc-checking/Manifest
@@ -1 +1,2 @@
 DIST nanoc-checking-1.0.1.gem 10752 BLAKE2B 
6f6f10cf97ab17cc328d827ab19490fa6e9d6f744594c167b4d9bf050c1288a7d5657d290402efbfa8d61d8e81550feae5022720464814e27af06d5025dfde96
 SHA512 
ef2b5a9c044f9bef19e4c75cc9ee99747a2ff0f8bece23c56d763f59c622488ccd980a19a3563207948fdb0d9edb91e86703778f7233bc0de76adf385c5694b0
+DIST nanoc-checking-1.0.2.gem 11264 BLAKE2B 
5ac338624bd85decb52ad4d59cff466ba849bd03c4b27534db34528db3fa768c1c198461bd35614203f352426105ea541c3dd0da2dff27a8430aa600a756f1fc
 SHA512 
29fcd816f908bd7fdc2895e549d4cd0834ac53f8fc1bf8a9cf12e385cc9a1cabcca87178014beffe6b1b9f63b68d4bfe89096234ec72d3abc37dc8cc906eff24

diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild 
b/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild
new file mode 100644
index ..b82ea09aba08
--- /dev/null
+++ b/www-apps/nanoc-checking/nanoc-checking-1.0.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+# 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 checking functionality for Nanoc"
+HOMEPAGE="https://nanoc.ws/;
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~riscv"
+SLOT="$(ver_cut 1)"
+IUSE=""
+
+ruby_add_rdepend "
+   >=www-apps/nanoc-cli-4.12.4:0
+   >=www-apps/nanoc-core-4.12.4:0
+"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2022-04-09 Thread Hans de Graaff
commit: d2653e1c44ad29bbc1bc654d77ed6b960fd1dea2
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Apr 10 05:06:07 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Apr 10 05:06:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2653e1c

www-apps/nanoc: add 4.12.5

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest|  1 +
 www-apps/nanoc/nanoc-4.12.5.ebuild | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index ea1441704bbc..4c6c3ce0ea82 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,3 +1,4 @@
 DIST nanoc-4.11.12.tar.gz 310160 BLAKE2B 
ef34bf6d28d5a9287053a939ef14bc59f99bde003d7bbcd7eee861ab882a6beaa48812137c8ad87fe464d27e371cfd40022467f8d10ac5f85ff16ef19215e340
 SHA512 
0503d0a6a0cf1ca9a9c57b831f320abb5102a3e7aa82c016d1f72c4d9f614ef53a0e4df30d50e05a98107fecacae4d70dfa5ee5c15910d575bc30df411430863
 DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
 DIST nanoc-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2
+DIST nanoc-4.12.5.tar.gz 12 BLAKE2B 
bdc50ba2868313f7b427a8292c8614230e9dcf472c5290e8fff39917cd5cedad217acbc36ef8524254c9839d965d824a98c99f9effa1e8cfb549e387d69f1032
 SHA512 
2e533076f62605a701275fd7813b6dbe09c2530ad38fb86db3a5d999bccd8f5ac93cf684ac882f00d81bbe1ec8cce69d45ecef1488efe3caf22f6a6ffca300e2

diff --git a/www-apps/nanoc/nanoc-4.12.5.ebuild 
b/www-apps/nanoc/nanoc-4.12.5.ebuild
new file mode 100644
index ..ea8e757d951a
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.5.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+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.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/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:^:#:' ../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 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 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 '/watches with --watch/askip "gentoo"' 
spec/nanoc/cli/commands/compile_spec.rb || die
+   sed -i -e '124askip "ordering issues"' -e '168askip "ordering issues"' 

[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-spec/

2022-03-18 Thread Jakov Smolić
commit: deef4ce90e130e6bd6033571c521977a7dd738ac
Author: Yongxiang Liang  gmail  com>
AuthorDate: Tue Mar 15 13:36:05 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Mar 18 06:48:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deef4ce9

www-apps/nanoc-spec: keyword 0.0.2 for ~riscv

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Jakov Smolić  gentoo.org>

 www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild 
b/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
index 1c524f55b21e..de408edaee8e 100644
--- a/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
+++ b/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ DESCRIPTION="Provides Nanoc::Spec, containing functionality 
for writing tests fo
 HOMEPAGE="https://nanoc.ws/;
 LICENSE="MIT"
 
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 SLOT="0"
 IUSE="${IUSE} minimal"
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-deploying/

2022-03-18 Thread Jakov Smolić
commit: 84c921efb0a3b4a01c946e81caa527a6d76909f2
Author: Yongxiang Liang  gmail  com>
AuthorDate: Tue Mar 15 13:13:07 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Mar 18 06:48:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84c921ef

www-apps/nanoc-deploying: keyword 1.0.1 for ~riscv

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Jakov Smolić  gentoo.org>

 www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild 
b/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild
index 2cb1647c2ef6..0462e9059adb 100644
--- a/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild
+++ b/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ DESCRIPTION="Provides deploying functionality for Nanoc"
 HOMEPAGE="https://nanoc.ws/;
 LICENSE="MIT"
 
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 SLOT="$(ver_cut 1)"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2022-03-18 Thread Jakov Smolić
commit: 85287e8a429411f6f72ead2cddeb36d285540f93
Author: Yongxiang Liang  gmail  com>
AuthorDate: Tue Mar 15 13:12:08 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Mar 18 06:48:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85287e8a

www-apps/nanoc-checking: keyword 1.0.1 for ~riscv

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Jakov Smolić  gentoo.org>

 www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild 
b/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild
index 63b0d6c7e17d..1f81a1276481 100644
--- a/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild
+++ b/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ DESCRIPTION="Provides checking functionality for Nanoc"
 HOMEPAGE="https://nanoc.ws/;
 LICENSE="MIT"
 
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 SLOT="$(ver_cut 1)"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2022-03-18 Thread Jakov Smolić
commit: 087c31aef28eaa500cdc01aad57c94777f1defc4
Author: Yongxiang Liang  gmail  com>
AuthorDate: Tue Mar 15 13:12:15 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Mar 18 06:48:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087c31ae

www-apps/nanoc-core: keyword 4.12.3 for ~riscv

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Jakov Smolić  gentoo.org>

 www-apps/nanoc-core/nanoc-core-4.12.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.3.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.3.ebuild
index 02adf509a516..80ec88500e6d 100644
--- a/www-apps/nanoc-core/nanoc-core-4.12.3.ebuild
+++ b/www-apps/nanoc-core/nanoc-core-4.12.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ HOMEPAGE="https://nanoc.ws/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 SLOT="0"
 IUSE="${IUSE} minimal"
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2022-03-18 Thread Jakov Smolić
commit: fab27d6e20712b80a05d7b26208cdef1b7727ce4
Author: Yongxiang Liang  gmail  com>
AuthorDate: Tue Mar 15 13:11:43 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Mar 18 06:48:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab27d6e

www-apps/nanoc-cli: keyword 4.12.3 for ~riscv

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Jakov Smolić  gentoo.org>

 www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild
index ea81772ad9e4..e3d36dce2df6 100644
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ HOMEPAGE="https://nanoc.ws/;
 SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> 
nanoc-${PV}.tar.gz"
 LICENSE="MIT"
 
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 SLOT="0"
 IUSE="${IUSE} minimal"
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2021-11-14 Thread Hans de Graaff
commit: 937844a0841645994838bb9fd6301a84d0a24424
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Nov 14 08:08:37 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Nov 14 08:10:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=937844a0

www-apps/nanoc-core: add 4.12.3

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest |  1 +
 www-apps/nanoc-core/nanoc-core-4.12.3.ebuild | 75 
 2 files changed, 76 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 773ac6576894..bb3dd26cb0bf 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-core-4.11.12.tar.gz 310160 BLAKE2B 
ef34bf6d28d5a9287053a939ef14bc59f99bde003d7bbcd7eee861ab882a6beaa48812137c8ad87fe464d27e371cfd40022467f8d10ac5f85ff16ef19215e340
 SHA512 
0503d0a6a0cf1ca9a9c57b831f320abb5102a3e7aa82c016d1f72c4d9f614ef53a0e4df30d50e05a98107fecacae4d70dfa5ee5c15910d575bc30df411430863
 DIST nanoc-core-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
+DIST nanoc-core-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.3.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.3.ebuild
new file mode 100644
index ..02adf509a516
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+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.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="nanoc-${PV}/nanoc-core"
+
+ruby_add_rdepend "
+   >=dev-ruby/concurrent-ruby-1.1:1
+   dev-ruby/ddmemoize:1
+   dev-ruby/ddmetrics:1
+   dev-ruby/ddplugin:1
+   =dev-ruby/hamster-3*
+   >=dev-ruby/json_schema-0.19: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 -i -e '/coverall/I s:^:#:' \
+   -e '/rubocop/ s:^:#:' Rakefile || die
+   sed -i -e '1i 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
+
+   # 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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2021-11-14 Thread Hans de Graaff
commit: 398aa91dd2d30cbb75ab7e1930a4aeabee862285
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Nov 14 08:08:50 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Nov 14 08:10:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=398aa91d

www-apps/nanoc-cli: add 4.12.3

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest|  1 +
 www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
index bcde1a4ece75..b5e12cc29c24 100644
--- a/www-apps/nanoc-cli/Manifest
+++ b/www-apps/nanoc-cli/Manifest
@@ -1 +1,2 @@
 DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
+DIST nanoc-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild
new file mode 100644
index ..ea81772ad9e4
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+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.ws/;
+SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> 
nanoc-${PV}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2021-11-14 Thread Hans de Graaff
commit: 03a7d7e45972ca188bf9ff087d51756d8b069821
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Nov 14 08:09:02 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Nov 14 08:10:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a7d7e4

www-apps/nanoc: add 4.12.3

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest|  1 +
 www-apps/nanoc/nanoc-4.12.3.ebuild | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index dc7d1a24ffb8..ea1441704bbc 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1,2 +1,3 @@
 DIST nanoc-4.11.12.tar.gz 310160 BLAKE2B 
ef34bf6d28d5a9287053a939ef14bc59f99bde003d7bbcd7eee861ab882a6beaa48812137c8ad87fe464d27e371cfd40022467f8d10ac5f85ff16ef19215e340
 SHA512 
0503d0a6a0cf1ca9a9c57b831f320abb5102a3e7aa82c016d1f72c4d9f614ef53a0e4df30d50e05a98107fecacae4d70dfa5ee5c15910d575bc30df411430863
 DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750
+DIST nanoc-4.12.3.tar.gz 332692 BLAKE2B 
8ae106366c66500ed06be841382bc1cc52c68ebc7ebec47a3f9dab278c7e17f886d0ce18c81ff73a83ec672353503155b447dfff5ba46f16bc2bfe891bb028a5
 SHA512 
737ce993c529643440d74e5072e2d63c2ce970d4d7637e7f225a79d3ac38907ced84928340d7bf5f11bcd02188b5cb1df0d4b03a8e000878ed924ab943db33a2

diff --git a/www-apps/nanoc/nanoc-4.12.3.ebuild 
b/www-apps/nanoc/nanoc-4.12.3.ebuild
new file mode 100644
index ..bdae0db727f9
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.3.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+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.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/colored-1.2:0
+   www-apps/nanoc-checking: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:^:#:' ../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 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 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 '/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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2021-07-12 Thread Hans de Graaff
commit: 3e96309b181210d4de550df56f6b1eaaf165d91a
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Jul 12 06:51:43 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Jul 12 06:52:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e96309b

www-apps/nanoc-cli: add missing test dependency

Closes: https://bugs.gentoo.org/801544
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild
index b3d67fb6809..77ad8311c5f 100644
--- a/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild
@@ -35,6 +35,7 @@ ruby_add_bdepend "test? (
dev-ruby/fuubar
dev-ruby/minitest
dev-ruby/timecop
+   dev-ruby/tty-command
dev-ruby/yard
www-apps/nanoc-spec
 )



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/

2021-07-12 Thread Hans de Graaff
commit: 70eb3ba1e6fdd4fb69221968a37ef64290c01f7d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Jul 12 06:50:42 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Jul 12 06:52:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70eb3ba1

www-apps/nanoc-core: add missing test dependency

Closes: https://bugs.gentoo.org/801547
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/nanoc-core-4.12.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild
index cc5e34a4979..a20f4d762fa 100644
--- a/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild
+++ b/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild
@@ -42,6 +42,7 @@ ruby_add_bdepend "test? (
dev-ruby/fuubar
dev-ruby/minitest
dev-ruby/timecop
+   dev-ruby/tty-command
dev-ruby/yard
www-apps/nanoc-spec
 )



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc/

2021-07-11 Thread Hans de Graaff
commit: 7e7939af57af8b726fc4b624f2e5ff346ed4de1b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 11 07:10:27 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 11 07:10:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e7939af

www-apps/nanoc: add 4.12.2

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc/Manifest|  1 +
 www-apps/nanoc/nanoc-4.12.2.ebuild | 96 ++
 2 files changed, 97 insertions(+)

diff --git a/www-apps/nanoc/Manifest b/www-apps/nanoc/Manifest
index 14201d6656a..dc7d1a24ffb 100644
--- a/www-apps/nanoc/Manifest
+++ b/www-apps/nanoc/Manifest
@@ -1 +1,2 @@
 DIST nanoc-4.11.12.tar.gz 310160 BLAKE2B 
ef34bf6d28d5a9287053a939ef14bc59f99bde003d7bbcd7eee861ab882a6beaa48812137c8ad87fe464d27e371cfd40022467f8d10ac5f85ff16ef19215e340
 SHA512 
0503d0a6a0cf1ca9a9c57b831f320abb5102a3e7aa82c016d1f72c4d9f614ef53a0e4df30d50e05a98107fecacae4d70dfa5ee5c15910d575bc30df411430863
+DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750

diff --git a/www-apps/nanoc/nanoc-4.12.2.ebuild 
b/www-apps/nanoc/nanoc-4.12.2.ebuild
new file mode 100644
index 000..dc3d92d1356
--- /dev/null
+++ b/www-apps/nanoc/nanoc-4.12.2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby26 ruby27"
+
+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.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/colored-1.2:0
+   www-apps/nanoc-checking: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/,/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 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 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 '/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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-spec/

2021-07-11 Thread Hans de Graaff
commit: e3242b9a91414e2bb132a5d0482b0e9b4ab979e7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 11 06:14:35 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 11 07:10:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3242b9a

www-apps/nanoc-spec: initial import of 0.0.2

New test dependency for nanoc-core.

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-spec/Manifest|  1 +
 www-apps/nanoc-spec/metadata.xml|  9 +
 www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild | 23 +++
 3 files changed, 33 insertions(+)

diff --git a/www-apps/nanoc-spec/Manifest b/www-apps/nanoc-spec/Manifest
new file mode 100644
index 000..e6a04f47b7a
--- /dev/null
+++ b/www-apps/nanoc-spec/Manifest
@@ -0,0 +1 @@
+DIST nanoc-spec-0.0.2.gem 6656 BLAKE2B 
de90b2f63a15a7168d491cd33f8994a9ef8f7b13b23f6e32d50c2bdf8467a68e4205c24c9ca79efccc1a5076d2af25cf1a31c49c946e2ff0e7add9d5bcb99d1f
 SHA512 
78202adfcc1e9b414a1b2f8d85bf5a0ab3e52473cc490145d0b63f5c6cbd4c29c1c56b06b343ad6bd6ba2818f464abc7ece3c3a0ccd9c2dd38771110ef573d7c

diff --git a/www-apps/nanoc-spec/metadata.xml b/www-apps/nanoc-spec/metadata.xml
new file mode 100644
index 000..9abf9c6b8ec
--- /dev/null
+++ b/www-apps/nanoc-spec/metadata.xml
@@ -0,0 +1,9 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+gra...@gentoo.org
+
+r...@gentoo.org
+Gentoo Ruby Project
+
+

diff --git a/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild 
b/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
new file mode 100644
index 000..1c524f55b21
--- /dev/null
+++ b/www-apps/nanoc-spec/nanoc-spec-0.0.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby26 ruby27"
+
+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.ws/;
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="${IUSE} minimal"
+
+ruby_add_rdepend "
+   >=www-apps/nanoc-core-4.11.13:0
+"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-deploying/

2021-07-11 Thread Hans de Graaff
commit: 6aff9c1338e6a48c196601830ef598d0420464c6
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 11 07:08:49 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 11 07:10:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aff9c13

www-apps/nanoc-deploying: initial import of 1.0.1

New dependency for www-apps/nanoc

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-deploying/Manifest  |  1 +
 www-apps/nanoc-deploying/metadata.xml  |  9 
 .../nanoc-deploying/nanoc-deploying-1.0.1.ebuild   | 27 ++
 3 files changed, 37 insertions(+)

diff --git a/www-apps/nanoc-deploying/Manifest 
b/www-apps/nanoc-deploying/Manifest
new file mode 100644
index 000..0153f88d029
--- /dev/null
+++ b/www-apps/nanoc-deploying/Manifest
@@ -0,0 +1 @@
+DIST nanoc-deploying-1.0.1.gem 9728 BLAKE2B 
d646f56eada30fc5059069627f6b07fc6620cc952605086100e954aa9b79e7f696ecfe87ad85f1951fca1de75482943af869a28f6f4465fffc3497af9db36b7f
 SHA512 
78e4247021b9e0ba717cf4b41bb913bbbafd7e0b149d16e681d7312f60cd0d2277de5e957f938c3194a521036da21b38696fe4ced5cd0b14cdce01aee207a744

diff --git a/www-apps/nanoc-deploying/metadata.xml 
b/www-apps/nanoc-deploying/metadata.xml
new file mode 100644
index 000..9abf9c6b8ec
--- /dev/null
+++ b/www-apps/nanoc-deploying/metadata.xml
@@ -0,0 +1,9 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+gra...@gentoo.org
+
+r...@gentoo.org
+Gentoo Ruby Project
+
+

diff --git a/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild 
b/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild
new file mode 100644
index 000..2cb1647c2ef
--- /dev/null
+++ b/www-apps/nanoc-deploying/nanoc-deploying-1.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby26 ruby27"
+
+# 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.ws/;
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+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
+"



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/

2021-07-11 Thread Hans de Graaff
commit: 8acc0a75c0d4ac7217fe2ca407f61c5df84b2a3c
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 11 07:10:01 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 11 07:10:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8acc0a75

www-apps/nanoc-cli: initial import of 4.12.2

New split-off component of www-apps/nanoc

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-cli/Manifest|  1 +
 www-apps/nanoc-cli/metadata.xml|  9 
 www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild | 69 ++
 3 files changed, 79 insertions(+)

diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest
new file mode 100644
index 000..bcde1a4ece7
--- /dev/null
+++ b/www-apps/nanoc-cli/Manifest
@@ -0,0 +1 @@
+DIST nanoc-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750

diff --git a/www-apps/nanoc-cli/metadata.xml b/www-apps/nanoc-cli/metadata.xml
new file mode 100644
index 000..9abf9c6b8ec
--- /dev/null
+++ b/www-apps/nanoc-cli/metadata.xml
@@ -0,0 +1,9 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+gra...@gentoo.org
+
+r...@gentoo.org
+Gentoo Ruby Project
+
+

diff --git a/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild 
b/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild
new file mode 100644
index 000..b3d67fb6809
--- /dev/null
+++ b/www-apps/nanoc-cli/nanoc-cli-4.12.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby26 ruby27"
+
+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.ws/;
+SRC_URI="https://github.com/nanoc/nanoc/archive/${PV}.tar.gz -> 
nanoc-${PV}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+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/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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/files/, www-apps/nanoc-core/

2021-07-11 Thread Hans de Graaff
commit: f16d6fcb20eca1f49386e941c3acba37032dc6bc
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 11 07:10:15 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 11 07:10:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16d6fcb

www-apps/nanoc-core: add 4.12.2

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-core/Manifest   |  1 +
 .../files/nanoc-core-4.12.2-contracts.patch| 16 +
 www-apps/nanoc-core/nanoc-core-4.12.2.ebuild   | 74 ++
 3 files changed, 91 insertions(+)

diff --git a/www-apps/nanoc-core/Manifest b/www-apps/nanoc-core/Manifest
index 94faa65dd38..773ac657689 100644
--- a/www-apps/nanoc-core/Manifest
+++ b/www-apps/nanoc-core/Manifest
@@ -1 +1,2 @@
 DIST nanoc-core-4.11.12.tar.gz 310160 BLAKE2B 
ef34bf6d28d5a9287053a939ef14bc59f99bde003d7bbcd7eee861ab882a6beaa48812137c8ad87fe464d27e371cfd40022467f8d10ac5f85ff16ef19215e340
 SHA512 
0503d0a6a0cf1ca9a9c57b831f320abb5102a3e7aa82c016d1f72c4d9f614ef53a0e4df30d50e05a98107fecacae4d70dfa5ee5c15910d575bc30df411430863
+DIST nanoc-core-4.12.2.tar.gz 331400 BLAKE2B 
f7a22b05a4805f15a8e93601ae21bffdc19fe17c6550378465d85e63c498c5773c1dcd49d685b7d4367488300394c2f5bf9e6a6dc6aea589617a27fe1bd6ed4a
 SHA512 
3fe574c061d8d0dd034137800c88a34844d246e6ab9a7816aadb03cd2c43b5fe6d614f42e6b41bcd4df98be551edc69e35ca992f2d5ee8158f9c7eb3c7635750

diff --git a/www-apps/nanoc-core/files/nanoc-core-4.12.2-contracts.patch 
b/www-apps/nanoc-core/files/nanoc-core-4.12.2-contracts.patch
new file mode 100644
index 000..ec3e11df41b
--- /dev/null
+++ b/www-apps/nanoc-core/files/nanoc-core-4.12.2-contracts.patch
@@ -0,0 +1,16 @@
+Support for contracts is a development-only mechanism which impacts 
performance.
+It produces a warning on each run that is not easy to act on for our users,
+so patch this out altogether.
+
+--- a/lib/nanoc/core/contracts_support.rb  2021-07-11 08:54:09.979327770 
+0200
 b/lib/nanoc/core/contracts_support.rb  2021-05-28 11:33:52.0 
+0200
+@@ -90,8 +90,7 @@
+ 
+ contracts_loadable =
+   begin
++false
+-require 'contracts'
+-true
+   rescue LoadError
+ false
+   end

diff --git a/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild 
b/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild
new file mode 100644
index 000..cc5e34a4979
--- /dev/null
+++ b/www-apps/nanoc-core/nanoc-core-4.12.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby26 ruby27"
+
+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.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="nanoc-${PV}/nanoc-core"
+
+ruby_add_rdepend "
+   >=dev-ruby/concurrent-ruby-1.1:1
+   dev-ruby/ddmemoize:1
+   dev-ruby/ddmetrics:1
+   dev-ruby/ddplugin:1
+   =dev-ruby/hamster-3*
+   >=dev-ruby/json_schema-0.19: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/yard
+   www-apps/nanoc-spec
+)
+"
+
+PATCHES=( "${FILESDIR}/${P}-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 -i -e '/coverall/I s:^:#:' \
+   -e '/rubocop/ s:^:#:' Rakefile || die
+   sed -i -e '1i 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
+
+   # 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
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-checking/

2021-07-11 Thread Hans de Graaff
commit: 9decc3f6151dd648b7ed7d952a46363fe40f3f89
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 11 07:09:16 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 11 07:10:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9decc3f6

www-apps/nanoc-checking: initial import of 1.0.1

New dependency for www-apps/nanoc

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff  gentoo.org>

 www-apps/nanoc-checking/Manifest   |  1 +
 www-apps/nanoc-checking/metadata.xml   |  9 
 .../nanoc-checking/nanoc-checking-1.0.1.ebuild | 26 ++
 3 files changed, 36 insertions(+)

diff --git a/www-apps/nanoc-checking/Manifest b/www-apps/nanoc-checking/Manifest
new file mode 100644
index 000..07510f3a4d6
--- /dev/null
+++ b/www-apps/nanoc-checking/Manifest
@@ -0,0 +1 @@
+DIST nanoc-checking-1.0.1.gem 10752 BLAKE2B 
6f6f10cf97ab17cc328d827ab19490fa6e9d6f744594c167b4d9bf050c1288a7d5657d290402efbfa8d61d8e81550feae5022720464814e27af06d5025dfde96
 SHA512 
ef2b5a9c044f9bef19e4c75cc9ee99747a2ff0f8bece23c56d763f59c622488ccd980a19a3563207948fdb0d9edb91e86703778f7233bc0de76adf385c5694b0

diff --git a/www-apps/nanoc-checking/metadata.xml 
b/www-apps/nanoc-checking/metadata.xml
new file mode 100644
index 000..9abf9c6b8ec
--- /dev/null
+++ b/www-apps/nanoc-checking/metadata.xml
@@ -0,0 +1,9 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+gra...@gentoo.org
+
+r...@gentoo.org
+Gentoo Ruby Project
+
+

diff --git a/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild 
b/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild
new file mode 100644
index 000..63b0d6c7e17
--- /dev/null
+++ b/www-apps/nanoc-checking/nanoc-checking-1.0.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby26 ruby27"
+
+# 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 checking functionality for Nanoc"
+HOMEPAGE="https://nanoc.ws/;
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="$(ver_cut 1)"
+IUSE=""
+
+ruby_add_rdepend "
+   >=www-apps/nanoc-cli-4.11.15:0
+   >=www-apps/nanoc-core-4.11.15:0
+"



  1   2   >