From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0Br5EeS3TWOLOgAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 22:15:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eJxNEeS3TWPc9QAAG6o9tA (envelope-from ) for ; Mon, 17 Oct 2022 22:15:32 +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 175613B166 for ; Mon, 17 Oct 2022 22:15:32 +0200 (CEST) Received: from localhost ([::1]:37482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okWWJ-0000Ps-8R for larch@yhetil.org; Mon, 17 Oct 2022 16:15:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okWU2-00071G-HY for guix-patches@gnu.org; Mon, 17 Oct 2022 16:13:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okWU1-0002IV-1y for guix-patches@gnu.org; Mon, 17 Oct 2022 16:13:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okWU0-0007Q9-TN for guix-patches@gnu.org; Mon, 17 Oct 2022 16:13:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58587] [PATCH 12/14] gnu: python-mypy-protobuf: Switch to pyproject-build-system. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Oct 2022 20:13:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58587 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58587@debbugs.gnu.org Received: via spool by 58587-submit@debbugs.gnu.org id=B58587.166603757328392 (code B ref 58587); Mon, 17 Oct 2022 20:13:08 +0000 Received: (at 58587) by debbugs.gnu.org; 17 Oct 2022 20:12:53 +0000 Received: from localhost ([127.0.0.1]:50170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okWTl-0007Ns-Fh for submit@debbugs.gnu.org; Mon, 17 Oct 2022 16:12:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okWTY-0007MP-Iy for 58587@debbugs.gnu.org; Mon, 17 Oct 2022 16:12:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46736) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okWTT-0002Ee-DQ for 58587@debbugs.gnu.org; Mon, 17 Oct 2022 16:12:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=HuZ8V925BtDB25+n1oiSnJCJH1JcbU0kfQfYzGR+guI=; b=VDb5CjMcs53by2ULYPEL bge8UgF1YgR7MS/h2FMDQIULerTjdP6QIodGFTdPBGBS20srz1vpdB3XfbIzIxW6WlP22LsgY4xXh 3TPxmFrkZ+TTj6DnsvbOS1zXyV4UMYSJZOz2ovVWkdxMGBmZ5v0npgv3tuDXcQgQ8OEb/BAuYosRW s2Uf2S2P4TiLifGO5w+n3GYv7Jjo3lbz00RMlIQli1OlTFfJjUsH6q8vw9qBOGgPhx6DMCGqjJETE C75tNMCp2HaKqFxDOT2DCoWmSM41eDLoM5MhWMkcrPr49yQpnRJMYKbS5pN5kwoQ9ZSOBDAl61Jvk qg/j280mELZLfQ==; Received: from [84.211.203.64] (port=52352 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okWTI-00051Z-NR for 58587@debbugs.gnu.org; Mon, 17 Oct 2022 16:12:28 -0400 From: Marius Bakke Date: Mon, 17 Oct 2022 22:11:59 +0200 Message-Id: <20221017201201.4808-12-marius@gnu.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221017201201.4808-1-marius@gnu.org> References: <20221017200624.4076-1-marius@gnu.org> <20221017201201.4808-1-marius@gnu.org> 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666037732; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=HuZ8V925BtDB25+n1oiSnJCJH1JcbU0kfQfYzGR+guI=; b=qh668pC1qX7FpHn8oIrarV+Gv6Gq34iDGf2zEZtjKWGmjm45BGG3wZSjYrVonVw5mTP8Wv Mv6VyCmmMsMpqEyALAPVUrtOf0+tSzG7S75pJDhOldwVMlVjKheDedW9BFSig7xZm5JdJ4 JlgShGGdW5EGrlQ9YOroHEUjl3S81OMiHOjcHlM3/aZOddhEJK61mq3nD78uMlAVQxiU2o dGW8hYyTjsLTJqTeZzXYMcpBHUlGn1rplOpOdL0/lPWKnyq60R4NG9WY9NmWbEhp5T9aAz qGLurah8vsciMg5gXx0dAvZBo9RQ2dcL2wIRB1z5/SgOAaIN2FbXHZGJIo62tg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666037732; a=rsa-sha256; cv=none; b=ENoZdqjkGSlOfRBoX720RTOfBWubZQ0W0Bkc0pBNzDzH1Dhr8bYXx7MQ3BrKy2UxjvoxKS KcNMif9yLAvkSMlFE/LgAR8CengM0FH5D6dcaEO3iDNSztlNDOFB2ZUTeE7IX3R1tXJ/CP 1qol9XsXQ8GoqvzELPM/xvx0Zz0mL8BPKs0G7JZEURLn7lxl569amW+uAJMrP4TNaVHdRs V4d8PFLSOAt5wgPy6lMK5rD/X/VF4eq0h9wxZxOUogYPxrjA//YRE1RI04uC1MuLJAWabM gko5QJC64VrJ5F+PPA3dXymug4C7XRun4SWjd0syFiYD4Msj+gnCy2D6N0JVIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=VDb5CjMc; 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" X-Migadu-Spam-Score: -0.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=VDb5CjMc; 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" X-Migadu-Queue-Id: 175613B166 X-Spam-Score: -0.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: E8a+ahwd8yha * gnu/packages/protobuf.scm (python-mypy-protobuf)[build-system]: Switch to PYPROJECT-BUILD-SYSTEM. [arguments]: Remove redundant phases. [native-inputs]: Remove PYTHON-PYPA-BUILD. --- gnu/packages/protobuf.scm | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index a61d9d7492..e90e0ad3fa 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -31,6 +31,7 @@ (define-module (gnu packages protobuf) #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix build-system emacs) #:use-module (guix build-system ruby) @@ -285,22 +286,11 @@ (define-public python-mypy-protobuf (sha256 (base32 "0z03h9k68qvnlyhpk0ndwp01bdx77vrjr6mybxq4ldilkkbksklk")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases - ;; XXX: PEP 517 manual build copied from python-isort. - (replace 'build - (lambda _ - ;; ZIP does not support timestamps before 1980. - (setenv "SOURCE_DATE_EPOCH" "315532800") - (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) - (replace 'install - (lambda _ - (let ((whl (car (find-files "dist" "\\.whl$")))) - (invoke "pip" "--no-cache-dir" "--no-input" - "install" "--no-deps" "--prefix" #$output whl)))) (add-before 'check 'generate-protos-for-tests (lambda _ ;; Generate Python sources. @@ -324,7 +314,6 @@ (define-public python-mypy-protobuf (native-inputs (list python-grpc-stubs python-grpcio-tools - python-pypa-build python-pytest python-typing-extensions-next)) (propagated-inputs -- 2.38.0