diff options
Diffstat (limited to 'dev-ruby/net-imap')
-rw-r--r-- | dev-ruby/net-imap/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/net-imap/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/net-imap/net-imap-0.2.3.ebuild | 33 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest new file mode 100644 index 000000000000..ce7c290992b6 --- /dev/null +++ b/dev-ruby/net-imap/Manifest @@ -0,0 +1,3 @@ +DIST net-imap-0.2.3.tar.gz 61440 BLAKE2B f38bed72777ad93b5a94361ca134644ae218f4a0cb3f26330a99dd5633d30f0f846f3fc4eeb01bc94c13bd5e553cb29f1ad03264987badf83b8f5404755c73ac SHA512 69b6596a8ecc66788be10d11dad911351db6ff651f56e8dc5223f4c948efe0d2e53bd465ebf56edd96f1c414e3819413835c14b35a8e90b9f9ac59bfaa5611c6 +EBUILD net-imap-0.2.3.ebuild 933 BLAKE2B af1dcade0aea808c0b6fdd6deaf09e21eae6d5b084c7428db17aa35c05411f51a577169ec88d7e1d741b71da482aba1c6d89812592eb6ccf52dfb454026abcee SHA512 7ba0b227ece2b7253eef4b03fd12f8e24a08d0785ed4b9ec729d5c11a5469cffbb116f5edb04109cc3b99f5c45083234b32c40f99f6713c1ef389068a0711c44 +MISC metadata.xml 339 BLAKE2B 9723b52dde876efb195385ce0916ac29cfc27255f44af57ad1803e03409d762e095d2d89de8d49296f142b8ec29b160e57569d2f13818a0f43f0c01a709a6ccb SHA512 de6928b0e5693c02bf27a65aebcc2cac0bcd8d896c3df9596467368011959794ab4e8318d96582cf8889e77b585b0b96aa446522c362fa3cc1e4716260f2b930 diff --git a/dev-ruby/net-imap/metadata.xml b/dev-ruby/net-imap/metadata.xml new file mode 100644 index 000000000000..ae944adb3a9c --- /dev/null +++ b/dev-ruby/net-imap/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">ruby/net-pop</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/net-imap/net-imap-0.2.3.ebuild b/dev-ruby/net-imap/net-imap-0.2.3.ebuild new file mode 100644 index 000000000000..b19c69d72984 --- /dev/null +++ b/dev-ruby/net-imap/net-imap-0.2.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +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/digest + dev-ruby/net-protocol + 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 +} |