about summary refs log tree commit diff
path: root/xlint
diff options
context:
space:
mode:
authormaxice8 <thinkabit.ukim@gmail.com>2018-12-05 09:53:52 -0200
committerLeah Neukirchen <leah@vuxu.org>2018-12-07 18:20:03 +0100
commit0645e7470851ac3ba8b387422523b97cd80a098e (patch)
tree332309e4e69326343dad7ae97f9286531624f98e /xlint
parentee382e95919d9f450bfd0ae89590680056a4dc53 (diff)
downloadxtools-0645e7470851ac3ba8b387422523b97cd80a098e.tar.gz
xtools-0645e7470851ac3ba8b387422523b97cd80a098e.tar.xz
xtools-0645e7470851ac3ba8b387422523b97cd80a098e.zip
xlint: advise on usage of py3_sitelib
Closes: #109 [via git-merge-pr]
Diffstat (limited to 'xlint')
-rwxr-xr-xxlint1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlint b/xlint
index e42c9fb..cd27a1c 100755
--- a/xlint
+++ b/xlint
@@ -273,6 +273,7 @@ for template; do
 	scan 'distfiles=.*ftp\.gnu\.org/(pub/)?gnu' 'use $GNU_SITE'
 	scan 'distfiles=.*freedesktop\.org/software' 'use $FREEDESKTOP_SITE'
 	scan 'distfiles=.*download.kde.org/stable' 'use $KDE_SITE'
+	scan 'usr/lib/python3.[0-9]/site-packages' 'use $py3_sitelib'
 	scan '^wrksrc=(\$\{[^}]+\}|[^${}/])*/.+' 'wrksrc should be a top-level directory'
 	scan '^\t*function\b' 'do not use the function keyword'
 	scan '^\t*[^ ]*  *\(\)' 'do not use space before function parenthesis'