[arch-projects] [namcap] [PATCH] Fix testsuite to not hardcode the libalpm version.

2018-07-05 Thread Eli Schwartz via arch-projects
Namcap already depends on pyelftools, which contains an elegant way to retrieve the soname information directly from libalpm.so (demonstrated in readelf.py). Using hardcoded strings means the testsuite periodically breaks (every time the external pacman project bumps their soname), for no good

Re: [arch-projects] [namcap][PATCH 3/3] tests: Update to latest libaplm version

2018-07-05 Thread Eli Schwartz via arch-projects
Duplicate of https://lists.archlinux.org/pipermail/arch-projects/2018-July/004948.html And thus equally wrong. -- Eli Schwartz Bug Wrangler and Trusted User signature.asc Description: OpenPGP digital signature

[arch-projects] [namcap][PATCH 1/3] tree-wide: remove unused imports

2018-07-05 Thread Jelle van der Waa
Remove unused imports tree-wide, which also resolves the deprecationwarning for the imp module import which is now printed to stdout. Signed-off-by: Jelle van der Waa --- Namcap/rules/anyelf.py | 4 ++-- Namcap/rules/elffiles.py| 4 +--- Namcap/rules/extravars.py

[arch-projects] [namcap][PATCH 2/3] util: remove unused clean_filename

2018-07-05 Thread Jelle van der Waa
By removing the unused imports for clean_filename this function is now unused. --- Namcap/util.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Namcap/util.py b/Namcap/util.py index 68e3878..ecf8b44 100644 --- a/Namcap/util.py +++ b/Namcap/util.py @@ -60,6 +60,4 @@ def

[arch-projects] [namcap][PATCH 3/3] tests: Update to latest libaplm version

2018-07-05 Thread Jelle van der Waa
--- Namcap/tests/package/test_sodepends.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Namcap/tests/package/test_sodepends.py b/Namcap/tests/package/test_sodepends.py index 3a3d7b6..4188c35 100644 --- a/Namcap/tests/package/test_sodepends.py +++

[arch-projects] [namcap] [patch] Python 3.7 cleanups

2018-07-05 Thread Jelle van der Waa
This patch series cleans up unused imports and resolves the deprecation warning showns with Python 3.7