pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ruby-net-imap net/ruby-net-imap: add dependencies



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbc774db6f30
branches:  trunk
changeset: 384637:cbc774db6f30
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Sep 03 04:10:15 2022 +0000

description:
net/ruby-net-imap: add dependencies

* This package is mainly for redmine50 on Ruby 2.7.
* This package require ruby-net-protocol and ruby-digest on Ruby 2.7.
* Remove a duplicate entry from PLIST.

Bump PKGREVISION.

diffstat:

 net/ruby-net-imap/Makefile |  11 ++++++++++-
 net/ruby-net-imap/PLIST    |   3 +--
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r ff79cb221445 -r cbc774db6f30 net/ruby-net-imap/Makefile
--- a/net/ruby-net-imap/Makefile        Sat Sep 03 04:09:02 2022 +0000
+++ b/net/ruby-net-imap/Makefile        Sat Sep 03 04:10:15 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2022/08/28 04:09:37 taca Exp $
+# $NetBSD: Makefile,v 1.2 2022/09/03 04:10:15 taca Exp $
 
 DISTNAME=      net-imap-0.2.3
+PKGREVISION=   1
 CATEGORIES=    net mail
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,10 +9,18 @@
 COMMENT=       Ruby client api for Internet Message Access Protocol
 LICENSE=       2-clause-bsd OR ruby-license
 
+# This package is mainly for redmine50 on Ruby 2.7.
+
 USE_LANGUAGES= # none
 
 # Ruby 3.1 has the same version in it.
 RUBY_VERSIONS_ACCEPTED=        27 30
 
+.include "../../lang/ruby/rubyversion.mk"
+.if ${RUBY_VER} == 27
+DEPENDS+=      ${RUBY_PKGPREFIX}-net-protocol:../../net/ruby-net-protocol
+DEPENDS+=      ${RUBY_PKGPREFIX}-digest:../../security/ruby-digest
+.endif
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ff79cb221445 -r cbc774db6f30 net/ruby-net-imap/PLIST
--- a/net/ruby-net-imap/PLIST   Sat Sep 03 04:09:02 2022 +0000
+++ b/net/ruby-net-imap/PLIST   Sat Sep 03 04:10:15 2022 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2022/08/28 04:09:37 taca Exp $
-${GEM_HOME}/cache/${GEM_NAME}.gem
+@comment $NetBSD: PLIST,v 1.2 2022/09/03 04:10:15 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.github/workflows/test.yml
 ${GEM_LIBDIR}/.gitignore



Home | Main Index | Thread Index | Old Index