summaryrefslogtreecommitdiff
path: root/dev-ruby/ruby-feedparser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /dev-ruby/ruby-feedparser
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'dev-ruby/ruby-feedparser')
-rw-r--r--dev-ruby/ruby-feedparser/Manifest2
-rw-r--r--dev-ruby/ruby-feedparser/ruby-feedparser-0.9.7.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/ruby-feedparser/Manifest b/dev-ruby/ruby-feedparser/Manifest
index 363d5240e187..dc90a4afa552 100644
--- a/dev-ruby/ruby-feedparser/Manifest
+++ b/dev-ruby/ruby-feedparser/Manifest
@@ -1,5 +1,7 @@
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
+DIST ruby-feedparser-0.9.7.tar.gz 2705854 BLAKE2B d64d35696dd66890013643339817cf470e714fef4ecb5ad8c12a221fd949af53b6fa3668ec2ec16ac0a5fa76eb8dedf037530881ce2545356a4bf20dc7153b01 SHA512 6283e21448cebbfc0d07c01d24be48acadb852110c9e940983a22ce3c95592aea12a99dc4763aa267ba7386c935e2f58e52427b57171aa8fcaa332c6bb440fed
EBUILD ruby-feedparser-0.9.4.ebuild 1009 BLAKE2B a7befe6834cf5072bac6cd8f77772e16ba37e67bc5f2aca58739c0a6268da355b18a2014318d1909ea012e5d016fc9faf880efbde9cacbc3c185648d4aa066b4 SHA512 cbb07ce35e08637a0a6bc88943089d67f3e3fe41a98b3c00e6fdc5c8a0bcddf1c0c19f7dbd3b80f5dc644f1a062535f2136cf2e3d257f05b21e32e4479a0f905
EBUILD ruby-feedparser-0.9.6.ebuild 971 BLAKE2B 22e922f929c2bc715244131edd11d6be154b0a662cd8483c46502c89d174da86064a5949a877a051c8e2a67460b2662c4f7093cb1aa52651729c75414947fa86 SHA512 a448d0196fc7bd95722ec772bf90e481e74c5cb4abf5e71d1faec4f482936d0808811ffef52b49ae1180c2d7b7694e32f50f6007c34564e6d36ae5b33845d41f
+EBUILD ruby-feedparser-0.9.7.ebuild 971 BLAKE2B 22e922f929c2bc715244131edd11d6be154b0a662cd8483c46502c89d174da86064a5949a877a051c8e2a67460b2662c4f7093cb1aa52651729c75414947fa86 SHA512 a448d0196fc7bd95722ec772bf90e481e74c5cb4abf5e71d1faec4f482936d0808811ffef52b49ae1180c2d7b7694e32f50f6007c34564e6d36ae5b33845d41f
MISC metadata.xml 351 BLAKE2B 8ed001732ed47da11d190f32cb521b9700142bbdf04e6b486e9889f8df32ae24d9783b70357e653c3df8743d423eee547b5f884f5487f3e789f01792a6fb8551 SHA512 ed6059fdfc72e3f63ade2a463de1202da05bfe1b1b59f30b947e3c8999bc610ebd3729468bfb5ebd0b016dfa99cfd0af410dea3a4f054968fa6f1f201eafcfb6
diff --git a/dev-ruby/ruby-feedparser/ruby-feedparser-0.9.7.ebuild b/dev-ruby/ruby-feedparser/ruby-feedparser-0.9.7.ebuild
new file mode 100644
index 000000000000..bcaa2442bb43
--- /dev/null
+++ b/dev-ruby/ruby-feedparser/ruby-feedparser-0.9.7.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
+}