From 124b3b3ae9e42582abcd85ab30fb1a3c3f894632 Mon Sep 17 00:00:00 2001 From: Đoàn Trần Công Danh Date: Thu, 30 Jan 2020 19:05:33 +0700 Subject: xlint: allow pycompile_module when pycompile_dirs is set Some packages likes Carla shippes python script in custom location, xbps-src hasn't been taught to detect it. Allow pycompile_module for those packages. Closes: #166 [via git-merge-pr] --- xlint | 1 + 1 file changed, 1 insertion(+) diff --git a/xlint b/xlint index 16bea0f..0de1b2e 100755 --- a/xlint +++ b/xlint @@ -320,6 +320,7 @@ for template; do scan 'distfiles=.*download.kde.org/stable' 'use $KDE_SITE' scan 'distfiles=.*xorg\.freedesktop\.org/wiki/' 'use $XORG_HOME' scan 'usr/lib/python3.[0-9]/site-packages' 'use $py3_sitelib' + grep -q "^pycompile_dirs=" "$template" || scan 'pycompile_module=' 'do not set pycompile_module, it is autodetected' scan '^wrksrc=(\$\{[^}]+\}|[^${}/])*/.+' 'wrksrc should be a top-level directory' scan '^\t*function\b' 'do not use the function keyword' -- cgit 1.4.1