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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B011C15800F for ; Sat, 18 Feb 2023 07:29:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08E00E07C9; Sat, 18 Feb 2023 07:29:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8635E07C9 for ; Sat, 18 Feb 2023 07:29:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1937D340D09 for ; Sat, 18 Feb 2023 07:29:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4905807 for ; Sat, 18 Feb 2023 07:29:52 +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: <1676705387.6d0464753028c2356980f9607bd7611c578267f4.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.11.0.ebuild X-VCS-Directories: dev-ruby/ruby-feedparser/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 6d0464753028c2356980f9607bd7611c578267f4 X-VCS-Branch: master Date: Sat, 18 Feb 2023 07:29:52 +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: c1b99eea-532a-44be-b794-285554f5eeca X-Archives-Hash: e7189d009a07902c670b0ef161099f16 commit: 6d0464753028c2356980f9607bd7611c578267f4 Author: Hans de Graaff gentoo org> AuthorDate: Wed Feb 15 06:42:20 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 18 07:29:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d046475 dev-ruby/ruby-feedparser: add 0.11.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ruby-feedparser/Manifest | 1 + .../ruby-feedparser/ruby-feedparser-0.11.0.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-ruby/ruby-feedparser/Manifest b/dev-ruby/ruby-feedparser/Manifest index 960a3ab1710c..a20800a3ccad 100644 --- a/dev-ruby/ruby-feedparser/Manifest +++ b/dev-ruby/ruby-feedparser/Manifest @@ -1 +1,2 @@ DIST ruby-feedparser-0.10.0.tar.gz 2697849 BLAKE2B 679e8442b5b11eb56b30d346edc54d76d8f94f43ab26299ec0dd831faf6acb7fde304b4d6f8147d67ab013c9d7e50c163fcb75e8aa10ddc9091529e29eeb0d79 SHA512 0cbf8543a73385f1bd7fd2bcd647828e4e03ec648a62cd898cfd58ed574ede68760184037a5c7ba58acc42d1d51c54158ad1247216ede415791d0bbaf99a5ce8 +DIST ruby-feedparser-0.11.0.tar.gz 2698521 BLAKE2B 55e3107fbef971e865b05ac0dc4ced0c0033689a93124c7ee7aff5c9979a8bdabf65a88484f744b7a4703cd8e10473d8fe76d6970f00b248afe37681154fe4ca SHA512 96f0d0471f3a1f61e4889c988e154bf4a1f8df5e3117e9c31fdcad905435276be58ad1027bd86f9ca9872f50ee020a04b78df0ad44b39b6ae096fdce7b64ed42 diff --git a/dev-ruby/ruby-feedparser/ruby-feedparser-0.11.0.ebuild b/dev-ruby/ruby-feedparser/ruby-feedparser-0.11.0.ebuild new file mode 100644 index 000000000000..4388459c4a69 --- /dev/null +++ b/dev-ruby/ruby-feedparser/ruby-feedparser-0.11.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="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:1.0 )" + +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 + sed -i -e '2igem "mocha", "<2"' test/tc_sgml_parser.rb || die +} + +each_ruby_prepare() { + sed -i -e '/PKG_VERSION/ s:ruby:'${RUBY}':' Rakefile || die +}