From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kMY0BgLjJmWILQAA9RJhRA:P1 (envelope-from ) for ; Wed, 11 Oct 2023 20:01:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kMY0BgLjJmWILQAA9RJhRA (envelope-from ) for ; Wed, 11 Oct 2023 20:01:38 +0200 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 AA419423A9 for ; Wed, 11 Oct 2023 20:01:37 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=ccs7IMUX; dmarc=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=1697047298; a=rsa-sha256; cv=none; b=J7kKxkVv+i37+8VQFNNV/epUkwPetGXfrWQdfjM0q6OcImSksAHePZjf0YawiXBT39H0cO jRJGiGWTpGNZQGDBKw7fLWOK3WwNkX3mgTT4FIIg9YPUv2r4Tciybg8m913xmPcX3FMfTy DAhtEurhRU+dMMXrWTJqqzIQZZgD/qpx0EGezyaHFn8JIPk9sanIbJRULOTDRGyTapgcbF 9FzaoDRc/KIbUiP5Fr/kjddM+M/LygREgWsAg/O3BDuSiMu6je6e0fpXhQotHg/1kVg5fb txV/S/NT8C5eQhDXfb3v+WFB+iwYoFOhXop9d9nHSeVfgn5ZS981pDBNf5fx4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=ccs7IMUX; dmarc=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=1697047298; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=znafgczm7oDIvweiMgbdyKglbLKD8Sz/UniTVAGfQJ4=; b=PWhrgwgVdj35Jjb9JNbJM+AwRzThU4hI5Kn2aNsWd1aBOLEwzUV+ubfgyM4r5UFerxfwdr vno4/yogeNsOtCuda0ZHWc6O9C1t1ZpWSAHuV2ocrDfEOvUnPbUbS2ifygXS4bZ/XPSzwJ +rY4wNbVnY70nF1NvPKwN+tzKvsRfYnqTCnMsLTBNt5YA3OC0HUnJrKSwwxhpDQ9/cwHfK DVUOJrhC3LqBaEBUMYnHGCz2LqeQsEHnGQn+nXyqONGVK/uLbHl65UOq2tYn6SVsd3YqVv YzFXoLQAKEBc6yMLhOZ4UieGrV7d5gYzq3u2YWse2BhQ4bYQpwTdVcIpJ/LhCA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqdUm-0001Q2-Fe; Wed, 11 Oct 2023 13:59:44 -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 1qqdUi-0001Ne-Q5 for guix-patches@gnu.org; Wed, 11 Oct 2023 13:59:40 -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 1qqdUi-0007j7-D0 for guix-patches@gnu.org; Wed, 11 Oct 2023 13:59:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqdV4-0004qX-8u for guix-patches@gnu.org; Wed, 11 Oct 2023 14:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66468] [PATCH] gnu: python-versioneer: Update to 0.29. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Oct 2023 18:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66468 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66468@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169704717118556 (code B ref -1); Wed, 11 Oct 2023 18:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Oct 2023 17:59:31 +0000 Received: from localhost ([127.0.0.1]:40026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqdUY-0004pE-Lk for submit@debbugs.gnu.org; Wed, 11 Oct 2023 13:59:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqdUV-0004ow-Pb for submit@debbugs.gnu.org; Wed, 11 Oct 2023 13:59:29 -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 1qqdU1-0007EL-Vc for guix-patches@gnu.org; Wed, 11 Oct 2023 13:58:58 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqdTz-0007Un-Bo for guix-patches@gnu.org; Wed, 11 Oct 2023 13:58:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1697047132; x=1697306332; bh=znafgczm7oDIvweiMgbdyKglbLKD8Sz/UniTVAGfQJ4=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=ccs7IMUX/+S+vr4++egY7MF888STK1b2angAAi62saSdz1q+wKnqQGx8njSpARlwR 1hhfBoUzjqsvgeqpEL2Gr8EKZqx4gM7vGEcz2xEfzc7Ax4+M0azCt2/7pPD4vpi5yI g8zX1D3mukMejey5+2JHhONOLGvbvCNj0UWRgv803N6Vg4cWmOz4T0nUI1ddHTjvN3 +77OqjVAxatx6YKMH/PUIWhPOl1sofbl6jsBF8S87ygFkeRBYQykTUN3J92kyR4JBO F1Tu/Xro2gdmj3Z82iJ6RCaIAtervHYq96ty3Ont5tKvHKfMOkCZZH3smS7PH96FH3 q6wA8HrfMibjA== Date: Wed, 11 Oct 2023 17:58:34 +0000 From: "Paul A. Patience" Message-ID: Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=paul@apatience.com; helo=mail-40136.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -1.22 X-Spam-Score: -1.22 X-Migadu-Queue-Id: AA419423A9 X-TUID: +6eBiHycqTQ3 * gnu/packages/python-xyz.scm (python-versioneer): Update to 0.29. [build-system]: Switch to pyproject-build-system. [arguments, native-inputs, propagated-inputs]: New fields. [license]: Set to Unlicense. --- gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 94e8db934f..95eca1cf01 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29879,26 +29879,48 @@ (define-public python-version (define-public python-versioneer (package (name "python-versioneer") - (version "0.21") + (version "0.29") (source (origin (method url-fetch) (uri (pypi-uri "versioneer" version)) (sha256 (base32 - "084fglxafbzvf1vbkzfajvs9qwnvjwwn8pxql9nrlpyipv5xpwk4")) + "0cap4cjckxp9mlkprqayfs77k3pn5iwpr2riacdxc4bjhnwq7cjs")) (patches (search-patches "python-versioneer-guix-support.patch")))) - (build-system python-build-system) - (home-page - "https://github.com/python-versioneer/python-versioneer") - (synopsis - "Version-string management for VCS-controlled trees") + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; Taken from tox.ini. + (invoke "python" "setup.py" "make_versioneer") + (invoke "python" "-m" "unittest" "discover" "test") + (invoke "python" "test/git/test_git.py" "-v") + ;; Some invocation tests require the network. + ;;(invoke "python" "test/git/test_invocations.py" "-v") + (invoke "python" "setup.py" "make_long_version_py_git") + (invoke "pyflakes" "setup.py" "versioneer.py" "git_version= .py") + (invoke "python" "test/run_pyflakes_src.py") + (invoke "pyflakes" "test") + (invoke "flake8" "git_version.py" "versioneer.py") + (invoke "pycodestyle" "--max-line-length=3D88" + "git_version.py" "versioneer.py"))))))) + (native-inputs + (list git python-flake8 python-pycodestyle python-pyflakes)) + (propagated-inputs + (list python-tomli)) + (home-page "https://github.com/python-versioneer/python-versioneer") + (synopsis "Version-string management for VCS-controlled trees") (description "@code{versioneer} is a tool for managing a recorded version number i= n distutils-based python projects. The goal is to remove the tedious and error-prone \"update the embedded version string\" step from your release process.") - (license license:public-domain))) + (license license:unlicense))) =20 (define-public python-gamera (package base-commit: f4e8baf3806e79d7111d2943859865ae4ee0b59d --=20 2.41.0