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/heredoc_unindent/
Date: Fri, 29 Jan 2021 07:36:22 +0000 (UTC)	[thread overview]
Message-ID: <1611905776.76e3e6eb9660188d789d76b815cd0bbb4b9ec8c3.graaff@gentoo> (raw)

commit:     76e3e6eb9660188d789d76b815cd0bbb4b9ec8c3
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 29 07:27:34 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jan 29 07:36:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76e3e6eb

dev-ruby/heredoc_unindent: EAPI=7; add ruby30

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

 .../heredoc_unindent-1.2.0-r1.ebuild               | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/dev-ruby/heredoc_unindent/heredoc_unindent-1.2.0-r1.ebuild b/dev-ruby/heredoc_unindent/heredoc_unindent-1.2.0-r1.ebuild
new file mode 100644
index 00000000000..c34fd046a74
--- /dev/null
+++ b/dev-ruby/heredoc_unindent/heredoc_unindent-1.2.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+inherit ruby-fakegem
+
+RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc"
+DESCRIPTION="Removes leading whitespace from Ruby heredocs"
+HOMEPAGE="https://github.com/adrianomitre/heredoc_unindent"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc test"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
+
+all_ruby_prepare() {
+	sed -i -e '1igem "test-unit"' test/test_heredoc_unindent.rb || die
+}
+
+each_ruby_test() {
+	${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}


             reply	other threads:[~2021-01-29  7:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29  7:36 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-27 20:00 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/heredoc_unindent/ Hans de Graaff
2023-08-27  6:44 Hans de Graaff
2023-08-19  7:53 Arthur Zamarin
2023-07-05  4:40 Hans de Graaff
2022-05-06  6:54 Hans de Graaff
2021-11-18  6:42 Hans de Graaff
2021-11-08  5:43 Hans de Graaff
2020-04-19 12:22 Sergei Trofimovich
2020-01-22 18:40 Hans de Graaff
2019-01-28 21:45 Hans de Graaff
2018-02-03 18:22 Hans de Graaff
2017-05-07  9:44 Hans de Graaff
2016-10-11  5:16 Hans de Graaff
2016-06-13  4:37 Richard Farina
2015-12-25 18:26 Manuel Rüger
2015-12-11 10:06 Agostino Sarubbo

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=1611905776.76e3e6eb9660188d789d76b815cd0bbb4b9ec8c3.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