summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-10-30 07:42:35 +0100
committerHans de Graaff <graaff@gentoo.org>2022-10-30 07:42:35 +0100
commit38375ab9ac0f6e9c5d6b84018ca5f8b0da3e511c (patch)
treeea87f690bb70d4c2daf16a1d7a23fc2cc14e7715 /dev-ruby/net-smtp
parentdev-util/rbtools: add missing test deps (diff)
downloadgentoo-38375ab9ac0f6e9c5d6b84018ca5f8b0da3e511c.tar.gz
gentoo-38375ab9ac0f6e9c5d6b84018ca5f8b0da3e511c.tar.bz2
gentoo-38375ab9ac0f6e9c5d6b84018ca5f8b0da3e511c.zip
dev-ruby/net-smtp: add 0.3.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/net-smtp')
-rw-r--r--dev-ruby/net-smtp/Manifest1
-rw-r--r--dev-ruby/net-smtp/net-smtp-0.3.3.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/net-smtp/Manifest b/dev-ruby/net-smtp/Manifest
index 1d7db8db2f73..14496d4bcf15 100644
--- a/dev-ruby/net-smtp/Manifest
+++ b/dev-ruby/net-smtp/Manifest
@@ -1,2 +1,3 @@
DIST net-smtp-0.3.1.tar.gz 24465 BLAKE2B 200af603428dde4daf79aaac426525e1d7e2533995dcda4e2b96daaf64900558fd1717086215bf35cba9fd6db732d2d5a4b529531508a757197dc174a9f905b3 SHA512 68807d204f7768a3d890c0fd1076b2d7f77be3df662549ae9cfb56c8f84491cf4948addeb47399cdc9e7580e175e9d20ddeca25da8daafb3a90b880cc39a81ae
DIST net-smtp-0.3.2.tar.gz 24567 BLAKE2B c498430c94470fbd11e23a5bae7fe4d866fa2ee4fe145847c77cb90c43babba56228f652d531eaa30fd875e90a27c4ed3dc20e347177b3513e899e5d5bc562c4 SHA512 6bba89e2b1a8d391d0349f77dc51bc6b4558c06affba1e9df7deeb247daaaf8b1fa1cb64f7dab79fb3b02b05fbfc12cd2c29378a8ed41a4d9453e4763c923a56
+DIST net-smtp-0.3.3.tar.gz 25297 BLAKE2B 29339faf7c7a3870b2eed7d2b9058ad7b3beaae9bddd3fe718cbcba0c65faa3e118916ac2e2a8cfc9e52c602bde301929c037856b68e42881bdab3ecbb90b01f SHA512 1936cede296d899f2cbcf5874b1472e808255cca21788037f6e8f38f8b1ef05779fec0c4f51a3970c09191078fee84c85e909eb9223034bdc293a1215b004ad1
diff --git a/dev-ruby/net-smtp/net-smtp-0.3.3.ebuild b/dev-ruby/net-smtp/net-smtp-0.3.3.ebuild
new file mode 100644
index 000000000000..f181ba494bc1
--- /dev/null
+++ b/dev-ruby/net-smtp/net-smtp-0.3.3.ebuild
@@ -0,0 +1,31 @@
+# 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="NEWS.md README.md"
+RUBY_FAKEGEM_GEMSPEC="net-smtp.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple Mail Transfer Protocol client library for Ruby"
+HOMEPAGE="https://github.com/ruby/net-smtp"
+SRC_URI="https://github.com/ruby/net-smtp/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/net-protocol
+"
+
+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
+}