From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uFinJDUEbGM8PQEAbAwnHQ (envelope-from ) for ; Wed, 09 Nov 2022 20:49:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id FCzKIzUEbGMcDwEAG6o9tA (envelope-from ) for ; Wed, 09 Nov 2022 20:49:09 +0100 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 2B9FB36A71 for ; Wed, 9 Nov 2022 20:49:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osr4K-0005Wx-8W; Wed, 09 Nov 2022 14:49:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osr4J-0005Wf-6S for guix-patches@gnu.org; Wed, 09 Nov 2022 14:49:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1osr4I-0006ev-UP for guix-patches@gnu.org; Wed, 09 Nov 2022 14:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1osr4I-0000Rj-DJ for guix-patches@gnu.org; Wed, 09 Nov 2022 14:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59155] [PATCH] gnu: python-colorful: Enable tests Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Nov 2022 19:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59155 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59155@debbugs.gnu.org Cc: Sharlatan Hellseher X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16680233301695 (code B ref -1); Wed, 09 Nov 2022 19:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Nov 2022 19:48:50 +0000 Received: from localhost ([127.0.0.1]:40948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osr46-0000RH-HO for submit@debbugs.gnu.org; Wed, 09 Nov 2022 14:48:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:47918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osr44-0000RA-Qi for submit@debbugs.gnu.org; Wed, 09 Nov 2022 14:48:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osr43-0005Uc-N6 for guix-patches@gnu.org; Wed, 09 Nov 2022 14:48:48 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1osr40-0006bC-V4 for guix-patches@gnu.org; Wed, 09 Nov 2022 14:48:46 -0500 Received: by mail-wm1-x335.google.com with SMTP id v7so11600478wmn.0 for ; Wed, 09 Nov 2022 11:48:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EbAar8sN25ROCl14i0LaKy2qTxtqrWycIreduRfkX4k=; b=kkeEY3of2WRfmIi9ZUry9vlXmiuOntPjPV60ni+t/67N9134NJLTzIiTfLbG6noAZL i3ikifS6KwEXYeo2XcO3bClCAFr+F5f+viByVUTKsrbRowEKMfNrT980Ra/rUgpky/2r JUNrwR9SjxJO40YBezrnY9MNcpZMDqTkI6HhsW/UiQsQhUzLrV8VEV7pk9Mcd5Mc/Xff L0zKpFRZaVWiBuJtMIJn9BVbnHcjUimqMbYij/XWR+JDU8KKeDWmAC1QYuwi3AO3Q6ai TYU1J/FlcTM5Fnvm4zCPA9QnLzY6wvpm9OJov+BUgkuSqIZ1qNMK0SwX294FjTxlpULk RSxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EbAar8sN25ROCl14i0LaKy2qTxtqrWycIreduRfkX4k=; b=Nrappp497daRrvQojHElpTmVPuXEWSxt7pEq9zEhiij3im2poX7GFNQ4B0rlMKuDL3 aWXj+UJtNcTWaCpPrqqh/9PPYAXza/B2pXCkuB/betxAaDjDJT1LmL7ib3Kz/c9Ukpi5 99HMRRlX7+AeEhFVGwi2/IWZtCkT22w+DCXyJm2+rgTyhygu2BhvMIOpGcoYrpGF6KMf q1OtRQ4S37qYBbF6mFxTDEOQVjdANzVyhtpkWixCtm7X0MEBRmLmD7EZYBrRMSStEyEx TVkCGP65ufwlBkiFPTlj2OjQgXiPoNuQiUjx+jJxhJJmAMZIooLNHcsaRkCMc2ETpsKD QDqQ== X-Gm-Message-State: ANoB5pnVQLm3F5gBxjluRHEuZ+del9rvSjM/hrUjf161vIEzcP2/pqQl 1n+hPzEaFpBT1H2m+/VifN6S4g5H0Cs= X-Google-Smtp-Source: AA0mqf4jNiv0wmn+Jp+iBURfVdsKaxMJJzHWW+0Uyeu8aK6cSRhqh3WEgC1ZRMpdLucP1N0OgB15yA== X-Received: by 2002:a05:600c:4e8b:b0:3cf:ad58:feaa with SMTP id f11-20020a05600c4e8b00b003cfad58feaamr11088071wmq.70.1668023321924; Wed, 09 Nov 2022 11:48:41 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id b30-20020a05600c4a9e00b003c6b70a4d69sm2237177wmp.42.2022.11.09.11.48.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 11:48:41 -0800 (PST) From: Sharlatan Hellseher Date: Wed, 9 Nov 2022 19:48:31 +0000 Message-Id: <20221109194831.27968-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=sharlatanus@gmail.com; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668023349; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EbAar8sN25ROCl14i0LaKy2qTxtqrWycIreduRfkX4k=; b=gcHYPrTPC1qQ0AIkfKV/WA1Uuvk0mLahCPWLWbwZlBMX5v/vGHfHri8uBY0PkgZ6qid2+2 SDci0i0Ps+PEpnqMvUrEfJytFv9snq8IaDDtGPBYLsRkBl8TgHA4gu4uaxPC/fHEB3LPKl sOgd10D8SrJwGNqZprKXKvtewjQz2NJTS+FPgCmWQxfAA/gYxdMazbfh1nW/BNPfsqK+mI NxpuTPRzKZMVI+Q2P5+1APn9C2I8FZ2w26mZO5+yOKmQCTUmSET7rqdwGUYrwglX5HpwI7 FvMuSPufyVizBZnW1wEN6n9aj7jIcYQ1GP6W+7ROq5F5dui6WxJ8kGTQqw4azw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668023349; a=rsa-sha256; cv=none; b=QapqqPm4jJ0PIeRLQKstaYhECTKCj8ie22AF63efeHlsqTfO1x4m+PFQ1oLbqF0NhyCFwU H9frX0jtTcWnB/J9b/Bh12H6ZFJwfS+xLjvs8gkr48hEIsKDZE21SiDRv56QT0qTKQIY1V MpdlAyV3ZYEusvSqBAMRXwn+z5Wba4PpsDYWFgjLTmmf/Z1DKgFkPP3XZveH+3W7Nvztn7 l+c7jM3LDKJ5xqhK4xx/mx8eqWyuoj5KrYaaj3EUbZ2VTl6wA0uNj3RJMC401Bk4riAT5E By9HmKh0ifJhpPFpCABcfqVHFlehU37npUfblVD2d51wRb4W037VlP2Yv+fq2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kkeEY3of; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kkeEY3of; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2B9FB36A71 X-Spam-Score: 7.28 X-Migadu-Scanner: scn1.migadu.com X-TUID: OqQHyPOWZ6pv * gnu/packages/python-xyz.scm (python-colorful): Enable tests. [source]: Use git checkout which has tests. [build-system]: Use pyproject-build-system. --- gnu/packages/python-xyz.scm | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e26656fa32..b2fb101409 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -677,16 +677,14 @@ (define-public python-colorful (version "0.5.4") (source (origin - (method url-fetch) - (uri - (pypi-uri "colorful" version)) + (method git-fetch) ; no tests data in PyPi package + (uri (git-reference + (url "https://github.com/timofurrer/colorful") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1sh7g2cn1fyz2hzmzs933razdxi2bna9i1lxa790r9pdwba8m146")))) - (build-system python-build-system) - ;; FIXME: tests cannot be computed: - ;; "Can't perform this operation for unregistered loader type" - (arguments - `(#:tests? #f)) + (base32 "1fcz5v8b318a3dsdha4c874jsf3wmcw3f25bv2csixclyzacli98")))) + (build-system pyproject-build-system) (native-inputs (list python-coverage python-flake8 python-pytest)) (propagated-inputs -- 2.38.0