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 F3957138334 for ; Mon, 29 Jul 2019 20:11:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3327BE0788; Mon, 29 Jul 2019 20:11:06 +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 06AADE0788 for ; Mon, 29 Jul 2019 20:11:06 +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 E02A0348F8B for ; Mon, 29 Jul 2019 20:11:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F2084D3 for ; Mon, 29 Jul 2019 20:11:03 +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: <1564431057.1c4a5786faf7fcb2782708cd1a45c59af7db98ff.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/redcarpet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/redcarpet/Manifest dev-ruby/redcarpet/redcarpet-3.5.0.ebuild X-VCS-Directories: dev-ruby/redcarpet/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 1c4a5786faf7fcb2782708cd1a45c59af7db98ff X-VCS-Branch: master Date: Mon, 29 Jul 2019 20:11:03 +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: 0a60c3cf-c8b1-4d97-97fa-dddc84a18909 X-Archives-Hash: 5c63d01fd66e76c6c50242c3fa571863 commit: 1c4a5786faf7fcb2782708cd1a45c59af7db98ff Author: Hans de Graaff gentoo org> AuthorDate: Mon Jul 29 20:10:08 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jul 29 20:10:57 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c4a5786 dev-ruby/redcarpet: add 3.5.0 Package-Manager: Portage-2.3.66, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/redcarpet/Manifest | 1 + dev-ruby/redcarpet/redcarpet-3.5.0.ebuild | 44 +++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/redcarpet/Manifest b/dev-ruby/redcarpet/Manifest index bbbc2afc2bd..038ffbd1422 100644 --- a/dev-ruby/redcarpet/Manifest +++ b/dev-ruby/redcarpet/Manifest @@ -1 +1,2 @@ DIST redcarpet-3.4.0.tar.gz 105525 BLAKE2B 38b28f400b7300ea49cebda9b4739193b54c322c1c20ecba50938893286ad87e44ba9e9da83eab8433af0790d76bc0db4189fc0b70a4438480fe784570809e1a SHA512 25ed1fd35ebf815f396ed819baec69aae366bafab3983a53d364b1ef0d3f18cecaa523953d12cb0e5b896c30ac86e000318f33c633047bd271362474b9b8f877 +DIST redcarpet-3.5.0.tar.gz 106773 BLAKE2B 34c72d21c8ea4d841c9728e3c7e66be02c69943e5e0ee091688992c400748cf0a0900fa15de7bbaf18db8a89bc0309160fd5c2b2ca83ee86f6d46dd5d13d9770 SHA512 8d48f1b437297aa556d7f3c5e69c8dde04c63388e78ffe15ea3c36e4764790b5cb75a8baaf75ad64317bccc63384fa0a42251d05718902096229f9f6a24f06c9 diff --git a/dev-ruby/redcarpet/redcarpet-3.5.0.ebuild b/dev-ruby/redcarpet/redcarpet-3.5.0.ebuild new file mode 100644 index 00000000000..182d1bb7d60 --- /dev/null +++ b/dev-ruby/redcarpet/redcarpet-3.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOCS="README.markdown CONTRIBUTING.md CHANGELOG.md doc" +RUBY_FAKEGEM_TASK_TEST="test:unit" + +RUBY_FAKEGEM_GEMSPEC="redcarpet.gemspec" + +inherit multilib ruby-fakegem + +SRC_URI="https://github.com/vmg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="A Ruby wrapper for Upskirt" +HOMEPAGE="https://github.com/vmg/redcarpet" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/nokogiri )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e 's/=> :compile//' Rakefile || die + + # Avoid unneeded dependency on rake-compiler + sed -i -e '/extensiontask/I s:^:#:' Rakefile || die +} + +each_ruby_prepare() { + sed -i -e "s#ruby#${RUBY}#" bin/redcarpet || die +} + +each_ruby_configure() { + ${RUBY} -Cext/redcarpet extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/*$(get_modname) lib || die +}