summaryrefslogtreecommitdiff
path: root/dev-ruby/net-pop
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/net-pop')
-rw-r--r--dev-ruby/net-pop/Manifest3
-rw-r--r--dev-ruby/net-pop/metadata.xml11
-rw-r--r--dev-ruby/net-pop/net-pop-0.1.1.ebuild33
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/net-pop/Manifest b/dev-ruby/net-pop/Manifest
new file mode 100644
index 000000000000..00bf913d6957
--- /dev/null
+++ b/dev-ruby/net-pop/Manifest
@@ -0,0 +1,3 @@
+DIST net-pop-0.1.1.tar.gz 17292 BLAKE2B ccb653929b29572944b0edfd1d8123c64fd1e2baabf360ed9d04a173d348825d2a2c1e675669af96e11c84cd32a07ad37a395e9a5a78bd8a853c65e42d1dd205 SHA512 9a6a03cf8ce19711a1f9318910f0cb01ec5282695e986b68657fafc289ef32c084f2a9f5a038114f550ef1553bc99c8dda094191492b503c82a37a4a71124eb2
+EBUILD net-pop-0.1.1.ebuild 913 BLAKE2B 248069ad8b83735b82f7c2016aeaa9361d813d503a45e981cd0a5853d1c7606290d138613ecfc85a9f22a745122e4edda183a624bf74dc6522a39c4fee0d8f46 SHA512 894f2c6f0d71b06c01500a7e4a49222040e7c8c44f649b382ac0a6cb5b0458593aa9f0058290018d4ef3d57333e8cbd9421e238d1e5dde8f4393276450ed1e07
+MISC metadata.xml 339 BLAKE2B 9723b52dde876efb195385ce0916ac29cfc27255f44af57ad1803e03409d762e095d2d89de8d49296f142b8ec29b160e57569d2f13818a0f43f0c01a709a6ccb SHA512 de6928b0e5693c02bf27a65aebcc2cac0bcd8d896c3df9596467368011959794ab4e8318d96582cf8889e77b585b0b96aa446522c362fa3cc1e4716260f2b930
diff --git a/dev-ruby/net-pop/metadata.xml b/dev-ruby/net-pop/metadata.xml
new file mode 100644
index 000000000000..ae944adb3a9c
--- /dev/null
+++ b/dev-ruby/net-pop/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-pop</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/net-pop/net-pop-0.1.1.ebuild b/dev-ruby/net-pop/net-pop-0.1.1.ebuild
new file mode 100644
index 000000000000..711764cf3b71
--- /dev/null
+++ b/dev-ruby/net-pop/net-pop-0.1.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="README.md"
+RUBY_FAKEGEM_GEMSPEC="net-pop.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby client library for POP3"
+HOMEPAGE="https://github.com/ruby/net-pop"
+SRC_URI="https://github.com/ruby/net-pop/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
+}