summaryrefslogtreecommitdiff
path: root/dev-ruby/net-smtp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/net-smtp')
-rw-r--r--dev-ruby/net-smtp/Manifest2
-rw-r--r--dev-ruby/net-smtp/net-smtp-0.3.2.ebuild31
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/net-smtp/Manifest b/dev-ruby/net-smtp/Manifest
index bd531ab4ad6d..ebde6673cecc 100644
--- a/dev-ruby/net-smtp/Manifest
+++ b/dev-ruby/net-smtp/Manifest
@@ -1,3 +1,5 @@
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
EBUILD net-smtp-0.3.1.ebuild 914 BLAKE2B c0f64ee86ff3bfb635b90733711f0ed90db772207b692cf1cdbfa3e006b452508a98ccb3cec45316881dba9f8bdee1b63a43fa88fa4d76d41bd7835aa770c890 SHA512 1eb34ec15e58ccf7868c14a61546a7ac59bdc93ec5721458cf334b90af6200575369aebabba2597aa20640d3f01dfab52a61d7826c53583767cee409b2ab5e4a
+EBUILD net-smtp-0.3.2.ebuild 914 BLAKE2B c0f64ee86ff3bfb635b90733711f0ed90db772207b692cf1cdbfa3e006b452508a98ccb3cec45316881dba9f8bdee1b63a43fa88fa4d76d41bd7835aa770c890 SHA512 1eb34ec15e58ccf7868c14a61546a7ac59bdc93ec5721458cf334b90af6200575369aebabba2597aa20640d3f01dfab52a61d7826c53583767cee409b2ab5e4a
MISC metadata.xml 340 BLAKE2B f644899564ce6b222e40d25c4bea15c69f467cc56be91d47e506804d9cb9d9d812f970afb63185bcf21437e4697c3153976c267753ffa3b79d3a75b7eb258e0d SHA512 d8b4c65ca944809289b3fb43c09a5d83e584772905540bce7e9c82d9fc85aab1b1b124f2cfb3965c15bf28fe1fcf7f031a4089288889c03bf1dab1d453d8fc60
diff --git a/dev-ruby/net-smtp/net-smtp-0.3.2.ebuild b/dev-ruby/net-smtp/net-smtp-0.3.2.ebuild
new file mode 100644
index 000000000000..f181ba494bc1
--- /dev/null
+++ b/dev-ruby/net-smtp/net-smtp-0.3.2.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
+}