public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/slim/
Date: Sun, 20 Mar 2022 10:04:40 +0000 (UTC)	[thread overview]
Message-ID: <1647770675.efca8b63e6f710b4828749c7910b91a24e12d7b5.graaff@gentoo> (raw)

commit:     efca8b63e6f710b4828749c7910b91a24e12d7b5
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 09:33:11 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 10:04:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efca8b63

dev-ruby/slim: add ruby30; EAPI 8

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/slim/slim-4.1.0-r2.ebuild | 55 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/dev-ruby/slim/slim-4.1.0-r2.ebuild b/dev-ruby/slim/slim-4.1.0-r2.ebuild
new file mode 100644
index 000000000000..5ff227866234
--- /dev/null
+++ b/dev-ruby/slim/slim-4.1.0-r2.ebuild
@@ -0,0 +1,55 @@
+# 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="CHANGES README.md"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_RECIPE_DOC="rake"
+RUBY_FAKEGEM_TASK_DOC="yard"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A template language aiming to reduce the syntax to the essential parts"
+HOMEPAGE="http://slim-lang.com/"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+SLOT="$(ver_cut 1)"
+IUSE="doc"
+
+ruby_add_rdepend ">=dev-ruby/tilt-2.0.6:* =dev-ruby/tilt-2.0*:*
+	>=dev-ruby/temple-0.7.6:0.7
+	!!<dev-ruby/slim-3.0.9-r1"
+
+ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )"
+
+ruby_add_bdepend "test? ( dev-ruby/redcarpet dev-ruby/sassc )"
+
+all_ruby_prepare() {
+	sed -i -e '/bundler/I s:^:#:' Rakefile || die
+
+	# This sinatra code expects tests to be installed but we strip those.
+	sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die
+
+	# Add missing include, bug 816573
+	sed -i -e "1irequire 'ostruct'" test/core/test_code_evaluation.rb || die
+
+	# Avoid tests for things we don't have. The builder test does not pass with tilt 2.x
+	sed -i -e '/test_wip_render_with_asciidoc/,/^  end/ s:^:#:' \
+		-e '/test_render_with_wiki/,/^  end/ s:^:#:' \
+		-e '/test_render_with_creole/,/^  end/ s:^:#:' \
+		-e '/test_render_with_builder/,/^  end/ s:^:#:' \
+		-e '/test_render_with_org/,/^  end/ s:^:#:' test/core/test_embedded_engines.rb || die
+
+	sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \
+		-e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_prepare() {
+	sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die
+}


             reply	other threads:[~2022-03-20 10:04 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-20 10:04 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-07  6:19 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/slim/ Hans de Graaff
2024-02-08 17:59 Hans de Graaff
2023-11-12  7:07 Hans de Graaff
2023-11-12  7:07 Hans de Graaff
2023-08-29  6:01 Hans de Graaff
2023-08-29  6:01 Hans de Graaff
2023-08-02 13:19 Sam James
2023-07-24  8:54 Jakov Smolić
2023-06-12  2:27 Sam James
2023-06-02 11:07 Arthur Zamarin
2023-06-01  6:22 Sam James
2023-06-01  5:56 Sam James
2023-06-01  5:31 Sam James
2023-06-01  5:31 Sam James
2023-04-09  1:28 Sam James
2023-04-03  5:08 Sam James
2023-04-02  2:56 Sam James
2023-04-02  2:56 Sam James
2023-04-02  2:56 Sam James
2023-03-28 22:12 Sam James
2023-03-28 22:12 Sam James
2023-01-23  7:17 Hans de Graaff
2022-12-19  6:42 Hans de Graaff
2022-12-18 14:43 Hans de Graaff
2022-12-18  9:27 Sam James
2022-12-18  9:27 Sam James
2022-12-18  9:18 Sam James
2022-12-04  7:21 Hans de Graaff
2022-07-17  6:50 Hans de Graaff
2022-06-19  8:24 Agostino Sarubbo
2022-06-19  8:15 Agostino Sarubbo
2022-06-19  8:14 Agostino Sarubbo
2021-12-31 10:56 Sam James
2021-11-08  2:51 Yixun Lan
2021-10-10 23:45 Sam James
2021-10-10 21:48 Sam James
2021-10-10 20:43 Sam James
2021-10-10  0:09 Sam James
2021-10-08  6:15 Hans de Graaff
2021-10-06  5:33 Hans de Graaff
2021-10-06  5:33 Hans de Graaff
2021-10-03  6:30 Hans de Graaff
2021-10-02 18:49 Sam James
2021-10-02 18:49 Sam James
2021-10-02 18:49 Sam James
2021-10-02 18:49 Sam James
2021-10-02 18:49 Sam James
2021-10-02 18:49 Sam James
2021-10-02 18:49 Sam James
2021-10-02 18:49 Sam James
2021-10-02 18:48 Sam James
2021-10-02 18:48 Sam James
2021-10-02 18:40 Sam James
2021-10-02 18:40 Sam James
2020-12-24  7:41 Hans de Graaff
2020-07-25 17:10 Hans de Graaff
2020-05-10  5:50 Hans de Graaff
2019-11-04 18:34 Hans de Graaff
2019-11-04 18:34 Hans de Graaff
2019-03-04  6:42 Hans de Graaff
2019-02-11  5:59 Hans de Graaff
2019-02-10 17:51 Mikle Kolyada
2018-12-19 22:48 Sergei Trofimovich
2018-09-11  4:50 Hans de Graaff
2018-08-31  6:20 Hans de Graaff
2018-07-19 19:16 Hans de Graaff
2018-06-06 23:23 Thomas Deutschmann
2018-06-02 13:50 Mikle Kolyada
2018-05-23  4:47 Hans de Graaff
2018-03-22 20:23 Jeroen Roovers
2018-01-25  6:34 Hans de Graaff
2017-11-10  6:57 Hans de Graaff
2017-10-01  0:56 Thomas Deutschmann
2017-10-01  0:56 Thomas Deutschmann
2017-07-24  5:28 Hans de Graaff
2017-07-03  9:12 Alexis Ballier
2017-05-18  5:22 Hans de Graaff
2017-05-18  5:22 Hans de Graaff
2017-02-27 18:55 Michael Weber
2017-02-20  6:52 Hans de Graaff
2017-02-19 14:05 Hans de Graaff
2016-10-29 14:59 Manuel Rüger
2016-08-07  6:57 Hans de Graaff
2016-08-07  6:57 Hans de Graaff
2016-08-03 16:57 Alexis Ballier
2016-05-22  6:14 Hans de Graaff
2016-05-22  6:14 Hans de Graaff
2016-03-06 19:08 Manuel Rüger
2016-03-06 19:08 Manuel Rüger
2015-11-01  7:15 Hans de Graaff
2015-11-01  7:15 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1647770675.efca8b63e6f710b4828749c7910b91a24e12d7b5.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox