From patchwork Wed Sep 7 18:34:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Garek Dyszel X-Patchwork-Id: 42290 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 DF3B027BBEA; Wed, 7 Sep 2022 19:39:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 9D6F127BBE9 for ; Wed, 7 Sep 2022 19:39:22 +0100 (BST) Received: from localhost ([::1]:37534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVzxJ-0001EW-QE for patchwork@mira.cbaines.net; Wed, 07 Sep 2022 14:39:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVztC-0005tm-0M for guix-patches@gnu.org; Wed, 07 Sep 2022 14:35:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39339) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVztB-0005ZQ-LV for guix-patches@gnu.org; Wed, 07 Sep 2022 14:35:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVztB-00083j-HT for guix-patches@gnu.org; Wed, 07 Sep 2022 14:35:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57540] [RFC PATCH v2 16/19] gnu: Add python-editables.* gnu/packages/python-build.scm (python-editables): New variable. References: <79d544f7d8ba64b631a6f0f1d2ef0b08@disroot.org> In-Reply-To: <79d544f7d8ba64b631a6f0f1d2ef0b08@disroot.org> Resent-From: Garek Dyszel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Sep 2022 18:35:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57540 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57540@debbugs.gnu.org Received: via spool by 57540-submit@debbugs.gnu.org id=B57540.166257568830864 (code B ref 57540); Wed, 07 Sep 2022 18:35:05 +0000 Received: (at 57540) by debbugs.gnu.org; 7 Sep 2022 18:34:48 +0000 Received: from localhost ([127.0.0.1]:56255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVzst-00081j-Kj for submit@debbugs.gnu.org; Wed, 07 Sep 2022 14:34:47 -0400 Received: from knopi.disroot.org ([178.21.23.139]:56432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVzss-00081c-2I for 57540@debbugs.gnu.org; Wed, 07 Sep 2022 14:34:46 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 906DB49FDD for <57540@debbugs.gnu.org>; Wed, 7 Sep 2022 20:34:45 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id v3yQ8zMFCLk4 for <57540@debbugs.gnu.org>; Wed, 7 Sep 2022 20:34:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662575682; bh=qmcPxoBO+OBS1rmPFD2kj+zFqmaRZA0AcMWdywJSAuM=; h=From:To:Subject:Date; b=iJvI4ZTMI5W670bGgY/vSo/QouCx/QonkP1jgsE4/jbTiVPA6TfxKEDb5gi3lZ6Hs KJn0vjwk2Uar9ZeSNIPhGiOFK/UxoRk6X+R+gf+6v10FCgn7v0souGlrKyfZ62O21R Fm+Jh6PrbL40U86kF62DBRfj3eUCHNFye09J0cRN3J8CRhH7UCJQczeVtNJPSsxbf2 xb8cOPuisSxeFmBXaBjDMNNwLA58YzKmWmQJAJrzfAirHniZx3NR6R9ONQW94OGI4/ uIZBkVfwF+nalaxRIrRcfPa/iMdAujpHSOV1xCmp+TzE9GlaGmprdOqxHGJeNlHMEF H4BWp6j6FrmXA== Date: Wed, 07 Sep 2022 14:34:39 -0400 Message-ID: <877d2fvxs0.fsf@disroot.org> 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" Reply-to: Garek Dyszel X-ACL-Warn: , Garek Dyszel via Guix-patches X-Patchwork-Original-From: Garek Dyszel via Guix-patches via From: Garek Dyszel X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-build.scm (python-editables): New variable. --- gnu/packages/python-build.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index e7023aca0c..d7f93543f4 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2018, 2021, 2022 Maxim Cournoyer ;;; Copyright © 2021 Tobias Geerinckx-Rice ;;; Copyright © 2021, 2022 Ricardo Wurmus +;;; Copyright © 2022 Garek Dyszel ;;; ;;; This file is part of GNU Guix. ;;; @@ -474,3 +475,22 @@ (define-public python-setuptools-scm @dfn{software configuration management} (SCM) metadata instead of declaring them as the version argument or in a SCM managed file.") (license license:expat))) + +(define-public python-editables + (package + (name "python-editables") + (version "0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pfmoore/editables") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1gbfkgzmrmbd4ycshm09fr2wd4f1n9gq7s567jgkavhfkn7s2pn1")))) + (build-system python-build-system) + (home-page "https://github.com/pfmoore/editables") + (synopsis "Editable installations") + (description "Editable installations") + (license license:expat)))