From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iEZfDmHncGEi1AAAgWs5BA (envelope-from ) for ; Thu, 21 Oct 2021 06:06:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eNcFCmHncGHbNgAAB5/wlQ (envelope-from ) for ; Thu, 21 Oct 2021 04:06:57 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EA0672BEA1 for ; Thu, 21 Oct 2021 06:06:56 +0200 (CEST) Received: from localhost ([::1]:43960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdPM0-00063E-0e for larch@yhetil.org; Thu, 21 Oct 2021 00:06:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdPKB-0004lJ-Q5 for guix-patches@gnu.org; Thu, 21 Oct 2021 00:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdPKB-0001hy-GN for guix-patches@gnu.org; Thu, 21 Oct 2021 00:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdPKB-0005ij-Bh for guix-patches@gnu.org; Thu, 21 Oct 2021 00:05:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH 25/29] gnu: python-wrapt: Enable tests. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Oct 2021 04:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51314@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51314-submit@debbugs.gnu.org id=B51314.163478906021872 (code B ref 51314); Thu, 21 Oct 2021 04:05:03 +0000 Received: (at 51314) by debbugs.gnu.org; 21 Oct 2021 04:04:20 +0000 Received: from localhost ([127.0.0.1]:56005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPJU-0005gi-2J for submit@debbugs.gnu.org; Thu, 21 Oct 2021 00:04:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPJS-0005gF-EO for 51314@debbugs.gnu.org; Thu, 21 Oct 2021 00:04:18 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D8E3D240026 for <51314@debbugs.gnu.org>; Thu, 21 Oct 2021 06:04:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634789052; bh=qY2iLO8bFf+ArwiKFzeBnuEgkLHxwKCQVWeLk/elYmc=; h=From:To:Cc:Subject:Date:From; b=IcNXAPTbdcJc4yFk27ELiYvXm6Xf3hrTNDAWoeiw/VidI7u6x3fKQVxFESyOAsU6b afVlRA/YvrXx5K1a1zAv8LUw0LVJ4CZhWZNC9X6/m738im5IVdQHuy1vyK4upqze4R CybA4etD6QLF2Zr3SzPE29w+P1nTkr7yIcqZYIAGcq5CbwvGM7u5Qqi+00KgnrH4qu Z8NEXgXTYiFMXDtMlB9tdizA47Rl9p7+I88pdCdeGN1WH6zddM+ojaVQYvj5lD2ayh YGTnL0Yrk/zDtWp8CZNfWFHWNI8CmZdVW9jZXnMgB6GyiauNBZ0uyEDFrx0tOsAoKL xpZjSVONqe9Hw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HZYkz73v8z6tm9; Thu, 21 Oct 2021 06:04:11 +0200 (CEST) From: Vinicius Monego Date: Thu, 21 Oct 2021 04:01:56 +0000 Message-Id: <20211021040200.241873-21-monego@posteo.net> In-Reply-To: <20211021040200.241873-1-monego@posteo.net> References: <20211021040200.241873-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634789217; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hgyWi9oMIDQaPFCrFQx1QoS0EU6lQsc475alIb/K2XE=; b=pKrhdCNtxz/uobIo+iz0hJ6ZrXxJzi7chSxZd/zV0p9KBx9KxMJOoRI6iWdqgNCfpqaN14 7vFTKhw0PBBBO832j6l62t39t6ks74O6F0Ati73OTIZP8oOv8ZA8HK2BupGcYQrYlgZjDb ar3zSF+ueUPMWWDqT+dYli6+ZkPCVLc17bQ1jf3cc86tytSMbUmdTqRIjxlyZiYBtrG7Z5 YJ0pg+/VywMEIDsv8IGZcTuV7P8n9z5aqwqF+aeMhlSku8bo6rU0zMnHLgtdEw9xm0exf8 FPx0e1Cjek2ETTRIReF4LLwJQ2CqYaC1AiZ17QlIC8aw70f1ydt8+nFWQbdCOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634789217; a=rsa-sha256; cv=none; b=ldb3HPqQFWcx/1LuGe/aZAxf90fnTMIUYBVWsplgtzFI6IUYvuyC9z6ScNmbfANDGB2uJg /napI7h2IFhdRQo2vr0Rjx0XHGJtWi1LwqUGqYLFcQ/kh4e0Oc+WpRXsRkvhmAcSgDSPiu mgtjUaf8b8ENn2yyawIC0A2cQCrMD/0T7BVyLEM319N98nzMwyYWHTIbbnCgN0zIJtFauk jaFAPE2dMqoic+kEYtmcvPtnI9mxzUsUYZP7KpEj2IfX/Xq1fR3SICN8YuwvZ8vtbUX7N+ DZiBVN4zmhc6YGdu76XVZmk+Lp/WcPpbCwYC8MFTJlKN4yv5aN0I9G/xNw+jFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=IcNXAPTb; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=IcNXAPTb; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EA0672BEA1 X-Spam-Score: 3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: zpRhDhKttM8s * gnu/packages/python-xyz.scm (python-wrapt)[source]: Fetch from GitHub. [arguments]: Remove #:tests?. Override 'check phase. --- gnu/packages/python-xyz.scm | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5476e3913a..eef7ef5add 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10812,16 +10812,23 @@ Supported netlink families and protocols include: (version "1.12.1") (source (origin - (method url-fetch) - (uri (pypi-uri "wrapt" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/GrahamDumpleton/wrapt") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1mwpkdnqxf0yxj1a0hsnl06lf287qi5ap7309wm37x45zf0zlbxn")))) + (base32 "0943ixbiwixl5ch60vx7i2nia16534zgq2571ldzq1iimq3cz5vj")))) (build-system python-build-system) (arguments - ;; Tests are not included in the tarball, they are only available in the - ;; git repository. - `(#:tests? #f)) + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "unittest" "discover" + "-s" "tests"))))))) (home-page "https://github.com/GrahamDumpleton/wrapt") (synopsis "Module for decorators, wrappers and monkey patching") (description -- 2.30.2