From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 55C741584AD for ; Mon, 21 Apr 2025 08:02:01 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6A4673430FF for ; Mon, 21 Apr 2025 08:00:53 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 8A5F71104B7; Mon, 21 Apr 2025 08:00:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 7FFF21104B7 for ; Mon, 21 Apr 2025 08:00:37 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F9EE3430AA for ; Mon, 21 Apr 2025 08:00:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9359A2082 for ; Mon, 21 Apr 2025 08:00:35 +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: <1745222425.f5c7b1682b602f5b525f0ff9099a6d4b6b77e1fc.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/nanoc-cli/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/nanoc-cli/Manifest www-apps/nanoc-cli/nanoc-cli-4.13.4.ebuild X-VCS-Directories: www-apps/nanoc-cli/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: f5c7b1682b602f5b525f0ff9099a6d4b6b77e1fc X-VCS-Branch: master Date: Mon, 21 Apr 2025 08:00:35 +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: 1cd872bd-f015-48e1-8acd-5887bc6d4609 X-Archives-Hash: d540fefb386356279c653e87083dfaaf commit: f5c7b1682b602f5b525f0ff9099a6d4b6b77e1fc Author: Hans de Graaff gentoo org> AuthorDate: Mon Apr 21 07:59:30 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Apr 21 08:00:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c7b168 www-apps/nanoc-cli: add 4.13.4 Signed-off-by: Hans de Graaff gentoo.org> www-apps/nanoc-cli/Manifest | 1 + www-apps/nanoc-cli/nanoc-cli-4.13.4.ebuild | 73 ++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/www-apps/nanoc-cli/Manifest b/www-apps/nanoc-cli/Manifest index 63e1aecc754e..f06ebede3406 100644 --- a/www-apps/nanoc-cli/Manifest +++ b/www-apps/nanoc-cli/Manifest @@ -2,3 +2,4 @@ DIST nanoc-4.12.21.tar.gz 356922 BLAKE2B 7395bfdba8d27c6f60b8df072bc862c3541beaf DIST nanoc-4.13.0.tar.gz 356745 BLAKE2B 55b529669937db12e820d1ed83800415a01e6e9b96b9b2be0e339e8e66d1f7a7ce6982ad3a8e6357875fc326aa96675775e8f39a01fa614d39a1f34e152e6581 SHA512 06f537a9a15ae1ec8bf94cc242dfd76fb99330fbe81ebb1375f711cf568e33579745ac571d37258666cdfd903493cd924da390b1710cef7a31d93cfa28ecb81f DIST nanoc-4.13.1.tar.gz 357588 BLAKE2B 74cbd99d0a186d851de710d2c227038ead284c4805f5b5fbce0c2d0e120565ec3cc6b5c23028a2dcbe8d11773b913f92895ec73f3a757a129948989778e4f97e SHA512 7336638815cca77ecfd63a8e59076694d6ad9c982045b4f4e3bee398668ff8dbfa7a4d3b194b640f5a74f9d3173c646bcb7b9908cdae8b08690b0c37b481044d DIST nanoc-4.13.3.tar.gz 358276 BLAKE2B f67236c766c1e1e82ac22145fa1a02d9849046e6e58939ef098b2725e700d7940a94514632d53803d7b5ba5ca989d96eb0c4898695909077c8f4cd370e023706 SHA512 8a38480b4dedc0544ea798393fea71d7e8a590f744b91fb7dc85a1ca95ae8a782877f3d2b06cbfb99ef9c2ae016238a606972136d03babcb80445366ecd82059 +DIST nanoc-4.13.4.tar.gz 359660 BLAKE2B f0d769d5edf387423902318a468337eb84b379c3b0f5e605ee3f960dd347348f265b99e4c0866b85bec3409dd8501bfcb0ae58593fdd948e6d771b0aabd2e8ce SHA512 72f32a7a1296f4769c93370527eca62a22d6e1ac5ace95efd48da138049b9a9cf298c8d2431417cf6d71aeb4cecf4d34987de3e791880f7325f41f9a924574be diff --git a/www-apps/nanoc-cli/nanoc-cli-4.13.4.ebuild b/www-apps/nanoc-cli/nanoc-cli-4.13.4.ebuild new file mode 100644 index 000000000000..10b06133b735 --- /dev/null +++ b/www-apps/nanoc-cli/nanoc-cli-4.13.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="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" +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 + dev-ruby/logger + ~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 +}