From patchwork Thu Mar 3 14:19:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 37589 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8031627BBEA; Thu, 3 Mar 2022 14:22:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 83CBB27BBE9 for ; Thu, 3 Mar 2022 14:22:19 +0000 (GMT) Received: from localhost ([::1]:41224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPmLQ-0004Cr-RR for patchwork@mira.cbaines.net; Thu, 03 Mar 2022 09:22:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPmLC-0004Ca-Pl for guix-patches@gnu.org; Thu, 03 Mar 2022 09:22:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPmLC-0002v4-Fq for guix-patches@gnu.org; Thu, 03 Mar 2022 09:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nPmLC-0007Sd-CH for guix-patches@gnu.org; Thu, 03 Mar 2022 09:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54232] [PATCH 1/2] gnu: python-daemon: Use the git repo as source instead of pypi. References: <20220303105852.3535-1-attila@lendvai.name> In-Reply-To: <20220303105852.3535-1-attila@lendvai.name> Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Mar 2022 14:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54232 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54232@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 54232-submit@debbugs.gnu.org id=B54232.164631731828643 (code B ref 54232); Thu, 03 Mar 2022 14:22:02 +0000 Received: (at 54232) by debbugs.gnu.org; 3 Mar 2022 14:21:58 +0000 Received: from localhost ([127.0.0.1]:41922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPmL7-0007Rt-Tj for submit@debbugs.gnu.org; Thu, 03 Mar 2022 09:21:58 -0500 Received: from mail-ej1-f48.google.com ([209.85.218.48]:36494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPmL5-0007RY-Vv for 54232@debbugs.gnu.org; Thu, 03 Mar 2022 09:21:56 -0500 Received: by mail-ej1-f48.google.com with SMTP id a23so11022358eju.3 for <54232@debbugs.gnu.org>; Thu, 03 Mar 2022 06:21:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OIGbt+90iHr4b0wBWvY65a0QLpQQQR6g8ph+7QstvbM=; b=JWkHP/6pn+VWNXQxnHvvztJaiOoeFRoUcPRq8sz1mMIjOTOxKHMP/Zw+ahPnfAbb3+ mYCa98EoHHETFBnXj3/RjdqUXh9P1hLyccoSzR8QFhv1hCh8qsP/NRLFIHH+JxPa7jYi KRsAfCVq8d+6JPeKwpzGYt88Bp4dJdw7GsW4ye0f/36dpimTAzWgZZHP3GKQqUV8bC1E Fz0qinNILCriMwqZQ+DOlTIiy54RRWXNlwrTpuUec4NBml/t8Egz49q3ZIKWZQMOg6iJ 6ZERz3qfkFvORnk+dkzKgVjjjk6RVIKDn+cTXuBpMRpAi4WOr+uq6LuWdWtBQywTrLwi jpsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=OIGbt+90iHr4b0wBWvY65a0QLpQQQR6g8ph+7QstvbM=; b=tsFLubiaXlSE4Ykdf+lj5mTKokWA2krwNSXn9QNmZfQrrT3R2SkbYKGmoOYLKQjnUe Bd0UGl53l6Wi2Znp8N2knPkdW+l9R5mwVYKXECByiSs6lyuX7Y1Gw5XHaK/zX2YRRTSZ J4Rs/0QavRPODyKAqEw7j1AcSktMHtU8x+GWoCuR844BbCY1PkOEO7dbZldv5Y9p9UPn RfhNpcQtLyjHUcPdcqV5nQfe9yXidVCucbd8nxrz1tTfl+kdKDqq/pcPPz0oUPN3Yb1Q Cc3JtRck4ZIR8X5lof4Dq/CYe1AoOWgnjfa2tJMSi0Bf+jiCOHFR1KCVFNKE5ahH/tx9 oZbQ== X-Gm-Message-State: AOAM532KnbqSRRAlh1TQ6fFibkc6bYvXUPV9HWcUqCjDvg9feZLHkQYe qVWjRW4/MluorVGHRG+HIVlJJwjR6KQ= X-Google-Smtp-Source: ABdhPJziBabGCjpGvYO6kt+JXnDc2Te/LcFcaGIdkVVrOS+iktbtlTgOg9GWJWkahJWhdrHcUvWuZg== X-Received: by 2002:a17:906:3901:b0:6b2:9fc6:9b2 with SMTP id f1-20020a170906390100b006b29fc609b2mr26855069eje.327.1646317308986; Thu, 03 Mar 2022 06:21:48 -0800 (PST) Received: from lelap.local (catv-89-132-245-188.catv.fixed.vodafone.hu. [89.132.245.188]) by smtp.gmail.com with ESMTPSA id o7-20020a17090608c700b006cef23cf158sm736250eje.175.2022.03.03.06.21.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 06:21:48 -0800 (PST) From: Attila Lendvai Date: Thu, 3 Mar 2022 15:19:29 +0100 Message-Id: <20220303141929.6981-1-attila@lendvai.name> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- err... either i got confused, or someone (or was that me?) injected a substitute* to get rid of the problematic call, so the tests work. either way, this patch now reduces to the following: converting the source to come from the git repo instead of pypi. if that is not desirable, then feel free to close it. and sorry for the noise! gnu/packages/python-xyz.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c05502388e..c49cb97122 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4163,11 +4163,13 @@ (define-public python-daemon (version "2.3.0") (source (origin - (method url-fetch) - (uri (pypi-uri "python-daemon" version)) + (method git-fetch) + (uri (git-reference + (url "https://pagure.io/python-daemon.git") + (commit (string-append "release/" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1bxfn2bq56sd4w0nm9mqy8y0905m7fc8vmhnjxlrf49vcbqr7adx")))) + (base32 "1ysynb1m9vsww2nmhcypkk08xwifc3gw5yq10h1a1i11yn27w4y6")))) (build-system python-build-system) (arguments `(#:phases