From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8C468158020 for ; Sun, 18 Dec 2022 07:21:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 708C3E086F; Sun, 18 Dec 2022 07:21:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53C03E0866 for ; Sun, 18 Dec 2022 07:21:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2A22634112C for ; Sun, 18 Dec 2022 07:21:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CE427C6 for ; Sun, 18 Dec 2022 07:21:13 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1671348069.60414ecbb9a403d79cafb346c9d99e9c5cdd0404.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-core/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/nanoc-core/Manifest www-apps/nanoc-core/nanoc-core-4.12.14.ebuild X-VCS-Directories: www-apps/nanoc-core/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 60414ecbb9a403d79cafb346c9d99e9c5cdd0404 X-VCS-Branch: master Date: Sun, 18 Dec 2022 07:21:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1dc468e1-474a-4250-876c-e5c6a34c541c X-Archives-Hash: 5f597381297fca6a3d1e4dd5f71bc840 commit: 60414ecbb9a403d79cafb346c9d99e9c5cdd0404 Author: Hans de Graaff gentoo org> AuthorDate: Sat Dec 17 10:32:39 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Dec 18 07:21:09 2022 +0000 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 000000000000..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 +}