summaryrefslogtreecommitdiff
diff options
authorHans de Graaff <[email protected]>2023-02-03 12:09:50 +0100
committerHans de Graaff <[email protected]>2023-02-04 08:07:51 +0100
commitcee49a06e6efb6c1d9152f8842303e4ee3ed5429 (patch)
tree19edd3a811161112b264466425c4c9bb31aae946 /dev-ruby/net-imap/net-imap-0.3.4.ebuild
parentdev-ruby/sinatra: update HOMEPAGE (diff)
downloadgentoo-cee49a06e6efb6c1d9152f8842303e4ee3ed5429.tar.gz
gentoo-cee49a06e6efb6c1d9152f8842303e4ee3ed5429.tar.bz2
gentoo-cee49a06e6efb6c1d9152f8842303e4ee3ed5429.zip
dev-ruby/net-imap: fix test to work without network access
Signed-off-by: Hans de Graaff <[email protected]>
Diffstat (limited to 'dev-ruby/net-imap/net-imap-0.3.4.ebuild')
-rw-r--r--dev-ruby/net-imap/net-imap-0.3.4.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-ruby/net-imap/net-imap-0.3.4.ebuild b/dev-ruby/net-imap/net-imap-0.3.4.ebuild
index 67d85bbd0843..6a6a2431601e 100644
--- a/dev-ruby/net-imap/net-imap-0.3.4.ebuild
+++ b/dev-ruby/net-imap/net-imap-0.3.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,7 +12,8 @@ inherit ruby-fakegem
DESCRIPTION="Ruby client api for Internet Message Access Protocol"
HOMEPAGE="https://github.com/ruby/net-imap"
-SRC_URI="https://github.com/ruby/net-imap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/ruby/net-imap/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ test? ( https://www.rfc-editor.org/rfc/rfc3454.txt )"
LICENSE="BSD-2"
SLOT="0"
@@ -31,4 +32,7 @@ all_ruby_prepare() {
-e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
-e 's/git ls-files -z/find * -print0/' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ mkdir rfcs || die
+ cp "${DISTDIR}/rfc3454.txt" rfcs/ || die
}