git: 1c8216ae9b76 - main - mail/rubygem-net-pop: Update RUN_DEPENDS

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 19:02:53 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c8216ae9b76e1a56fcdfc2c3c95aca0c3181008

commit 1c8216ae9b76e1a56fcdfc2c3c95aca0c3181008
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 17:26:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:46:53 +0000

    mail/rubygem-net-pop: Update RUN_DEPENDS
    
    - Bump PORTREVISION for dependency change
---
 mail/rubygem-net-pop/Makefile            |  4 +++-
 mail/rubygem-net-pop/files/patch-gemspec | 10 ----------
 2 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/mail/rubygem-net-pop/Makefile b/mail/rubygem-net-pop/Makefile
index 63f38d0aa433..d5e022950d5c 100644
--- a/mail/rubygem-net-pop/Makefile
+++ b/mail/rubygem-net-pop/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	net-pop
 PORTVERSION=	0.1.1
+PORTREVISION=	1
 CATEGORIES=	mail rubygems
 MASTER_SITES=	RG
 
@@ -12,7 +13,8 @@ LICENSE=	BSD2CLAUSE RUBY
 LICENSE_COMB=	dual
 LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	rubygem-net-protocol>=0:net/rubygem-net-protocol \
+RUN_DEPENDS=	rubygem-digest>=0:security/rubygem-digest \
+		rubygem-net-protocol>=0:net/rubygem-net-protocol \
 		rubygem-timeout>=0:devel/rubygem-timeout
 
 USES=		gem
diff --git a/mail/rubygem-net-pop/files/patch-gemspec b/mail/rubygem-net-pop/files/patch-gemspec
deleted file mode 100644
index ea21949ca356..000000000000
--- a/mail/rubygem-net-pop/files/patch-gemspec
+++ /dev/null
@@ -1,10 +0,0 @@
---- net-pop.gemspec.orig	2020-12-28 13:40:19 UTC
-+++ net-pop.gemspec
-@@ -24,7 +24,6 @@ Gem::Specification.new do |s|
- 
-     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
-       s.add_runtime_dependency(%q<net-protocol>.freeze, [">= 0"])
--      s.add_runtime_dependency(%q<digest>.freeze, [">= 0"])
-       s.add_runtime_dependency(%q<timeout>.freeze, [">= 0"])
-     else
-       s.add_dependency(%q<net-protocol>.freeze, [">= 0"])