summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/repoman/checks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py
index 58ac20df0..e7472df72 100644
--- a/pym/repoman/checks.py
+++ b/pym/repoman/checks.py
@@ -587,19 +587,19 @@ class SrcUnpackPatches(PhaseCheck):
class BuiltWithUse(LineCheck):
repoman_check_name = 'ebuild.minorsyn'
- re = re.compile('^.*built_with_use')
+ re = re.compile(r'(^|.*\b)built_with_use\b')
error = errors.BUILT_WITH_USE
class DeprecatedUseq(LineCheck):
"""Checks for use of the deprecated useq function"""
repoman_check_name = 'ebuild.minorsyn'
- re = re.compile('^.*useq')
+ re = re.compile(r'(^|.*\b)useq\b')
error = errors.USEQ_ERROR
class DeprecatedHasq(LineCheck):
"""Checks for use of the deprecated hasq function"""
repoman_check_name = 'ebuild.minorsyn'
- re = re.compile('^.*hasq')
+ re = re.compile(r'(^|.*\b)hasq\b')
error = errors.HASQ_ERROR
# EAPI-3 checks