summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-02-12 11:54:27 +0100
committerHans de Graaff <graaff@gentoo.org>2022-02-13 10:06:07 +0100
commitbc02880d32639dc93210cdb183bf6283cf72966f (patch)
tree60d6b1a3a911b4000a99dfd87481519e3a60ad97 /dev-ruby/net-smtp
parentdev-ruby/net-protocol: import 0.1.2 (diff)
downloadgentoo-bc02880d32639dc93210cdb183bf6283cf72966f.tar.gz
gentoo-bc02880d32639dc93210cdb183bf6283cf72966f.tar.bz2
gentoo-bc02880d32639dc93210cdb183bf6283cf72966f.zip
dev-ruby/net-smtp: import 0.3.1
Extracted from dev-lang/ruby, keywords have been migrated. Package-Manager: Portage-3.0.30, Repoman-3.0.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/metadata.xml11
-rw-r--r--dev-ruby/net-smtp/net-smtp-0.3.1.ebuild33
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/net-smtp/Manifest b/dev-ruby/net-smtp/Manifest
new file mode 100644
index 000000000000..5f64d5deaddc
--- /dev/null
+++ b/dev-ruby/net-smtp/Manifest
@@ -0,0 +1 @@
+DIST net-smtp-0.3.1.tar.gz 24465 BLAKE2B 200af603428dde4daf79aaac426525e1d7e2533995dcda4e2b96daaf64900558fd1717086215bf35cba9fd6db732d2d5a4b529531508a757197dc174a9f905b3 SHA512 68807d204f7768a3d890c0fd1076b2d7f77be3df662549ae9cfb56c8f84491cf4948addeb47399cdc9e7580e175e9d20ddeca25da8daafb3a90b880cc39a81ae
diff --git a/dev-ruby/net-smtp/metadata.xml b/dev-ruby/net-smtp/metadata.xml
new file mode 100644
index 000000000000..2473cb180fd5
--- /dev/null
+++ b/dev-ruby/net-smtp/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-smtp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/net-smtp/net-smtp-0.3.1.ebuild b/dev-ruby/net-smtp/net-smtp-0.3.1.ebuild
new file mode 100644
index 000000000000..ed092f957aea
--- /dev/null
+++ b/dev-ruby/net-smtp/net-smtp-0.3.1.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 ruby30"
+
+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/digest
+ dev-ruby/net-protocol
+ dev-ruby/timeout
+"
+
+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
+}