[licensecheck] 87/112: Tidy Regexp::Pattern::License::Pattern: Rename pattern discl → asis_sw_name.

Jonas Smedegaard dr at jones.dk
Fri Nov 25 22:02:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository licensecheck.

commit d8f38b566256e4ee98abe99491f9825aa2f830cd
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri Nov 25 05:28:35 2016 +0100

    Tidy Regexp::Pattern::License::Pattern: Rename pattern discl → asis_sw_name.
---
 lib/Regexp/Pattern/License.pm       |  2 +-
 lib/Regexp/Pattern/License/Parts.pm | 14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/Regexp/Pattern/License.pm b/lib/Regexp/Pattern/License.pm
index 0a8f52e..fd6f30c 100644
--- a/lib/Regexp/Pattern/License.pm
+++ b/lib/Regexp/Pattern/License.pm
@@ -234,7 +234,7 @@ our %RE = (
 		'name.alt.org.debian' => 'BSD-2-clause',
 		caption               => 'BSD (2 clause)',
 		tags                  => ['bsd'],
-		pat => qr/$P{repro_notice_cond_discl}\b[^a-zA-Z]+$P{discl}/,
+		pat => qr/$P{repro_notice_cond_discl}\b[^a-zA-Z]+$P{asis_sw_name}/,
 	},
 	bsd_3_clause => {
 		name                  => 'BSD-3-Clause',
diff --git a/lib/Regexp/Pattern/License/Parts.pm b/lib/Regexp/Pattern/License/Parts.pm
index 68a3729..afc1b33 100644
--- a/lib/Regexp/Pattern/License/Parts.pm
+++ b/lib/Regexp/Pattern/License/Parts.pm
@@ -39,6 +39,8 @@ Patterns each covering a single part, e.g. a clause or a disclaimer phrase.
 
 =item * ad_always
 
+=item * asis_sw_name
+
 =item * cc
 
 =item * cc_by
@@ -63,8 +65,6 @@ Patterns each covering a single part, e.g. a clause or a disclaimer phrase.
 
 =item * derive_share
 
-=item * discl
-
 =item * discl_provide
 
 =item * discl_disclaim
@@ -178,6 +178,11 @@ our %RE = (
 		tags    => ['clause'],
 		pat     => qr/$redist_any must retain $ack[^a-zA-Z]+$product_by/,
 	},
+	asis_sw_name => {
+		caption => 'as-is (software, name)',
+		tags    => ['clause'],
+		pat     => qr/THIS SOFTWARE IS PROVIDED/,
+	},
 	cc => {
 		caption => 'Creative Commons qualifier',
 		tags    => ['qualifier'],
@@ -239,11 +244,6 @@ our %RE = (
 		pat =>
 			qr/source code of the altered version of this software available/,
 	},
-	discl => {
-		caption => 'disclaimer',
-		tags    => ['component'],
-		pat     => qr/THIS SOFTWARE IS PROVIDED/,
-	},
 	discl_provide => {
 		caption => 'disclaimer (provides)',
 		tags    => ['disclaimer'],

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/licensecheck.git



More information about the Pkg-perl-cvs-commits mailing list