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 813F813835A for ; Sun, 17 Jan 2021 07:42:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5115EE083D; Sun, 17 Jan 2021 07:42: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 3D204E083E for ; Sun, 17 Jan 2021 07:42:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 C7A3C340F63 for ; Sun, 17 Jan 2021 07:42:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1CEAE309 for ; Sun, 17 Jan 2021 07:42: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: <1610867769.2444c8c977948df37024ab3d6770090d10a01e7c.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-feedparser/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/ruby-feedparser/Manifest dev-ruby/ruby-feedparser/ruby-feedparser-0.9.6.ebuild X-VCS-Directories: dev-ruby/ruby-feedparser/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 2444c8c977948df37024ab3d6770090d10a01e7c X-VCS-Branch: master Date: Sun, 17 Jan 2021 07:42: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: 7bdfae87-b871-4b25-809d-15257a511a9c X-Archives-Hash: 5df9c3fe0d56a45b6c2b686610598bc1 commit: 2444c8c977948df37024ab3d6770090d10a01e7c Author: Hans de Graaff gentoo org> AuthorDate: Sun Jan 17 07:15:20 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Jan 17 07:16:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2444c8c9 dev-ruby/ruby-feedparser: add 0.9.6 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ruby-feedparser/Manifest | 1 + .../ruby-feedparser/ruby-feedparser-0.9.6.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-ruby/ruby-feedparser/Manifest b/dev-ruby/ruby-feedparser/Manifest index 9b5327f2af9..77325ce33eb 100644 --- a/dev-ruby/ruby-feedparser/Manifest +++ b/dev-ruby/ruby-feedparser/Manifest @@ -1 +1,2 @@ DIST ruby-feedparser-0.9.4.tar.gz 2705393 BLAKE2B 22d95f817d7cd80c33da804e391dce877eb3947dc249eff82884e0ba747aae9d6949418311a7596f6639470e32ce81e1bcc180737e25ab1bbc910bbfeaabdcca SHA512 0fbecb83837996c1a9483d70275cf869a62dcb53bb42d3fc8d1c7992e37c7d2c8b3194a9d0372566c4907f8ffd893c1f6ee1b2e55fa2417c5f34b71496bfad9d +DIST ruby-feedparser-0.9.6.tar.gz 2705372 BLAKE2B 4a169fb980a6fc23f2e1aeaaae6a74607d3aebfa0a779ee52d7621196e39363886a88e5fd77ce84abaf52d956881e02f8b4f776b0abcab234cd1a4d26b012b90 SHA512 a35748bd23e87138583aaf04ecb482712a3774e1f97c471f86d97e506edf33f63651d5fd64c680d5250c42277ff3f33248fa65d2fa53d0e468a51b0d745a7a33 diff --git a/dev-ruby/ruby-feedparser/ruby-feedparser-0.9.6.ebuild b/dev-ruby/ruby-feedparser/ruby-feedparser-0.9.6.ebuild new file mode 100644 index 00000000000..bcaa2442bb4 --- /dev/null +++ b/dev-ruby/ruby-feedparser/ruby-feedparser-0.9.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +GITHUB_USER="feed2imap" + +DESCRIPTION="Ruby library to parse ATOM/RSS feeds" +HOMEPAGE="https://github.com/feed2imap/ruby-feedparser" +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend "dev-ruby/magic" + +ruby_add_bdepend "dev-ruby/magic + test? ( dev-ruby/mocha )" + +all_ruby_prepare() { + # Extract gemspec source from Rakefile + sed -n -e '/Gem::Specification/,/end$/p' Rakefile > ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e 's/PKG_NAME/"'${PN}'"/' \ + -e 's/PKG_VERSION/"'${PV}'"/' \ + -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e '/PKG_VERSION/ s:ruby:'${RUBY}':' Rakefile || die +}