From patchwork Thu Jul 5 20:28:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jelle van der Waa X-Patchwork-Id: 676 Return-Path: Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 052785476154 for ; Thu, 5 Jul 2018 20:28:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=DKIM_SIGNED=0.1, MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,T_DKIM_INVALID=1 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-BL-Results: [127.0.9.2] [127.0.0.11] Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by apollo.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:54 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id CC790BB0BA944; Thu, 5 Jul 2018 20:28:48 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [IPv6:2a01:4f8:160:3033::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Thu, 5 Jul 2018 20:28:48 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 177EB2BC57; Thu, 5 Jul 2018 20:28:45 +0000 (UTC) Authentication-Results: luna.archlinux.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=vdwaa-nl.20150623.gappssmtp.com header.i=@vdwaa-nl.20150623.gappssmtp.com header.b=RWxzsAPz Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id A6DA12C324 for ; Thu, 5 Jul 2018 20:28:42 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by luna.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:42 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id D6BFFBB0BA915 for ; Thu, 5 Jul 2018 20:28:37 +0000 (UTC) Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:37 +0000 (UTC) Received: by mail-ed1-x541.google.com with SMTP id v22-v6so7090216edq.4 for ; Thu, 05 Jul 2018 13:28:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vdwaa-nl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sj1fkkoPcSsCL8UpjFjenTJYZBXCLsQEYpj7IiNUtZU=; b=RWxzsAPzHVJIAZobb1Bnas35seQaSqEA9YOaPk9Ylrp5qSOLfnFcmtTLzv+d58M0kO m29HAnxQ7q793148dY2sss1pWK0w1Q+sgoEFWgW+M+wMREHn1O6mUTpiA6lf2oHv6Et/ dCj7xHmnNx+TEk+C2+ACIst9+5wBKEW5i9nPIGp4L6Gq0TL7l85X4nmKdDJ2bE0keNc2 xYs4iJ+ECyiTyPlErhdRLwMxVJlhYHfJPVz1VczhXfHX0aWqajTpCRZDiIgOvOvBm8RH jbkGWxjl8KzlViHL7L87IuheVyVCtBtQtIElP8elpxkKu/LKrmtUPWbMiKA24KuCURAO eqNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=sj1fkkoPcSsCL8UpjFjenTJYZBXCLsQEYpj7IiNUtZU=; b=W9im67hkOdiVWMl6yVuCwkvfNi0s9dinnFP+fXZgev/vtKQuVDU2OmmoGZsWCcoGkR yrTrcqOGnKKw9ne2Gik2cWF300N0mw2eEIQj/srOSidBriFJqsHOvZHjnMzzrjHIoYs4 0/16cRCFdDUr/NMH67/Au00OLHHZjcj7RkruokAjK2tC4aD5KtDBvnAlCgJCxERGHQzn gKiyZK9gS8Up9652CBp/pN/Yqax9Q3qgXkBwC3Ufrdyjc/Dvyek0V2o1erbbgREq9PHD HUdbClQpG1Yi9ryGz3btcIfMmxrD4p3uBfh4dx6lGwTGg+3rW8KVrzlGN8sgbmpO6Am4 3cKQ== X-Gm-Message-State: APt69E3IbR+OdW/Kfkf23NKfWizh8GGZ9UGVmuVtbJqqnCFwn/q7VYCj xdr3Mk0wOMaNgaHH69Q+tkveMGtXjDQ= X-Google-Smtp-Source: AAOMgpen++tqfVnc2AIWQwq6UOo/nPRjQRGOJnLwEzUsDq9kRCkxryQ7FMNJPk4VhMCMvbLQ9aygbA== X-Received: by 2002:a50:89aa:: with SMTP id g39-v6mr7713635edg.25.1530822517309; Thu, 05 Jul 2018 13:28:37 -0700 (PDT) Received: from localhost (53541122.cm-6-5a.dynamic.ziggo.nl. [83.84.17.34]) by smtp.gmail.com with ESMTPSA id f22-v6sm2924185edr.22.2018.07.05.13.28.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jul 2018 13:28:36 -0700 (PDT) From: Jelle van der Waa To: arch-projects@archlinux.org Date: Thu, 5 Jul 2018 22:28:29 +0200 Message-Id: <20180705202831.3704-2-jelle@vdwaa.nl> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180705202831.3704-1-jelle@vdwaa.nl> References: <20180705202831.3704-1-jelle@vdwaa.nl> Subject: [arch-projects] [namcap][PATCH 1/3] tree-wide: remove unused imports X-BeenThere: arch-projects@archlinux.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Arch Linux projects development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Arch Linux projects development discussion Errors-To: arch-projects-bounces@archlinux.org Sender: "arch-projects" 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 | 1 - Namcap/rules/fhs.py | 1 - Namcap/rules/javafiles.py | 1 - Namcap/rules/mimefiles.py | 1 - Namcap/rules/shebangdepends.py | 1 - Namcap/rules/sodepends.py | 1 - Namcap/rules/unusedsodepends.py | 2 +- Namcap/tests/pkgbuild/test_carch.py | 1 - Namcap/util.py | 1 - namcap.py | 5 ----- 12 files changed, 4 insertions(+), 19 deletions(-) diff --git a/Namcap/rules/anyelf.py b/Namcap/rules/anyelf.py index 1e497e4..27f394c 100644 --- a/Namcap/rules/anyelf.py +++ b/Namcap/rules/anyelf.py @@ -21,8 +21,8 @@ Check for ELF files to see if a package should be 'any' architecture """ -import os, re -from Namcap.util import is_elf, is_static, clean_filename +import re +from Namcap.util import is_elf, is_static from Namcap.ruleclass import * class package(TarballRule): diff --git a/Namcap/rules/elffiles.py b/Namcap/rules/elffiles.py index 431a04d..d707a58 100644 --- a/Namcap/rules/elffiles.py +++ b/Namcap/rules/elffiles.py @@ -18,13 +18,11 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -import os - from elftools.elf.elffile import ELFFile from elftools.elf.dynamic import DynamicSection from elftools.elf.sections import SymbolTableSection -from Namcap.util import is_elf, clean_filename +from Namcap.util import is_elf from Namcap.ruleclass import * # Valid directories for ELF files diff --git a/Namcap/rules/extravars.py b/Namcap/rules/extravars.py index df0c0bf..89a438f 100644 --- a/Namcap/rules/extravars.py +++ b/Namcap/rules/extravars.py @@ -17,7 +17,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -import re from itertools import product from Namcap.ruleclass import * diff --git a/Namcap/rules/fhs.py b/Namcap/rules/fhs.py index 6a40ca4..9213da0 100644 --- a/Namcap/rules/fhs.py +++ b/Namcap/rules/fhs.py @@ -18,7 +18,6 @@ # import os, re -import tarfile from Namcap.ruleclass import * class FHSRule(TarballRule): diff --git a/Namcap/rules/javafiles.py b/Namcap/rules/javafiles.py index 40ff856..50413e4 100644 --- a/Namcap/rules/javafiles.py +++ b/Namcap/rules/javafiles.py @@ -18,7 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -import os from Namcap.ruleclass import * from Namcap.util import is_java diff --git a/Namcap/rules/mimefiles.py b/Namcap/rules/mimefiles.py index 4825867..f9d56f4 100644 --- a/Namcap/rules/mimefiles.py +++ b/Namcap/rules/mimefiles.py @@ -18,7 +18,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -import os from Namcap.ruleclass import * class MimeDesktopRule(TarballRule): diff --git a/Namcap/rules/shebangdepends.py b/Namcap/rules/shebangdepends.py index 7d83ff4..07896df 100644 --- a/Namcap/rules/shebangdepends.py +++ b/Namcap/rules/shebangdepends.py @@ -21,7 +21,6 @@ """Checks dependencies on programs specified in shebangs.""" -import os import shutil import Namcap.package from Namcap.util import is_script, script_type diff --git a/Namcap/rules/sodepends.py b/Namcap/rules/sodepends.py index bce3a40..2f061bb 100644 --- a/Namcap/rules/sodepends.py +++ b/Namcap/rules/sodepends.py @@ -30,7 +30,6 @@ from Namcap.ruleclass import * from Namcap.util import is_elf from Namcap.rules.rpath import get_rpaths -from elftools.elf.enums import ENUM_D_TAG from elftools.elf.elffile import ELFFile from elftools.elf.dynamic import DynamicSection diff --git a/Namcap/rules/unusedsodepends.py b/Namcap/rules/unusedsodepends.py index abfb3ba..4b148d9 100644 --- a/Namcap/rules/unusedsodepends.py +++ b/Namcap/rules/unusedsodepends.py @@ -20,7 +20,7 @@ import os, subprocess, re import tempfile -from Namcap.util import is_elf, clean_filename +from Namcap.util import is_elf from Namcap.ruleclass import * libre = re.compile('^\t(/.*)') diff --git a/Namcap/tests/pkgbuild/test_carch.py b/Namcap/tests/pkgbuild/test_carch.py index 2d95b81..728cbd2 100644 --- a/Namcap/tests/pkgbuild/test_carch.py +++ b/Namcap/tests/pkgbuild/test_carch.py @@ -19,7 +19,6 @@ # USA # -import unittest from Namcap.tests.pkgbuild_test import PkgbuildTest import Namcap.rules.carch as module diff --git a/Namcap/util.py b/Namcap/util.py index f8d38dd..68e3878 100644 --- a/Namcap/util.py +++ b/Namcap/util.py @@ -17,7 +17,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -import os import re def _file_has_magic(fileobj, magic_bytes): diff --git a/namcap.py b/namcap.py index b62a2fa..21f83f2 100755 --- a/namcap.py +++ b/namcap.py @@ -20,14 +20,9 @@ # import getopt -import imp import os -import re -import shutil -import string import sys import tarfile -import types import Namcap.depends import Namcap.tags From patchwork Thu Jul 5 20:28:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jelle van der Waa X-Patchwork-Id: 674 Return-Path: Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 0C91E5476139 for ; Thu, 5 Jul 2018 20:28:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=DKIM_SIGNED=0.1, MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,T_DKIM_INVALID=1 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-BL-Results: [127.0.9.2] [127.0.0.11] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:46 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 2B143BB0BA924; Thu, 5 Jul 2018 20:28:42 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [5.9.250.164]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Thu, 5 Jul 2018 20:28:41 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id C472C2C66F; Thu, 5 Jul 2018 20:28:41 +0000 (UTC) Authentication-Results: luna.archlinux.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=vdwaa-nl.20150623.gappssmtp.com header.i=@vdwaa-nl.20150623.gappssmtp.com header.b=Y7ly2hfr Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 6AB382C52E for ; Thu, 5 Jul 2018 20:28:40 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by luna.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:40 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 6AED6BB0BA917 for ; Thu, 5 Jul 2018 20:28:39 +0000 (UTC) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:39 +0000 (UTC) Received: by mail-ed1-x534.google.com with SMTP id r17-v6so7070637edo.13 for ; Thu, 05 Jul 2018 13:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vdwaa-nl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Lmr2MOVIRg6yFIDhk3Fkugy4jB65ijZdVTOIFRXPyVs=; b=Y7ly2hfr4YtOl98GBd41pWvQpyWyF8n1jSnh3yH0gL6NoDTLjPVfz8JfN1F6rhNc6k y/s1y4q2mry8DqIoDsfz3znAVn1wkMQLHTmfuOPorlkZY28DAjPMygjl/ZpshzspDZxu BiV5Y/H/Bl44MJw7GzbukLmW5wjgnBcmj3HQgcqSAlzr81pNXFYsCs5x4JjhsLMWuI5j ZMXS8rLus0kK2hHIKtoNgk3Xl0kNp+DOHs6uxL5SofICF5kcvpoof12S1xL9LuKGwxkX W8josA1J0ZD3Ad3onuJuuP/KOySvNxZyJ/FanlUid6EIUjh4R1Yta/iyd1k95vlvXpqh T9sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Lmr2MOVIRg6yFIDhk3Fkugy4jB65ijZdVTOIFRXPyVs=; b=OeI/Spru4UnS9UyfU6WpBoNcbWdNa+5tevT9RVKj1fv0gltrcWA9qOMYEHr2UukfVE EUj0IUOOmhKs+h+JGubRHcgA68qC88L1XKfesWEsMMfSQYlpNcfli3reL7Yzvh+dwWww xD9cv2r5NBnQIsc1iVJ2Jhlld8tRfpAIcVXtkV1RirIwcTyP1cIzuumovOdRaKjzWaf+ rxEZeYMA0xze3uRR1Cc26w4TVz90PLYDMb/t/AKZ8yu2WYFBpPam9mqyODxiJ2MJNdvK Knb3rd3Z6PyDgS22mjnOV4A7z+grxTySI16JUhHBvVMvUQi6dyKrzTwc26J4BHuXrUSC oMVQ== X-Gm-Message-State: APt69E0Pf3StajtkaW3VZTGI5swB9TWPJE5QGrqmZiStcT/p5/RYz9WG 6Ha8KVB8XgQR75CPNimPd7IZxSvk4zk= X-Google-Smtp-Source: AAOMgpdZRUvT+cwbbdfVhR0xUif0TmvH7MQ7+vz+22n9pc6iy+DZAChIzZ1uSkGRCn4CKvexgQONfw== X-Received: by 2002:a50:b306:: with SMTP id q6-v6mr7836497edd.264.1530822518857; Thu, 05 Jul 2018 13:28:38 -0700 (PDT) Received: from localhost (53541122.cm-6-5a.dynamic.ziggo.nl. [83.84.17.34]) by smtp.gmail.com with ESMTPSA id h2-v6sm8377443edl.77.2018.07.05.13.28.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jul 2018 13:28:37 -0700 (PDT) From: Jelle van der Waa To: arch-projects@archlinux.org Date: Thu, 5 Jul 2018 22:28:30 +0200 Message-Id: <20180705202831.3704-3-jelle@vdwaa.nl> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180705202831.3704-1-jelle@vdwaa.nl> References: <20180705202831.3704-1-jelle@vdwaa.nl> Subject: [arch-projects] [namcap][PATCH 2/3] util: remove unused clean_filename X-BeenThere: arch-projects@archlinux.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Arch Linux projects development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Arch Linux projects development discussion Errors-To: arch-projects-bounces@archlinux.org Sender: "arch-projects" 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 script_type(fileobj): name = cmd[1] return name -clean_filename = lambda s: re.search(r"/tmp/namcap\.[0-9]*/(.*)", s).group(1) - # vim: set ts=4 sw=4 noet: From patchwork Thu Jul 5 20:28:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jelle van der Waa X-Patchwork-Id: 675 Return-Path: Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id ED4715476144 for ; Thu, 5 Jul 2018 20:28:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on apollo X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=DKIM_SIGNED=0.1, MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,T_DKIM_INVALID=1 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-BL-Results: [127.0.9.2] [127.0.0.11] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:49 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id E30DEBB0BA92C; Thu, 5 Jul 2018 20:28:44 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [IPv6:2a01:4f8:160:3033::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Thu, 5 Jul 2018 20:28:44 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id E711E2C673; Thu, 5 Jul 2018 20:28:43 +0000 (UTC) Authentication-Results: luna.archlinux.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=vdwaa-nl.20150623.gappssmtp.com header.i=@vdwaa-nl.20150623.gappssmtp.com header.b=fYlYmGn0 Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 3FEAA2C7B0 for ; Thu, 5 Jul 2018 20:28:42 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by luna.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:42 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id A577CBB0BA91E for ; Thu, 5 Jul 2018 20:28:40 +0000 (UTC) Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for ; Thu, 5 Jul 2018 20:28:40 +0000 (UTC) Received: by mail-ed1-x541.google.com with SMTP id x5-v6so3404537edr.0 for ; Thu, 05 Jul 2018 13:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vdwaa-nl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Mnc/yqEIM3Yj5aSEB5RaXApROuaxNBocBb9KW4EREl0=; b=fYlYmGn0R849olExJliNoxeeHwVTNnlQrNwMrlyhvsw4d0K1mjZrxAWpSM5Ff1GPaW WrCoBvmTKPnSQGM6tsIOeasY88IIIeHjHIgwNVIzHMPC5kXyX7jKdYmS7yt3JohYpQ8y ahVXgTtXYou7BX1t+hVwRp6Vx6DV275pHksdEiU4e3iQXHTAbvQ1Zp3ehD4t3O8X4rO7 n9cUWxzMK9eDl+Yv7Qx+GjAFHUh3z17xIOKJ+hGuso5zVOl8k15CAq6TyxxHBfPeHCmg PWoe8PKEG9Jf6OnbiojIgAKdfrm09BpKoK0HnEZzanmQkSEsapXHGzHZ/IrZp0cMybbV mXog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Mnc/yqEIM3Yj5aSEB5RaXApROuaxNBocBb9KW4EREl0=; b=g+FkfH5/mjudtsu9/X//SY7uAHW2J37AS8mImk8sNpafmL960a6e1dAtreqKMezbZk gwaPG2Uf0QzSz4dvDpCXF+atru0KfiuV9Ezhb+LdzMb7dNiMgCGRqdo3PQUlVeX+ySTA sjRgvOFGkexoJP3Z7VZDHW9OVBoeigLNYgSFgXrOPMJD0pHHI5faO46Q6OqDBgDL7fsU GqJUbYNCbBnSTTPF59CnqBHBoihijQR9pixwUBT20rUWyMwe49ybuqALC+8mCruQTVOZ 930GNY24Unz9KAgDEmHxp9/FIJ2Nl2r6kgf1Puu1D1Tlri4jl2WgzVPomJ/d7T6LnF3A mChw== X-Gm-Message-State: APt69E2KWoy0j/qcxAaJtBzcb2Ys9HesnYgeM1BElAImELeges/Mxq9v ReVt829eaUWp/Q+xl0NCOrUZBJZ0w0s= X-Google-Smtp-Source: AAOMgpdmL1wXn4NNb6Rmw2leyX9XKUgEtdI6Y/ByfyfQJO0pqxxjhkDW54Tqy91A8uRhgVl2XnsuCw== X-Received: by 2002:a50:a624:: with SMTP id d33-v6mr7971340edc.8.1530822520132; Thu, 05 Jul 2018 13:28:40 -0700 (PDT) Received: from localhost (53541122.cm-6-5a.dynamic.ziggo.nl. [83.84.17.34]) by smtp.gmail.com with ESMTPSA id f22-v6sm2924207edr.22.2018.07.05.13.28.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jul 2018 13:28:39 -0700 (PDT) From: Jelle van der Waa To: arch-projects@archlinux.org Date: Thu, 5 Jul 2018 22:28:31 +0200 Message-Id: <20180705202831.3704-4-jelle@vdwaa.nl> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180705202831.3704-1-jelle@vdwaa.nl> References: <20180705202831.3704-1-jelle@vdwaa.nl> Subject: [arch-projects] [namcap][PATCH 3/3] tests: Update to latest libaplm version X-BeenThere: arch-projects@archlinux.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Arch Linux projects development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Arch Linux projects development discussion Errors-To: arch-projects-bounces@archlinux.org Sender: "arch-projects" --- 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 +++ b/Namcap/tests/package/test_sodepends.py @@ -56,13 +56,13 @@ package() { ) self.assertEqual(pkg.detected_deps['pacman'], [ ('libraries-needed %s %s', - (str(['usr/lib/libalpm.so.10']), str(["usr/bin/main"])) + (str(['usr/lib/libalpm.so.11']), str(["usr/bin/main"])) )] ) e, w, i = Namcap.depends.analyze_depends(pkg) self.assertEqual(e, [ ('dependency-detected-not-included %s (%s)', - ('pacman', "libraries ['usr/lib/libalpm.so.10'] needed in files ['usr/bin/main']")) + ('pacman', "libraries ['usr/lib/libalpm.so.11'] needed in files ['usr/bin/main']")) ]) self.assertEqual(w, [])