summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-09-21 07:40:54 +0200
committerHans de Graaff <graaff@gentoo.org>2023-09-21 07:40:54 +0200
commit568f90951ff0ca0d614f0193dc031069f33770b4 (patch)
treecbf6df9a13491b7a908d318cf926579cebf73f4c /dev-ruby/net-smtp
parentdev-python/pydata-sphinx-theme: Bump to 0.14.1 (diff)
downloadgentoo-568f90951ff0ca0d614f0193dc031069f33770b4.tar.gz
gentoo-568f90951ff0ca0d614f0193dc031069f33770b4.tar.bz2
gentoo-568f90951ff0ca0d614f0193dc031069f33770b4.zip
dev-ruby/net-smtp: add 0.4.0
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.4.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/net-smtp/Manifest b/dev-ruby/net-smtp/Manifest
index ab7a6e999f78..b768aa204637 100644
--- a/dev-ruby/net-smtp/Manifest
+++ b/dev-ruby/net-smtp/Manifest
@@ -1 +1,2 @@
DIST net-smtp-0.3.3.tar.gz 25297 BLAKE2B 29339faf7c7a3870b2eed7d2b9058ad7b3beaae9bddd3fe718cbcba0c65faa3e118916ac2e2a8cfc9e52c602bde301929c037856b68e42881bdab3ecbb90b01f SHA512 1936cede296d899f2cbcf5874b1472e808255cca21788037f6e8f38f8b1ef05779fec0c4f51a3970c09191078fee84c85e909eb9223034bdc293a1215b004ad1
+DIST net-smtp-0.4.0.tar.gz 26695 BLAKE2B 4ae79a5288ccb55b9a9bcd377ef3c85123a55b9269815730b2fb394ba98469ecaa7a5fc3230bc4a2e9117bff62453a69b627a397db1ca4f63f0cbd4856510d4e SHA512 3a130daac6392dd9328bdc644e1089eb34f290658b06f4aee48ab9f407086446af9fe674c5f417251ffb04478e5a6f14829f2b13b3e62fadb65ac09a2fa35bc1
diff --git a/dev-ruby/net-smtp/net-smtp-0.4.0.ebuild b/dev-ruby/net-smtp/net-smtp-0.4.0.ebuild
new file mode 100644
index 000000000000..c5b1236c01c7
--- /dev/null
+++ b/dev-ruby/net-smtp/net-smtp-0.4.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-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
+}