dev-ruby/ruby-feedparser: drop 0.11.2

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-04-05 09:26:03 +02:00
parent eb0766eb9c
commit 39600cfb1d
2 changed files with 0 additions and 42 deletions

View File

@@ -1,2 +1 @@
DIST ruby-feedparser-0.11.2.tar.gz 2698609 BLAKE2B b516c7d50ba6bfd769dd42b5cfe85142df596556d21551f69c7d180eb172cae1d4c8ad86e44ae20cd87734b1d8f4b11456315b9c2a7df1a428a05dd8060bd8fd SHA512 1e067b0170f2c9df531b9378d004b06d098ddc21899755843fa2a2ae37a965e1f6060272525943e8b140b9f82bb6aad37a307dbb77adf74743ae76fd2a7c26d0
DIST ruby-feedparser-0.11.3.tar.gz 2688778 BLAKE2B ea7fa378de51e44ce8b02dd1004b2b83e2d14e93d2725db180e00dd90a010e4bda2bc890a48729f33f565f4e0db92044b1dd3156225ef5b23dc2da0613a2a525 SHA512 fb4e27da60b67668af4ed4c6535ea420c13e1fb53d211f63899553407f14cbdd2b0c2d95fcc07cc6acace682b3392698c99de3e5f67a1c461e26dd262b7b8249

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
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"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
ruby_add_rdepend "dev-ruby/magic"
ruby_add_bdepend "dev-ruby/magic
test? ( dev-ruby/mocha:2 dev-ruby/test-unit )"
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 -e '/mocha/ s/setup/test_unit/' -i test/tc_sgml_parser.rb || die
}
each_ruby_prepare() {
sed -i -e '/PKG_VERSION/ s:ruby:'${RUBY}':' Rakefile || die
}