diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-11 22:32:18 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-11 22:32:18 +0200 |
commit | 169fa7d0a413eb262a7726d5567c9aa7888e686d (patch) | |
tree | 77187bfa1aaed79ca0b55c67ef740116eafc13af /net-news/feed2imap | |
parent | 7c3863752886ffd0f6f78dace6e8b9617e03bdac (diff) | |
download | overlay-169fa7d0a413eb262a7726d5567c9aa7888e686d.tar.gz overlay-169fa7d0a413eb262a7726d5567c9aa7888e686d.tar.bz2 overlay-169fa7d0a413eb262a7726d5567c9aa7888e686d.zip |
Rewrote feed2imap ebuild; ported to EAPI 7
Diffstat (limited to '')
-rw-r--r-- | net-news/feed2imap/feed2imap-9999.ebuild | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/net-news/feed2imap/feed2imap-9999.ebuild b/net-news/feed2imap/feed2imap-9999.ebuild index e6f8cbb..9c82ed1 100644 --- a/net-news/feed2imap/feed2imap-9999.ebuild +++ b/net-news/feed2imap/feed2imap-9999.ebuild @@ -2,12 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=5 -USE_RUBY="ruby24" +EAPI=7 +USE_RUBY="ruby25" -EGIT_REPO_URI="git://git.necoro.eu/others/feed2imap" +EGIT_REPO_URI="https://git.necoro.eu/others/feed2imap.git" EGIT_BRANCH="ruby22" -inherit git-2 ruby-ng +inherit git-r3 ruby-single DESCRIPTION="RSS/Atom feed aggregator which uploads feeds to an IMAP server" HOMEPAGE="http://home.gna.org/feed2imap/" @@ -17,21 +17,18 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND="dev-ruby/ruby-feedparser +RDEPEND="${RUBY_DEPS} + dev-ruby/ruby-feedparser dev-ruby/mail" -all_ruby_unpack() { - git-2_src_unpack -} - -each_ruby_configure() { - ${RUBY} setup.rb config || die -} +BDEPEND="${RDEPEND}" +DOCS="ChangeLog README" -each_ruby_install() { - ${RUBY} setup.rb install --prefix="${D}" || die +src_configure() { + ruby setup.rb config || die } -all_ruby_install() { - dodoc ChangeLog README || die +src_install() { + ruby setup.rb install --prefix="${D}" || die + einstalldocs } |