From patchwork Fri Apr 28 05:51:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Kehayias X-Patchwork-Id: 49635 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 92D8927BBE9; Fri, 28 Apr 2023 06:53:12 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, 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 48C8D27BBE2 for ; Fri, 28 Apr 2023 06:53:11 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psH2Y-0006cB-7p; Fri, 28 Apr 2023 01:53:06 -0400 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 1psH2U-0006az-R3 for guix-patches@gnu.org; Fri, 28 Apr 2023 01:53:02 -0400 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 1psH2U-0003OW-H5 for guix-patches@gnu.org; Fri, 28 Apr 2023 01:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psH2U-0006hO-69 for guix-patches@gnu.org; Fri, 28 Apr 2023 01:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63139] [PATCH python 16/20] gnu: Add python-poetry-plugin-export. Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Apr 2023 05:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63139 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63139@debbugs.gnu.org Cc: John Kehayias Received: via spool by 63139-submit@debbugs.gnu.org id=B63139.168266112525621 (code B ref 63139); Fri, 28 Apr 2023 05:53:02 +0000 Received: (at 63139) by debbugs.gnu.org; 28 Apr 2023 05:52:05 +0000 Received: from localhost ([127.0.0.1]:60326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psH1Y-0006f5-L6 for submit@debbugs.gnu.org; Fri, 28 Apr 2023 01:52:05 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:51787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psH1U-0006dv-TT for 63139@debbugs.gnu.org; Fri, 28 Apr 2023 01:52:01 -0400 Date: Fri, 28 Apr 2023 05:51:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1682661115; x=1682920315; bh=d5UoJglFVtfrV3k+CwU7C4LEQ9Lva8tarQuQqN2s3W4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=jJyDEAJk0+by/DDv+pnEi+qq1UsGgMuidzZDeObipTyxLBP+jVz+yTMg6jHs2Untl dg2Tpa62ZQ3LinZHcqahSInrmOXFnJWX+0orUlGeVBLSDLJQqobZ3GoyHtxqNYSIBi IKOQGf+sIn0T5gVaNFHGU7pteQ7sXu8Fq4KKvLmwZE8r1jQ/FHmA9L8sy3Y9R/1m/Y QjDe3Ge8PSLzlMYFq/oQrnZkF77LgMh4WEbpdQH3oxB43PZQYPkgUXUINhkom1btQ1 ILIEztvQ63uSnYlU3bOiv3qlHdbEaWQHoE7Lz3sZ9wi1WM/zJLpif2dyeDH51P9jbv +P2PL0xVuCNmg== Message-ID: <076c78c91cfd2c25477226c20cb2f04b31f98d13.1682660105.git.john.kehayias@protonmail.com> In-Reply-To: References: Feedback-ID: 7805494:user:proton 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: , Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches X-Patchwork-Original-From: John Kehayias via Guix-patches via From: John Kehayias Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-poetry-plugin-export): New variable. --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) -- 2.39.2 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cbe3bb1094..e468844ff6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18133,6 +18133,35 @@ (define-public python-deepdiff for objects within other objects and DeepHash to hash any object.") (license license:expat))) +(define-public python-poetry-plugin-export + (package + (name "python-poetry-plugin-export") + (version "1.3.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "poetry_plugin_export" version)) + (sha256 + (base32 + "115zx9nqjbzpgj4akz9g5rzpd2pdykxbz584h6sz19d8awkp8jfr")))) + (build-system pyproject-build-system) + (native-inputs (list poetry + python-poetry-core + python-pytest + python-pytest-mock + python-pytest-xdist)) + (propagated-inputs (list python-pypa-build python-cachy python-pendulum)) + (home-page "https://github.com/python-poetry/poetry-plugin-export") + (synopsis "Poetry plugin to export the dependencies to various formats") + (description "This package is a plugin for Poetry that allows the export +of locked packages to various formats. + +Note: For now, only the @code{constraints.txt} and @code{requirements.txt} +formats are available. + +This plugin provides the same features as the existing export command of +Poetry which it will eventually replace.") + (license license:expat))) + (define-public poetry (package (name "poetry")