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 33F42138334 for ; Sun, 27 Oct 2019 05:44:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 724BCE092F; Sun, 27 Oct 2019 05:44:48 +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 44506E092F for ; Sun, 27 Oct 2019 05:44:48 +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 7010134C3E0 for ; Sun, 27 Oct 2019 05:44:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 121085FC for ; Sun, 27 Oct 2019 05:44:44 +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: <1572155065.73b37cb81904e02372b640697a1916e068e7c512.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.0.ebuild X-VCS-Directories: app-text/webgen/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 73b37cb81904e02372b640697a1916e068e7c512 X-VCS-Branch: master Date: Sun, 27 Oct 2019 05:44:44 +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: 4c713396-798d-4647-b7c8-002d8130c24d X-Archives-Hash: f5854e3accd12f1acc0afeb4ea6cb3f6 commit: 73b37cb81904e02372b640697a1916e068e7c512 Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 27 05:44:25 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 27 05:44:25 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73b37cb8 app-text/webgen: add 1.7.0 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> app-text/webgen/Manifest | 1 + app-text/webgen/webgen-1.7.0.ebuild | 53 +++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-text/webgen/Manifest b/app-text/webgen/Manifest index 8f80999ed53..2c0a7a124ae 100644 --- a/app-text/webgen/Manifest +++ b/app-text/webgen/Manifest @@ -1 +1,2 @@ DIST webgen-1.5.2.gem 200704 BLAKE2B 55749d515223b46c7063596d1424de107f43af022fc54ba431e83ffa4dbe3ab5651e6c61e48f66710a1e958c2f6d09a64ea05c9186dd0c73add5351fbc419806 SHA512 83557bc7a3cafb5e885bd4c50f7083a7576a5c930458075d91ffd58b4fa3c4e406f342dd23988788afb22e9a03ffbff0dfb02d23ebfdef7d2275638c102839b4 +DIST webgen-1.7.0.gem 201728 BLAKE2B ed44657420817d98ffbd72093ff56db22ae3a8da43c77661a663d938f3958c4055df4b7b34252eee162846af27a35320f680fdb6b9b1818f96aa1e51eceffd9f SHA512 1e791f720108996a4f52b151d160d9b6f613c036aae2350c634f5539257c4ae946737ba2df94bc424199413463e3016432a6d1e67e30b419b2770bc83b3b14db diff --git a/app-text/webgen/webgen-1.7.0.ebuild b/app-text/webgen/webgen-1.7.0.ebuild new file mode 100644 index 00000000000..3e7ecc33865 --- /dev/null +++ b/app-text/webgen/webgen-1.7.0.ebuild @@ -0,0 +1,53 @@ +# 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_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/kramdown + 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-1.3 =dev-ruby/kramdown-1* + 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 +}