From patchwork Mon Apr 25 03:56:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 38820 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 C59A827BBEA; Mon, 25 Apr 2022 05:16:08 +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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,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 7EE3527BBE9 for ; Mon, 25 Apr 2022 05:16:08 +0100 (BST) Received: from localhost ([::1]:36836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niq8t-00046v-Jf for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 00:16:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nipus-0007oV-4I for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:52 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nipug-0001O0-S2 for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:31 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nipug-00083x-Qf for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:26 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55104] [PATCH 045/232] gnu: Add python-path-bootstrap. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 04:01:26 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55104@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 55104-submit@debbugs.gnu.org id=B55104.165085927730845 (code B ref 55104); Mon, 25 Apr 2022 04:01:26 +0000 Received: (at 55104) by debbugs.gnu.org; 25 Apr 2022 04:01:17 +0000 Received: from localhost ([127.0.0.1]:60780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipuW-00081E-F2 for submit@debbugs.gnu.org; Mon, 25 Apr 2022 00:01:16 -0400 Received: from mail-qv1-f48.google.com ([209.85.219.48]:47027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niptb-0007ng-UV for 55104@debbugs.gnu.org; Mon, 25 Apr 2022 00:00:21 -0400 Received: by mail-qv1-f48.google.com with SMTP id jt15so4941175qvb.13 for <55104@debbugs.gnu.org>; Sun, 24 Apr 2022 21:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=O1rm52yHQTsf9BS+V3YQzrgVE+sufP0pzK1NL88Ll9k=; b=gQTJxKfwQ+M9OIxKDHj4ZzPF7gFzHi+uyM78NMrn/k0vNvWh9hUPTDXVP689GtuU7g 5tWZH4bZrne8lE+ovgS91tDpUKVJzk+y5L2nDV/ghh00jGXfQWpPB+66HwLhPG2KY1yH e/K4iciBMbTkTAVmrI0jfRLhaGXntwRkBa7j5y4YkXJ+ITtLYg6uyAuSbIejIZLheP+a n8py7ww4Bj6MoNsrOX8L3GeoqbM7WzKp7O8vulTpYurP7MeL16nVBCZbCWKQ809yxKaY BM6Xxv+je2aT2apRv7Qo0g5l85Ujjhlv2gEFrVRkxFzBC+PLdi0lq6Ql1NyQljp8eIkD DaDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O1rm52yHQTsf9BS+V3YQzrgVE+sufP0pzK1NL88Ll9k=; b=SvCrvKNReue19c1EM4AIsTdfDuegJR6eQ3eGU9zIQ8/wFEH/k7INMwsbCCK7F51mfY TzTsiW9SLF4v2uzH+UWZJ0ayplcn59j5ESUK5n+id4pITkt9oq92W76E7FPazoY2XKJG 5lwG/8fRc+H88gQ7f7IC5ZMOTVWBgentnCYn0YmVIt5N9k+7bV5oU08ONdgJjzTpZ3eZ jfYsruIGlPaAsj2EJQUqYCjPFZawvpCAQ/X3OXcrVH58uLie9Oww1lU77m786Uoi6XnI W5wUPecscMQSz/9qRXYtWxiRyC4g9jhB5e1uAHjfIB8OSBwm9W2Zjqqm340bhuhNWJsP MoNg== X-Gm-Message-State: AOAM53211LJLvdP1dhDbC4d4dVO4wr9RsKgPkvdruskDTubc3Wle4jwG TUJOOSS4GdPo1b3px7K28o2FKwPvIwlsfQ== X-Google-Smtp-Source: ABdhPJzSo8TrOR4AJKN7iD0YdEUKuPXLh+9h8ylWSbfnkRYHhE8+No0+dV2DIGoobwn6hvrf85ahKQ== X-Received: by 2002:a05:6214:2349:b0:443:90ec:110b with SMTP id hu9-20020a056214234900b0044390ec110bmr11455525qvb.64.1650859214348; Sun, 24 Apr 2022 21:00:14 -0700 (PDT) Received: from localhost.localdomain (dsl-150-232.b2b2c.ca. [66.158.150.232]) by smtp.gmail.com with ESMTPSA id w82-20020a376255000000b0069ee3f0ae63sm4478142qkb.45.2022.04.24.21.00.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 21:00:13 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 24 Apr 2022 23:56:11 -0400 Message-Id: <20220425035918.25683-45-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220425035918.25683-1-maxim.cournoyer@gmail.com> References: <20220425035918.25683-1-maxim.cournoyer@gmail.com> 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 * gnu/packages/python-xyz.scm (python-path-bootstrap): New variable. --- gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3d481c419a..13c9694d9c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12556,6 +12556,44 @@ (define-public python-idna-ssl domains support.") (license license:expat))) +;;; Variant used to break a cycle with python-pip-run-bootstrap. +(define-public python-path-bootstrap + (hidden-package + (package + (name "python-path-bootstrap") + (version "16.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "path" version)) + (sha256 + (base32 "0lig13gxnfv98v790db1smvsbd3mnj7y8rwyiwhfi6xiqibygwms")))) + (build-system python-build-system) + (arguments + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + ;; XXX: PEP 517 manual build/install procedures copied from + ;; python-isort. + (replace 'build + (lambda _ + ;; ZIP does not support timestamps before 1980. + (setenv "SOURCE_DATE_EPOCH" "315532800") + (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((whl (car (find-files "dist" "\\.whl$")))) + (invoke "pip" "--no-cache-dir" "--no-input" + "install" "--no-deps" "--prefix" #$output whl))))))) + (native-inputs (list python-pypa-build python-setuptools-scm)) + (home-page "https://github.com/jaraco/path") + (synopsis "Object-oriented file system path manipulation library") + (description "@code{path} (formerly @code{path.py}) implements path +objects as first-class entities, allowing common operations on files to be +invoked on those path objects directly.") + (license license:expat)))) + (define-public python-pretend (package (name "python-pretend")