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/rdiscount/
Date: Thu, 11 Mar 2021 09:31:38 +0000 (UTC)	[thread overview]
Message-ID: <1615455090.1f486be8ac4db3a38d89122d6754c311235ac1bf.graaff@gentoo> (raw)

commit:     1f486be8ac4db3a38d89122d6754c311235ac1bf
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 11 08:52:58 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Mar 11 09:31:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f486be8

dev-ruby/rdiscount: ruby30; fix tests, extension

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

 dev-ruby/rdiscount/rdiscount-2.2.0.2-r1.ebuild | 43 ++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/dev-ruby/rdiscount/rdiscount-2.2.0.2-r1.ebuild b/dev-ruby/rdiscount/rdiscount-2.2.0.2-r1.ebuild
new file mode 100644
index 00000000000..ce044b2b484
--- /dev/null
+++ b/dev-ruby/rdiscount/rdiscount-2.2.0.2-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_TASK_TEST="test:unit"
+
+RUBY_FAKEGEM_TASK_DOC="doc man"
+RUBY_FAKEGEM_EXTRADOC="README.markdown"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Implementation of John Gruber's Markdown"
+HOMEPAGE="https://github.com/rtomayko/rdiscount"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+IUSE=""
+
+all_ruby_prepare() {
+	# Hanna is broken for us and therefore we don't have it in portage.
+	sed -i -e 's/hanna/rdoc/' Rakefile || die
+
+	# Remove rule that will force a rebuild when running tests.
+	sed -i -e "/task 'test:unit' => \[:build\]/d" Rakefile || die
+
+	# Provide RUBY variable no longer provided by rake.
+	sed -i -e "1 iRUBY=${RUBY}" Rakefile || die
+
+	# Remove obsolete -rubygems argument, bug 775377
+	sed -i -e '/-rubygems/ s:^:#:' Rakefile || die
+}
+
+all_ruby_install() {
+	all_fakegem_install
+
+	doman man/rdiscount.1
+}


             reply	other threads:[~2021-03-11  9:31 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11  9:31 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-31  8:53 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rdiscount/ Hans de Graaff
2024-10-30  7:02 Hans de Graaff
2024-10-12 16:22 Sam James
2024-10-06 14:29 Arthur Zamarin
2024-10-06 13:30 Jakov Smolić
2024-10-06 12:01 Sam James
2024-10-06 11:35 Sam James
2024-01-07  8:26 Hans de Graaff
2024-01-07  8:26 Hans de Graaff
2023-12-27 12:36 Hans de Graaff
2023-12-27 12:36 Hans de Graaff
2023-08-02 23:02 Sam James
2023-06-17  4:53 Hans de Graaff
2023-03-28 22:24 Sam James
2023-03-28 22:24 Sam James
2023-03-28 21:50 Sam James
2023-03-28 21:49 Sam James
2023-03-28 21:49 Sam James
2023-03-28 21:44 Sam James
2023-03-28 21:44 Sam James
2023-03-18  0:02 Sam James
2022-10-26  5:37 Hans de Graaff
2022-04-26 14:38 Sam James
2022-04-23  5:14 Hans de Graaff
2022-03-07  3:47 Sam James
2021-10-30  5:16 Hans de Graaff
2021-10-28 14:02 Agostino Sarubbo
2021-10-28 14:00 Agostino Sarubbo
2021-10-27  4:13 Sam James
2021-10-26 13:30 Agostino Sarubbo
2021-10-26 13:28 Agostino Sarubbo
2021-10-26  5:53 Sam James
2020-08-10  4:09 Hans de Graaff
2020-01-14  7:05 Hans de Graaff
2019-06-24 15:14 Michael Haubenwallner
2019-01-27 15:35 Hans de Graaff
2018-07-22 18:30 Hans de Graaff
2018-07-22 14:37 Mikle Kolyada
2018-07-10 19:11 Sergei Trofimovich
2018-06-26 15:44 Tobias Klausmann
2018-06-16  5:05 Hans de Graaff
2018-06-15 12:28 Sergei Trofimovich
2018-06-13 20:02 Sergei Trofimovich
2018-04-10 20:21 Hans de Graaff
2017-12-29 17:41 Sergei Trofimovich
2017-07-07 18:15 Alexis Ballier
2017-03-02 12:57 Fabian Groffen
2017-01-05  6:40 Hans de Graaff
2016-11-25 13:55 Hans de Graaff
2016-05-14 17:50 Fabian Groffen
2016-05-09  5:01 Hans de Graaff
2016-04-17 10:47 Manuel Rüger
2016-03-11  7:06 Hans de Graaff
2016-03-11  7:06 Hans de Graaff
2016-01-09  7:40 Hans de Graaff
2016-01-09  6:43 Agostino Sarubbo
2015-11-24 20:36 Markus Meier
2015-11-23  9:25 Agostino Sarubbo
2015-11-16 14:19 Agostino Sarubbo
2015-11-12  9:40 Agostino Sarubbo
2015-11-11  9:54 Agostino Sarubbo
2015-11-11  5:08 Jeroen Roovers
2015-11-11  4:50 Jeroen Roovers
2015-11-09 10:31 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=1615455090.1f486be8ac4db3a38d89122d6754c311235ac1bf.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