From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id QKogHf19QmbzmQAAe85BDQ:P1 (envelope-from ) for ; Mon, 13 May 2024 22:54:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QKogHf19QmbzmQAAe85BDQ (envelope-from ) for ; Mon, 13 May 2024 22:54:21 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=HvSJMqfx; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715633661; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=2HwnMmahUyeTfjy9WU5dcVo+kX6oa2u4kaNK6LlGIlM=; b=Wg/kUqh24Fm4gIeWCAAgGbdtWNGbl8lBZdmtj5emfGSe+/ssBk692Ie58Uv9ZlCbUEMP+x Ix0gR5KavOSkJxoUnhxB3qDOyKBmf/M9j1bO6in1ZIf57ucZ1cSojGsNpffS4KnScAqEjn qcXbSIItj4TvI8CdBDz0Jk4a9/wOUlnPDTvVReomrmZ4zPqObvOuKBuv3AeIFxBwGn+g0h L/x5VIsbhMGKi18mrQ+AdEW0q4xu/+1hFH7T7dORA3eZkoEDqm0TZsfxycKEs5RXthynT2 rT6i6exi8UiN/9c7X3lZSXuAaJG6p4OKrTPo5rRhv2gEX0chNfSxZY9uRwZcuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=HvSJMqfx; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715633661; a=rsa-sha256; cv=none; b=O8mdx5DTA2zfA8jCaGhhOPQQ9/DuYDWT9ntL3kU1cw9YWyZYG5FSIl5r4ShRs+bXcyC33V 4mqvKE7iOZSSA2uuI94mQG+1X9++hF+u7oa5yAPhdXqGhQoaSV50/iHvnewsZ+YiCOEg5q onYPNUXRsxLSxai1wcb+i1pa/bICYkBVgXS39BtGyMFyhHGafIyAE3DL9O2wU1SF3p99O5 sV+4xDheiOWH4S83loihOb3cnMTd1DXlhiAbNrP3PUb6viD8aJf9y5EwEZFnw0aqK4/ULZ leibHflhig4/Gj8GYHvIiaOtffPhK3vY5eDobEDE9puOFnZFFk9iE2xKCgtblg== 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 3C62B6F517 for ; Mon, 13 May 2024 22:54:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6cgP-00014x-7u; Mon, 13 May 2024 16:54:05 -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 1s6cgO-00013f-3D for guix-patches@gnu.org; Mon, 13 May 2024 16:54:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6cgN-0000RX-Qh for guix-patches@gnu.org; Mon, 13 May 2024 16:54:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6cgO-0000mF-DT for guix-patches@gnu.org; Mon, 13 May 2024 16:54:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70924] [PATCH 06/10] gnu: Add python-pyproject-api. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 May 2024 20:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70924 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70924@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 70924-submit@debbugs.gnu.org id=B70924.17156336142895 (code B ref 70924); Mon, 13 May 2024 20:54:04 +0000 Received: (at 70924) by debbugs.gnu.org; 13 May 2024 20:53:34 +0000 Received: from localhost ([127.0.0.1]:34886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6cft-0000kd-U2 for submit@debbugs.gnu.org; Mon, 13 May 2024 16:53:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]:57059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6cfs-0000kK-1f for 70924@debbugs.gnu.org; Mon, 13 May 2024 16:53:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8FC5024002B for <70924@debbugs.gnu.org>; Mon, 13 May 2024 22:53:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1715633605; bh=HcCer0xQ21NKIQqL1BN0114WvwrpUHzu+wKk6TpBULU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=HvSJMqfxKUBrlj3F5p/z9BNLzh05Xi1HMXSHTS3T9su6DU9LQkheRizYxJjsL425A N8Ro5ZLt301FwQxA1QkMtnS0cBu2yLSUyIXlBPa+N7ru5u1DW0k+ZIODyOBA+0B8zn OuNok7yhNjHwGKGnDTTVcQB/f/wJlEz2OkatjsiQRLQXT39JOOlAsmfp1eiqFg632T DjSdwWbKZYFbmpVEOK1o8U5b+rSDwcAssi8EMDBbWZqImpcxzpxxVT+jN4EvqlqrkH EuqyLbnKnhWrXOIsw8alDWY0CMUcX+zqTX+NUFjtNSNjSzGva7FzyXMI9hEjnaPtGW bCbQjQuTtUrsQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VdWsw3y9pz9rxK; Mon, 13 May 2024 22:53:24 +0200 (CEST) From: Vinicius Monego Date: Mon, 13 May 2024 20:52:11 +0000 Message-Id: <80a138c1893532ec9188fd0905cbaaa583a6c609.1715633288.git.monego@posteo.net> In-Reply-To: <676c926b816fad99606d7803b3b43156fe4696a1.1715633288.git.monego@posteo.net> References: <676c926b816fad99606d7803b3b43156fe4696a1.1715633288.git.monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 3.93 X-Migadu-Queue-Id: 3C62B6F517 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 3.93 X-TUID: zjm5HkwwQS07 * gnu/packages/python-xyz.scm (python-pyproject-api): New variable. Change-Id: I4bef06ecebcf3c5df99196b75017a4d97c7f2dda --- gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 79c7b310d4..521005174e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17179,6 +17179,41 @@ (define-public python-forex-python @end itemize") (license license:expat))) +(define-public python-pyproject-api + (package + (name "python-pyproject-api") + (version "1.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyproject_api" version)) + (sha256 + (base32 "0f75rajzk72ay4x9ajw1835amm932q7cdn0yrbwiy3fwi80xq5qq")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; This test fails with AssertionError. + #~(list "-k" "not test_setuptools_prepare_metadata_for_build_wheel") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'relax-packaging + (lambda _ + (substitute* "pyproject.toml" + ;; We have packaging 21.3. + (("packaging>=23.1") "packaging>=21.3"))))))) + (propagated-inputs (list python-packaging python-tomli)) + (native-inputs (list python-covdefaults + python-hatch-vcs + python-hatchling + python-pytest + python-pytest-cov + python-pytest-mock)) + (home-page "https://pyproject-api.readthedocs.io/en/latest/") + (synopsis "API to interact with the Python pyproject.toml based projects") + (description "@code{pyproject-api} aims to abstract away interaction with +@code{pyproject.toml} style projects in a flexible way.") + (license license:expat))) + (define-public python-simpleeval (package (name "python-simpleeval") -- 2.39.2