From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GJdlGDcMGmQ5PwEASxT56A (envelope-from ) for ; Tue, 21 Mar 2023 20:57:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oOtvGDcMGmR5UAAAauVa8A (envelope-from ) for ; Tue, 21 Mar 2023 20:57:43 +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 08F29FD6E for ; Tue, 21 Mar 2023 20:57:42 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=TCt9IVMe; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679428663; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MyqUftRhXwkKbAVHnXv/Prgvbx60q2T+3tVxesScOU4=; b=qClCt7ZX27f2fsRwRIKvB6gZ73m0CJL7iJaYvbR9O5qvUORJJxigWG84p62sv0vfwMWkYe yd5ic5jGw6LbSFJ19za70huD0m9IlicgQcZEVURi+KCny8q4z5wZ5Q8vhuHyMkIaCoyEFn fiZd+ea3xeNMgarz5qNS3BspnzueLEHzSXDP+MwgGRp4zNme97C7CBSysV7ycx828Wqh1x v29ONk3L8tPtBA4Qwz2PKZMT4QQWDacpK3aZFudkVWVZ9H2ZJqgB8srqyf7VsoRE4y+ZXD dnNu59J31pdIq4EhqWySrkPbQ0pluz0K7/Ns1ik8RCYrs8Sk1Ftrf5/IeD4Rsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=TCt9IVMe; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679428663; a=rsa-sha256; cv=none; b=BdraesBU9mDbwxZyOfCN34nSNyreXW0HianA048kYa/k02yhpiqrIA4nRdI09TcqO71x3G PzMYPp8XpoeWDj9hlatH86cFxLJBnr3wbRMhmq1+RSjJGLLQPW6hYLRJPhsJhv6zyrzr5W +lmE0EukHmZhkCj6cGzCjsdfXiIff4Q2dUINcCsO3MBdU62wdcJrjNokTGE7ufAURYbZhk uBxoKLDwBoplIrA5siPA/HlyhDX+gTNmy9EIJ94XScoEoVBEWYjXLt69AJRdt2lom9/HSe p4KT2on1I+2OiqAZKDxJrfLoXlEXnFNajppzfdi+jHLun7eKorQhv7Y/QZZWLQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pei6f-00037S-Uh; Tue, 21 Mar 2023 15:57:17 -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 1pei6V-00031a-2y for guix-patches@gnu.org; Tue, 21 Mar 2023 15:57:07 -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 1pei6U-0000HL-RH for guix-patches@gnu.org; Tue, 21 Mar 2023 15:57:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pei6U-0003u0-NG for guix-patches@gnu.org; Tue, 21 Mar 2023 15:57:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62252] [PATCH v2 10/19] gnu: Add python-hatchling. References: <291d52e688bb1d56ecd6561282fd9713bf237ed9.camel@gmail.com> In-Reply-To: <291d52e688bb1d56ecd6561282fd9713bf237ed9.camel@gmail.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 19:57:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62252 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62252@debbugs.gnu.org Received: via spool by 62252-submit@debbugs.gnu.org id=B62252.167942861014869 (code B ref 62252); Tue, 21 Mar 2023 19:57:06 +0000 Received: (at 62252) by debbugs.gnu.org; 21 Mar 2023 19:56:50 +0000 Received: from localhost ([127.0.0.1]:60838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pei6D-0003rZ-PB for submit@debbugs.gnu.org; Tue, 21 Mar 2023 15:56:50 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:42896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pei65-0003oY-PU for 62252@debbugs.gnu.org; Tue, 21 Mar 2023 15:56:42 -0400 Received: by mail-ed1-f68.google.com with SMTP id o12so64251601edb.9 for <62252@debbugs.gnu.org>; Tue, 21 Mar 2023 12:56:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679428596; h=mime-version:message-id:to:subject:date:from:from:to:cc:subject :date:message-id:reply-to; bh=MyqUftRhXwkKbAVHnXv/Prgvbx60q2T+3tVxesScOU4=; b=TCt9IVMeywnkUlBs+5CFHxF8mS41zZC1+BIsOcAOGWApFaVGwXE4Gd4ReNk/5UzXMR iwUn7GMW2PV3+WKky+WWg1SECRVJz3GN5Zw+onB+mQo9ag/2OCDL2DdyG0DSUs6B/syK mjCAetZMuJ39DVG4Ih2MgQ6KAHG96z4c3cbm9YQpsJepTUd9fPM2/qRryt8JeCDXQNIN qWg31C7RI/S9Y+2L0MiWy5V+QyaEGr1igOU1Uon2LI8MyjduMT4nQrsUaurxSv2ew8hV ZSTTxqRcRqvBPCcHZA/7AkvnzZfu4Y1dUJG71ulaOLSU7E6j8emrk5RCz0oZNTFvk49I 7+Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679428596; h=mime-version:message-id:to:subject:date:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=MyqUftRhXwkKbAVHnXv/Prgvbx60q2T+3tVxesScOU4=; b=6InCnd5PNzeS7FtggWpSh7b36rMY+QguHEHCHgr9vCKuKgXGaneqSoZkSGnpT9hXm5 pwAPbRvmO3du1ifl7D5e4rErZHivMZVWR8LScmDX32qBA2pkKwGSrxmvVaKRvHsJxXEn OiDQUJxcCD/eAz0V2erI/LsMz2TgveqS4jpSicNvli7cDrMlWESe9fznjH9Hh9VPA9l/ nJvKfTztGjPiSyU7j/8OeCc4ZsU6f3p+b+g4YftIzopQsFHglsadA+3xafoU+zvfxXda sP3T2RE+lhvxQUZScs7qwWM+aSxQ3xbrzXx+mjXkm0Lmz/jHAKyswlOS6tt0hXzeBOyT z1DA== X-Gm-Message-State: AO0yUKXqy/EgigkHp5k9Lt88w3TpRe9jDzRo9PICwZU88MpMcsURJsXP CuI24LTozN7dNQZREEbNhfFvPd1xg+EFhw== X-Google-Smtp-Source: AK7set+JvBSsCtX+ZKzz/YnF+fAwyghVgGOPM0KUPtgBhknL7zulioaz0I9p8LtGaFXW9c6/K4e12Q== X-Received: by 2002:a17:906:950f:b0:930:21a:c80 with SMTP id u15-20020a170906950f00b00930021a0c80mr3990186ejx.47.1679428596264; Tue, 21 Mar 2023 12:56:36 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id le1-20020a170907170100b00930d505a567sm6165675ejc.128.2023.03.21.12.56.35 for <62252@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 12:56:35 -0700 (PDT) From: Liliana Marie Prikler Date: Sat, 18 Mar 2023 08:44:38 +0100 Message-ID: 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: X-Migadu-Queue-Id: 08F29FD6E X-Spam-Score: -1.75 X-Migadu-Spam-Score: -1.75 X-Migadu-Scanner: scn0.migadu.com 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-Country: US X-Migadu-Flow: FLOW_IN X-TUID: dB2jUiUJRqxk * gnu/packages/python-build.scm (python-hatchling) (python-hatchling-ouroboros): New variables. --- gnu/packages/python-build.scm | 46 +++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 1281824a97..cb6301689a 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -28,6 +28,7 @@ (define-module (gnu packages python-build) #:use-module (gnu packages) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system python) + #:use-module (guix build-system pyproject) #:use-module (guix gexp) #:use-module (guix download) #:use-module (guix git-download) @@ -622,3 +623,48 @@ (define-public python-pluggy-next (sha256 (base32 "0n8iadlas2z1b4h0fc73b043c7iwfvx9rgvqm1azjmffmhxkf922")))))) + +(define-public python-hatchling + (package + (name "python-hatchling") + (version "1.13.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "hatchling" version)) + (sha256 + (base32 + "1isk1kqra0sm2sj2yp39sgk62mx0bp1jnbkwdcl3a1vjrji7blpq")))) + (arguments + ;; Tests don't appear to be integrated into build. + ;; Also, we can't rely on python-pytest anyway, as that's in + ;; (gnu packages python-check)... + (list #:tests? #f)) + (propagated-inputs + (list python-editables + python-pathspec + python-pluggy-next + python-tomli)) + (native-inputs (list python-hatchling-ouroboros)) + (build-system pyproject-build-system) + (home-page "https://hatch.pypa.io/") + (synopsis "Modern, extensible Python build backend") + (description "Modern, extensible Python build backend") + (license license:expat))) + +(define python-hatchling-ouroboros + (package/inherit python-hatchling + (name "python-hatchling-ouroboros") + (version (package-version python-hatchling)) + (arguments + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (copy-recursively "src/hatchling/" + (string-append (site-packages inputs outputs) + "/hatchling"))))))) + (native-inputs '()))) -- 2.39.2