forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Hans de Graaff <[email protected]>
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST net-imap-0.2.3.tar.gz 61440 BLAKE2B f38bed72777ad93b5a94361ca134644ae218f4a0cb3f26330a99dd5633d30f0f846f3fc4eeb01bc94c13bd5e553cb29f1ad03264987badf83b8f5404755c73ac SHA512 69b6596a8ecc66788be10d11dad911351db6ff651f56e8dc5223f4c948efe0d2e53bd465ebf56edd96f1c414e3819413835c14b35a8e90b9f9ac59bfaa5611c6 | ||
DIST net-imap-0.3.1.tar.gz 63981 BLAKE2B df3eca949e9736bebf6af27859c4198d05734762d8f1755fade685986f4248e05a09a6e4c48fd92d5f537a2f206bac6da75165f0c42171fa7bd533b908071d16 SHA512 b2f88b3fc2cd6ed6c0ed1e8c60100e84ac9a8c0406a780ff5b7b0f11440fb997e79dea0f67a15a139f9bb41e76bff5fcb60668fd1ed4be65142199a4d3c9e167 | ||
DIST net-imap-0.3.4.tar.gz 103226 BLAKE2B b08ee0ad9ad788c1a58e583b3e71cef6e13f6c4f35cc1a67909715a30b0797987f71b1a790e0ca3a2a4b0da3b23ac2451c5e0fb8217506eb0e050c2c2c624362 SHA512 ced2433212738e1c54b783602dc8ed79b0d6fabef0d830d12e4d1a8b7f1df896596499a4b986dab1ac8e1e389bf88f87c854ceafbe57b7ad1cf5c0db29223ba1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright 1999-2022 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
USE_RUBY="ruby27 ruby30 ruby31" | ||
|
||
RUBY_FAKEGEM_BINWRAP="" | ||
RUBY_FAKEGEM_EXTRADOC="README.md" | ||
RUBY_FAKEGEM_GEMSPEC="net-imap.gemspec" | ||
|
||
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" | ||
|
||
LICENSE="BSD-2" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" | ||
IUSE="" | ||
|
||
ruby_add_rdepend " | ||
dev-ruby/date | ||
dev-ruby/net-protocol | ||
" | ||
|
||
ruby_add_bdepend "test? ( dev-ruby/digest dev-ruby/strscan )" | ||
|
||
all_ruby_prepare() { | ||
sed -e 's/__dir__/"."/' \ | ||
-e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ | ||
-e 's/git ls-files -z/find * -print0/' \ | ||
-i ${RUBY_FAKEGEM_GEMSPEC} || die | ||
} |