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/haml/
Date: Fri, 16 Jul 2021 06:20:35 +0000 (UTC)	[thread overview]
Message-ID: <1626416431.735008bd6644d60c920579f0f1a83b760c6430a9.graaff@gentoo> (raw)

commit:     735008bd6644d60c920579f0f1a83b760c6430a9
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 16 06:19:39 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jul 16 06:20:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=735008bd

dev-ruby/haml: add 5.2.1

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

 dev-ruby/haml/Manifest          |  1 +
 dev-ruby/haml/haml-5.2.1.ebuild | 58 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-ruby/haml/Manifest b/dev-ruby/haml/Manifest
index 065f9e5fd09..bce24e994f6 100644
--- a/dev-ruby/haml/Manifest
+++ b/dev-ruby/haml/Manifest
@@ -1 +1,2 @@
 DIST haml-5.1.2.tar.gz 126059 BLAKE2B 5d805f29c28d0f6355f7b79e5724ec1639a808cfae75c26633edddcc82d964a48dbc1654b780fb706529ca22abcaba953a1af6f483386c336035c079a719e585 SHA512 405976de297bfdbd6f010442d940205c404f057a54cd7162feb400b1831af3e4e60fd05a637a2f480204428512ca7dd66c02aca22b0006d6d515c06968eb08a3
+DIST haml-5.2.1.tar.gz 129795 BLAKE2B f561d8969fd4b49f1bbbf943c612a5cd3205a1b3a1ef544b4939dec5746d6e04b438f8bf69a320b95455fb15ab5a8d6c4c7ffef0aeec3d0698d46e6ef0d37e34 SHA512 b7a034604346b6e62f7cf13cce5582d53d81644bd4fc3b178b4c1e175fbea2160a562a6a2b539d810288ccfbca2d12099694a314d9df4286aac33ed1e0e22fa5

diff --git a/dev-ruby/haml/haml-5.2.1.ebuild b/dev-ruby/haml/haml-5.2.1.ebuild
new file mode 100644
index 00000000000..0d700168da1
--- /dev/null
+++ b/dev-ruby/haml/haml-5.2.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true RUBYLIB=lib test"
+RUBY_FAKEGEM_TASK_DOC="-Ilib doc"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A ruby web page templating engine"
+HOMEPAGE="https://haml.info/"
+SRC_URI="https://github.com/haml/haml/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE="doc test"
+
+RDEPEND="${RDEPEND} !!<dev-ruby/haml-4.0.7-r2"
+
+ruby_add_rdepend ">=dev-ruby/temple-0.8.0 dev-ruby/tilt:*"
+
+ruby_add_bdepend "
+	test? (
+		dev-ruby/minitest:5
+		dev-ruby/nokogiri
+		dev-ruby/railties:6.0
+		dev-ruby/activemodel:6.0
+		dev-ruby/actionpack:6.0
+	)
+	doc? (
+		dev-ruby/yard
+		>=dev-ruby/maruku-0.7.2-r1
+	)"
+
+all_ruby_prepare() {
+	sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	sed -i -e '/bundler/ s:^:#: ; /Bundler/,/end/ s:^:#:' Rakefile || die
+	sed -i -e '/bundler/I s:^:#:' \
+		-e 's/gem "minitest"/gem "minitest", "~>5.0"/'\
+		-e '1igem "actionpack", "~>6.0.0"'\
+		-e '1igem "activesupport", "~>6.0.0"; gem "activemodel", "~>6.0.0"'\
+		-e '1igem "railties", "~>6.0.0"'\
+		test/test_helper.rb || die
+	# Remove test that fails when RedCloth is available
+	sed -i -e "/should raise error when a Tilt filters dependencies are unavailable for extension/,/^  end/ s/^/#/"\
+		test/filters_test.rb || die
+}


             reply	other threads:[~2021-07-16  6:20 UTC|newest]

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