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 uNJLKRmLHWZ/BAEAe85BDQ:P1 (envelope-from ) for ; Mon, 15 Apr 2024 22:16:25 +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 uNJLKRmLHWZ/BAEAe85BDQ (envelope-from ) for ; Mon, 15 Apr 2024 22:16:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=D9eluTb3; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=ZKEYaOJT; dmarc=pass (policy=none) header.from=gnu.org; 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=1713212185; a=rsa-sha256; cv=none; b=HbYh4MgT4a6gkev61wiKIMbVDdcVJ8YSwze5MkkSsjlMrjZWjBEOBRAJS0YLTgFoO7pQoB Gd95WsWGjojgy5Op35mn9YJDSJu8qB/L45UTKmnGx4jnOASHT0p0ggrVQ9FbGvGywu9HUO N3sUxr9wWkb9P5i4Dk6/L5d0MNd23iTTEdyVPrJHHbH96mKz0/zAnmiwm//Zh6j0cegG+c d0w8t3s03pMjefk9jgctNAVKPRs1DEThTj29k55t1JGNF88avEJX/5lr2w9neylUS8T1Qc H3Nu33kYWFHXwyu1Jz5OxC7BtfBpI1jAynnNCgBDoPVt1lL5cySh2DEetxc0IQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=D9eluTb3; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=ZKEYaOJT; dmarc=pass (policy=none) header.from=gnu.org; 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=1713212185; h=from:from:sender:sender:reply-to: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=6+1Pe3CfsSQJ102sZDYsaN3N+LSd75yOewxXEJ+r/3o=; b=nVJ7RQsFCPQtgWyIonmK8fUMmy2kWcA8IRmLMFbsXkNKC9X0pMWUv3ug4PmRyM/bZljkRe m3fPSy2dxb3nLwTZkbf90co0BllauAn99ch3jJRdE+Vk8l2zdE8xR5Oo+oh0nOtvgO8m9o DxCn7bYTMaJD/U13ehLC0udf+0Fd7nRd51tUiTzggz/eRx6pg3aAODseJqXN+qkM6Oh/bj 4rZ/83IKk3xzmIupjZrrtpKFNN4j57jQmPe8UDMfRtN7EJd0hDRb+iWPGqbnF+GAnzO/29 r+7fYsyX8AxQFz+VH8vagUlbNZjkWNR/Z/5EV10kXQd5/tjXvp6kHNY+3vEB+g== 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 51A4A692FA for ; Mon, 15 Apr 2024 22:16:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwSWN-0007wU-CR; Mon, 15 Apr 2024 16:01:43 -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 1rwQPz-0005vp-1u for guix-patches@gnu.org; Mon, 15 Apr 2024 13:47:01 -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 1rwQPx-0007EP-6v; Mon, 15 Apr 2024 13:46:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwQQ3-0002uQ-5K; Mon, 15 Apr 2024 13:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70400] [PATCH 2/7] gnu: Add python-pytoolconfig. Resent-From: Jonathan Pieper Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 15 Apr 2024 17:47:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70400 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70400@debbugs.gnu.org Cc: Jonathan Pieper , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 70400-submit@debbugs.gnu.org id=B70400.171320317010654 (code B ref 70400); Mon, 15 Apr 2024 17:47:03 +0000 Received: (at 70400) by debbugs.gnu.org; 15 Apr 2024 17:46:10 +0000 Received: from localhost ([127.0.0.1]:38562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwQPB-0002ld-Tx for submit@debbugs.gnu.org; Mon, 15 Apr 2024 13:46:10 -0400 Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]:51786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwQP7-0002jl-TA for 70400@debbugs.gnu.org; Mon, 15 Apr 2024 13:46:07 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4VJF2N1F0Qz9sT9 for <70400@debbugs.gnu.org>; Mon, 15 Apr 2024 19:45:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1713203148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6+1Pe3CfsSQJ102sZDYsaN3N+LSd75yOewxXEJ+r/3o=; b=D9eluTb3y2JIhMFV8CcBPx5ef424QF4YNGKFIrNf+z1/XOdEOHamzdyE1gYD9xeRIcvuNH LgVCybSn03ZEB1uJ7CzbYgDFf+RlyIVk6PSrSuRAHvOt3ETNtU+TMB3qt3qH+e3lRR+F/4 C/0YOSDVs4xNq103Gu95YncgVF0Psut82Skxg6wKfiFRBTKnUczza1VjlM9+BUP9xc/Wlq NZS+NLyn8SoxUX9qY1FJwnzf5CPCBvZWmCTQDYRRDmeZFmU5kgZMXUi9cMJ6jagWHJydk5 bqC3mNjBYQauHpxZRO3l8V8JOxzOGqi2MEOzDE6vijXke5Rpuaa9nD2qjN8OXw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1713203146; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6+1Pe3CfsSQJ102sZDYsaN3N+LSd75yOewxXEJ+r/3o=; b=ZKEYaOJTdP97Gfc+rPO/fnRuvXFufR1Gb/vQaesM9E6KhviDnq3NnaQmp/5wLpfI76CVF0 eSLeLHLQCOjWXaHMW5ZYvmvEXvr35gZtvWyJyFH9AlktSFijJfHBQPcIuSpjsgJ/M9pIie x8THdD6LDhNOTyUHVkNN3Cr8UEilcFsmBREn299hwQZnw8xGBU1jsA1RYmsuziwSwnXr5N YITMEk1/bx/AGu8YNGEuYP3Af1uVt10IC0Mp4mYCFixqAhtMChEcXjNRRnCE7LgKnJD6X+ o/uMxoXOdbC4Ur0uQp93U7UfmtAxCkUJcva6s1Eu2bCjFBm8HMQvVbH7qA/zkQ== Date: Mon, 15 Apr 2024 19:45:05 +0200 Message-ID: <06a250000a633c62b5d806c8849b94ed7b84fb3d.1713203110.git.jpieper@mailbox.org> In-Reply-To: <7d0ec10d21258d9f858f9c9fe2cde132d4a06106.1713203110.git.jpieper@mailbox.org> References: <7d0ec10d21258d9f858f9c9fe2cde132d4a06106.1713203110.git.jpieper@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: fm7a7t1n95yghxdec8iycu8cuduxira8 X-MBO-RS-ID: 92b2cf7bd0855f8d169 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 15 Apr 2024 16:01:41 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jonathan Pieper X-ACL-Warn: , Jonathan Pieper via Guix-patches From: Jonathan Pieper via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -6.47 X-Migadu-Queue-Id: 51A4A692FA X-Migadu-Spam-Score: -6.47 X-Migadu-Scanner: mx10.migadu.com X-TUID: oZVaotLnXRdR * gnu/packages/python-xyz.scm (python-pytoolconfig): New variable. --- gnu/packages/python-xyz.scm | 52 +++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9521119a84..27107c3d8f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -36309,6 +36309,58 @@ (define-public python-zeroc-ice-3.6 (base32 "0mikjfvq26kh8asnn9v55z41pap4c5ypymqnwwi4xkavc3mzyda2")))))) +(define-public python-pytoolconfig + (package + (name "python-pytoolconfig") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytoolconfig" version)) + (sha256 + (base32 "18isxi4ijarl949d0zmf0b4606r6hihpi3p5yb7763m4c7ra24i5")))) + (build-system pyproject-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (add-after 'unpack 'update-license + (lambda _ + (substitute* "pyproject.toml" + (("license-expression = (\"[^\"]*\")" all license) + (string-append "license = {text = " license "}"))))) + (add-after 'unpack 'remove-mypy + (lambda _ + (substitute* "pyproject.toml" + (("^.*mypy.*") + "") + (("strict = true") + "")))) + (add-after 'unpack 'use-pdm-backend-instead-of-pep517 + (lambda _ + (substitute* "pyproject.toml" + (("pdm-pep517") + "pdm-backend") + (("pdm\\.pep517\\.api") + "pdm.backend")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; Disable failing test. + (invoke "python" "-m" "pytest" "-k" + "not test_documentation"))))))) + (native-inputs (list python-pdm-backend + python-tomli + python-pytest + python-docutils + python-sphinx + python-tabulate)) + (propagated-inputs (list python-appdirs)) + (home-page "https://github.com/bagel897/pytoolconfig") + (synopsis "Python Tool Configuration") + (description + "This module manages configuration for python tools, +such as rope and add support for a pyproject.toml configuration file.") + (license license:lgpl3+))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar -- 2.41.0