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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 209EA13835A for ; Mon, 8 Mar 2021 07:18:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3382FE08F3; Mon, 8 Mar 2021 07:18:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A992E08F3 for ; Mon, 8 Mar 2021 07:18:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A8065335CCD for ; Mon, 8 Mar 2021 07:18:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C0E3587 for ; Mon, 8 Mar 2021 07:18:17 +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: <1615187891.49594ed048dfb4d3225cffa0a59730738d8e341a.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/webgen/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/webgen/Manifest app-text/webgen/webgen-1.7.2.ebuild X-VCS-Directories: app-text/webgen/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 49594ed048dfb4d3225cffa0a59730738d8e341a X-VCS-Branch: master Date: Mon, 8 Mar 2021 07:18:17 +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: 22e2ed4f-73a6-4a90-90db-493d081896c0 X-Archives-Hash: 6a16d6851a9b6e9f5821f8cb82167070 commit: 49594ed048dfb4d3225cffa0a59730738d8e341a Author: Hans de Graaff gentoo org> AuthorDate: Mon Mar 8 06:56:29 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Mar 8 07:18:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49594ed0 app-text/webgen: add 1.7.2 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> app-text/webgen/Manifest | 1 + app-text/webgen/webgen-1.7.2.ebuild | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/app-text/webgen/Manifest b/app-text/webgen/Manifest index fc89c999814..2941facea4b 100644 --- a/app-text/webgen/Manifest +++ b/app-text/webgen/Manifest @@ -1 +1,2 @@ DIST webgen-1.7.1.gem 201728 BLAKE2B 2ea7d7911b4edf29cb7310a676593a77956b3fffd1a4ca5f69731270e648365fb8293a292b8fdd717444ed8f690dd5f095ac5dd77f5c950253b5de7d6086f966 SHA512 7b58c7d2b8ff6a4feabc1435e6bddbf25b3e4695517c2bd8d97b698a49b6fd61538f1a77bdd4e13f7368fdfbeae9f007dfc09ecfcde4eb75a366b8e0ccc8c58a +DIST webgen-1.7.2.gem 201728 BLAKE2B abd3a8a9accfbc1a1e0070b7cbd4d0cc24796540ce1c8c0cfd3dc50882bf953b1e794971a90e2a429b3ecd64b1cb009b16c96ce1e6cfa05516ce48c10e39cd95 SHA512 806303f56319b6f55d8457b0b68438a9732bc1adc95ea50a955ad02b184814d0b878d618fc0547831cac53292208f1d0837d190b078ebb2ba42641dbaa5ffd93 diff --git a/app-text/webgen/webgen-1.7.2.ebuild b/app-text/webgen/webgen-1.7.2.ebuild new file mode 100644 index 00000000000..6dd141bf8cc --- /dev/null +++ b/app-text/webgen/webgen-1.7.2.ebuild @@ -0,0 +1,52 @@ +# 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_DOC="task" +RUBY_FAKEGEM_DOCDIR="htmldoc/rdoc" +RUBY_FAKEGEM_EXTRADOC="AUTHORS THANKS" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="A template-based static website generator" +HOMEPAGE="https://webgen.gettalong.org" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="builder doc highlight markdown" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc ) + test? ( + dev-ruby/minitest:5 + dev-ruby/rdiscount + >=dev-ruby/sass-3.2:* )" + +ruby_add_rdepend ">=dev-ruby/cmdparse-3.0.1:3 + >=dev-ruby/systemu-2.5 =dev-ruby/systemu-2* + >=dev-ruby/kramdown-2.3:2 + builder? ( >=dev-ruby/builder-2.1.0:* ) + highlight? ( >=dev-ruby/coderay-1.0 ) + markdown? ( dev-ruby/maruku )" + +all_ruby_prepare() { + # Avoid a test fragile for sass version differences + sed -i -e '/test_static_call/,/^ end/ s:^:#:' test/webgen/content_processor/test_sass.rb || die + # Avoid a test with fragile whitespace tests + rm -f test/webgen/content_processor/test_haml.rb || die + + # Avoid tests for rdoc since that requires an obsolete version + sed -i -e '/def test_create_nodes/askip' test/webgen/path_handler/test_api.rb || die + + # Avoid tests for unpackaged dependencies + rm -f test/webgen/content_processor/test_{css_minify,tikz}.rb || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/man1/webgen.1 +}