From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QBAoGeM3n2MlcQEAbAwnHQ (envelope-from ) for ; Sun, 18 Dec 2022 16:55:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OBgZGeM3n2P2XQAA9RJhRA (envelope-from ) for ; Sun, 18 Dec 2022 16:55:15 +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 234F095A for ; Sun, 18 Dec 2022 16:55:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6w0K-0006cP-KW; Sun, 18 Dec 2022 10:55:08 -0500 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 1p6w0E-0006c4-Kp for guix-patches@gnu.org; Sun, 18 Dec 2022 10:55:02 -0500 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 1p6w0E-00067K-1g for guix-patches@gnu.org; Sun, 18 Dec 2022 10:55:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6w0D-0007BN-U7 for guix-patches@gnu.org; Sun, 18 Dec 2022 10:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60153] [PATCH v1 2/3] gnu: python-pygame: Use gexps and new style inputs. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Dec 2022 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60153@debbugs.gnu.org Received: via spool by 60153-submit@debbugs.gnu.org id=B60153.167137886927591 (code B ref 60153); Sun, 18 Dec 2022 15:55:01 +0000 Received: (at 60153) by debbugs.gnu.org; 18 Dec 2022 15:54:29 +0000 Received: from localhost ([127.0.0.1]:34588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6vzg-0007Ax-PE for submit@debbugs.gnu.org; Sun, 18 Dec 2022 10:54:29 -0500 Received: from knopi.disroot.org ([178.21.23.139]:40714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6vze-0007Ap-VU for 60153@debbugs.gnu.org; Sun, 18 Dec 2022 10:54:27 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 51C9640A2D for <60153@debbugs.gnu.org>; Sun, 18 Dec 2022 16:54:26 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7dSodqN5VsOp for <60153@debbugs.gnu.org>; Sun, 18 Dec 2022 16:54:25 +0100 (CET) Message-ID: <1871bcf2-19a8-1928-0244-710d8fcab224@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1671378864; bh=alWkywKO/MuezPRKsnsJiRVR50+/Gz5ZKFMkyZBRH1U=; h=Date:Subject:From:To:References:In-Reply-To; b=ir6SDi87PqNZ7a17EAE0yD2bns70kBzk6yHTt6oCh5vuseIclyUCgPQSV1ijIS6Nz S7SXmpqap7xEIh4FLoWLCAC9l+fdZ6FdpF90w7HRPFQHEripXhNK2pbL6P9jrHsVrg 6zpNa5P2F/frVikOMlDfe4UZfUTuENkNHstt1cEsx5SS6deh1tUZpYVkhn9jrIUbXG WggexiuvdZoC3sgHn34SCgVQTDv71cx+pJgY+kG9qxkfCXfQdK08APZenrfFFSV/Mw iTWUAPxun+ceT9vsqi2BDKEzKsZjQNHy9Lu0qCU9xarwcQbnCnWzfC80QxYdTxf+no Y8g1sT4eZsx8g== Date: Sun, 18 Dec 2022 23:54:22 +0800 MIME-Version: 1.0 Content-Language: en-US References: <169f8bfa-c40d-b5bb-ad7e-6517267096b7@disroot.org> In-Reply-To: <169f8bfa-c40d-b5bb-ad7e-6517267096b7@disroot.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches From: Adam Faiz 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ir6SDi87; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671378914; a=rsa-sha256; cv=none; b=XctBX+vB/0on9+FXgcnfO3TOzlQcEOaY6jAeHGsBeL2dPgbO9g3Av4ZHZHX804pUbRfAm1 v0IgeWi0j6uqnPddUaM5f++dLVsOESQwYLNp0GhxCQLMQqjOqLdaXxpvumKL6cmIb0CHQk bMHFHuO+pXR4ftG4wVE5gQGeTrImYF/dbPwNqIMmRAoSDKUiDdi25sPuKKx0N+tREN9Thu sYG64nM/mNpJFNDdfZQfAku9xzKzp95ijWYaEuMrIHXrV91eZEr0LPZhr6v/HGK26tPgqe Gopf9DNrAKpxFlbVo62wwY3RTRtKEFsh1OTUUtFjpzaKnFjNTLpbfGkPwGQZtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671378914; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=Hz73OPcbPIdUwIstZic6KR6R3GsNN7bQs9MtWjrRdgM=; b=sBbsuF18LbmfE7i4O0rhxcxaPxh0mi51JTkI7un3YEkZwNxUI+35r4W6AzMfAjS0EpNNzK BLqVLtT3CUpuN7kXJ0JRvam8QlDwDOMwM2ohpe0gHLEowwvsdoFXUNa7b5rMi5J79k0G/5 4IAAZmQ6AVKIy0qxpT+C9pyqY/P2ICjj+9fFGjipxOzJOrD+MCQCFp+p7MJWJL8H/xaAOc PQwuTyXcK4YJ7XcZE0EAh/6R4Ez0zj8MSN3OWEsUpETHeZw3T43B/MsFAFnmsqQ/0Yv2ei YQ4kHLt/bESs6+3iIVLAnXE+u4VDYt68znUTeUOQ+ZkhcHK/yr42BtTwXVdU7g== X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ir6SDi87; 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=pass (policy=none) header.from=gnu.org X-Migadu-Spam-Score: -2.28 X-Spam-Score: -2.28 X-Migadu-Queue-Id: 234F095A X-TUID: YzfH6t4N20nW From 76f9b1970a8dfb11108823be8dc0f16b1d0861a7 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Sun, 18 Dec 2022 23:20:27 +0800 Subject: [PATCH v1 2/3] gnu: python-pygame: Use gexps and new style inputs. * gnu/packages/game-development.scm (python-pygame)[arguments]: Use gexps. [inputs]: Use the new style. --- gnu/packages/game-development.scm | 40 +++++++++++++++---------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index f9a53799f5..a96f62603f 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -1225,29 +1225,29 @@ (define-public python-pygame (("SDL_mixer.h") "SDL2/SDL_mixer.h")))))) (build-system python-build-system) (arguments - `(#:tests? #f ; tests require pygame to be installed first - #:phases - (modify-phases %standard-phases - ;; Pass the dependencies to the configure script - ;; through environment variables. - (add-before 'build 'set-library-paths - (lambda _ - (setenv "LOCALBASE" " ")))))) + (list #:tests? #f ; tests require pygame to be installed first + #:phases + #~(modify-phases %standard-phases + ;; Pass the dependencies to the configure script + ;; through environment variables. + (add-before 'build 'set-library-paths + (lambda _ + (setenv "LOCALBASE" " ")))))) (native-inputs (list pkg-config)) (inputs - `(("freetype" ,freetype) - ("sdl2" ,sdl2) - ("sdl2-image" ,sdl2-image) - ("sdl2-mixer" ,sdl2-mixer) - ("sdl2-ttf" ,sdl2-ttf) - ("sdl2-gfx" ,sdl2-gfx) - ("libjpeg" ,libjpeg-turbo) - ("libpng" ,libpng) - ("libX11" ,libx11) - ("libsmpeg" ,libsmpeg) - ("portmidi" ,portmidi) - ("v4l-utils" ,v4l-utils))) + (list freetype + sdl2 + sdl2-image + sdl2-mixer + sdl2-ttf + sdl2-gfx + libjpeg-turbo + libpng + libx11 + libsmpeg + portmidi + v4l-utils)) (home-page "https://www.pygame.org") (synopsis "SDL wrapper for Python") (description "Pygame is a set of Python modules designed for writing games. -- 2.38.1