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 32B8113835A for ; Mon, 10 Aug 2020 04:09:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2984CE0893; Mon, 10 Aug 2020 04:09:50 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 BC6A4E088F for ; Mon, 10 Aug 2020 04:09:49 +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 7B76E34F449 for ; Mon, 10 Aug 2020 04:09:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 046032F2 for ; Mon, 10 Aug 2020 04:09:47 +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: <1597032503.ad329b9bb6484eee625daa7a61d77cfaff8c0181.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rdiscount/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rdiscount/Manifest dev-ruby/rdiscount/rdiscount-2.2.0.2.ebuild X-VCS-Directories: dev-ruby/rdiscount/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: ad329b9bb6484eee625daa7a61d77cfaff8c0181 X-VCS-Branch: master Date: Mon, 10 Aug 2020 04:09:47 +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: 0a082794-94d1-4c73-83fb-202cf64b9370 X-Archives-Hash: 6e30c7c2e51e4bce5e751a36a0b494b8 commit: ad329b9bb6484eee625daa7a61d77cfaff8c0181 Author: Hans de Graaff gentoo org> AuthorDate: Mon Aug 10 04:08:23 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Aug 10 04:08:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad329b9b dev-ruby/rdiscount: add 2.2.0.2 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rdiscount/Manifest | 1 + dev-ruby/rdiscount/rdiscount-2.2.0.2.ebuild | 47 +++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-ruby/rdiscount/Manifest b/dev-ruby/rdiscount/Manifest index d598e19c636..ddd64055341 100644 --- a/dev-ruby/rdiscount/Manifest +++ b/dev-ruby/rdiscount/Manifest @@ -1 +1,2 @@ DIST rdiscount-2.2.0.1.gem 68096 BLAKE2B 71ea7010116739e8c61aab91c2cc4a86cf679b4ae10221135c0bad854822a9a81969e927ef898c0ebf753811205ad98258c4e7c4b16f9e18a81bb01137a79fc9 SHA512 81a477782b9829ac5e68ab390ef00b7f470bb4bd84e86ce28dd9abbb71aab6fd17b67416078dd7d4e0fc7e0c8eb78250b7a71a2f24d2bd236e861cb445f9feb6 +DIST rdiscount-2.2.0.2.gem 68096 BLAKE2B 91f67643103a46f3fc95f80191a85ce4c89bba6a83f7ed5542cc9ec1671628c6ac0543b206d87e2ffc469dc83139e5669ee7eb6713eba4116db19c071a15f402 SHA512 97a0fabb77238173f101298e4b4b6d4728b9e15cb7d3f14e7d1d978c44ab92dd89c2e02d0c15c0fa70a836eb54abca06b0027e26e5d87540bfe145c8527be3f7 diff --git a/dev-ruby/rdiscount/rdiscount-2.2.0.2.ebuild b/dev-ruby/rdiscount/rdiscount-2.2.0.2.ebuild new file mode 100644 index 00000000000..97b12d1ab7a --- /dev/null +++ b/dev-ruby/rdiscount/rdiscount-2.2.0.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test:unit" + +RUBY_FAKEGEM_TASK_DOC="doc man" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +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 +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext + cp ext/*$(get_modname) lib/ || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/rdiscount.1 +}