pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/ruby-net-smtp



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue May 30 15:10:17 UTC 2023

Modified Files:
        pkgsrc/net/ruby-net-smtp: Makefile

Log Message:
net/ruby-net-smtp: drop support for ruby27


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/ruby-net-smtp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/ruby-net-smtp/Makefile
diff -u pkgsrc/net/ruby-net-smtp/Makefile:1.4 pkgsrc/net/ruby-net-smtp/Makefile:1.5
--- pkgsrc/net/ruby-net-smtp/Makefile:1.4       Sat Dec  3 12:56:15 2022
+++ pkgsrc/net/ruby-net-smtp/Makefile   Tue May 30 15:10:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/12/03 12:56:15 taca Exp $
+# $NetBSD: Makefile,v 1.5 2023/05/30 15:10:17 taca Exp $
 
 DISTNAME=      net-smtp-0.3.3
 CATEGORIES=    net mail
@@ -8,20 +8,13 @@ HOMEPAGE=     https://github.com/ruby/net-sm
 COMMENT=       Simple Mail Transfer Protocol client library for Ruby
 LICENSE=       2-clause-bsd OR ruby-license
 
-# This package is mainly for redmine50 on Ruby 2.7.
-
 USE_LANGUAGES= # none
 
-.include "../../lang/ruby/rubyversion.mk"
+# This package is mainly for redmine50 on Ruby and 3.0.
+# (Ruby 3.1 and later have required net-pop gem as standard gem.)
+RUBY_VERSIONS_ACCEPTED=        30
 
-.if "net-smtp-${RUBY_NET_SMTP_VER}" == ${DISTNAME}
-PKG_SKIP_REASON+=      "${DISTNAME} is included in ${RUBY_BASE}"
-.endif
-
-.if ${RUBY_VER} == 27
-DEPENDS+=      ${RUBY_PKGPREFIX}-net-protocol>=0:../../net/ruby-net-protocol
-DEPENDS+=      ${RUBY_PKGPREFIX}-digest>=0:../../security/ruby-digest
-.endif
+.include "../../lang/ruby/rubyversion.mk"
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index