commit:     bc02880d32639dc93210cdb183bf6283cf72966f
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 12 10:54:27 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 09:06:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc02880d

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 <AT> gentoo.org>

 dev-ruby/net-smtp/Manifest              |  1 +
 dev-ruby/net-smtp/metadata.xml          | 11 +++++++++++
 dev-ruby/net-smtp/net-smtp-0.3.1.ebuild | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+)

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>[email protected]</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
+}

Reply via email to