Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2018 18:59:08 +0000 (UTC)
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469754 - in head/ports-mgmt/portlint: . src
Message-ID:  <201805121859.w4CIx8jx035047@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcus
Date: Sat May 12 18:59:07 2018
New Revision: 469754
URL: https://svnweb.freebsd.org/changeset/ports/469754

Log:
  Bump version to 2.18.1.
  
  Soften the py-* dependency error around flavors.
  
  Now the message is a warning and a suggestion. This is pending more discussion,
  but this seems like a good compromise for now.
  
  PR:		225654
  Requested by:	antoine

Modified:
  head/ports-mgmt/portlint/Makefile
  head/ports-mgmt/portlint/src/portlint.pl

Modified: head/ports-mgmt/portlint/Makefile
==============================================================================
--- head/ports-mgmt/portlint/Makefile	Sat May 12 18:56:27 2018	(r469753)
+++ head/ports-mgmt/portlint/Makefile	Sat May 12 18:59:07 2018	(r469754)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	portlint
-PORTVERSION=	2.18.0
+PORTVERSION=	2.18.1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# none
 DISTFILES=	# none

Modified: head/ports-mgmt/portlint/src/portlint.pl
==============================================================================
--- head/ports-mgmt/portlint/src/portlint.pl	Sat May 12 18:56:27 2018	(r469753)
+++ head/ports-mgmt/portlint/src/portlint.pl	Sat May 12 18:59:07 2018	(r469754)
@@ -15,7 +15,7 @@
 # was removed.
 #
 # $FreeBSD$
-# $MCom: portlint/portlint.pl,v 1.459 2018/05/11 21:26:56 jclarke Exp $
+# $MCom: portlint/portlint.pl,v 1.461 2018/05/12 18:55:45 jclarke Exp $
 #
 
 use strict;
@@ -50,7 +50,7 @@ $portdir = '.';
 # version variables
 my $major = 2;
 my $minor = 18;
-my $micro = 0;
+my $micro = 1;
 
 # default setting - for FreeBSD
 my $portsdir = '/usr/ports';
@@ -1152,13 +1152,13 @@ sub check_depends_syntax {
 					$makevar{USE_PYTHON} eq 'noflavors' ||
 					$makevar{USE_PYTHON} eq '') {
 					if ($m{'fla'} ne '${PY_FLAVOR}') {
-						&perror("FATAL", $file, -1, "directory for dependency ".
-							"$m{'dep'} must be $m{'dir'}:\@\${PY_FLAVOR}");
+						&perror("WARN", $file, -1, "you may want directory for ".
+							"dependency $m{'dep'} to be $m{'dir'}:\@\${PY_FLAVOR}");
 					}
 				} else {
 					if ($m{'fla'} ne '${FLAVOR}') {
-						&perror("FATAL", $file, -1, "directory for dependency ".
-							"$m{'dep'} must be $m{'dir'}:\@\${FLAVOR}");
+						&perror("WARN", $file, -1, "you may want directory for ".
+							"dependency $m{'dep'} to be $m{'dir'}:\@\${FLAVOR}");
 					}
 				}
 			}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805121859.w4CIx8jx035047>