From patchwork Mon Oct 7 00:00:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68754 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C803027BBEA; Mon, 7 Oct 2024 01:06:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BC75D27BBE2 for ; Mon, 7 Oct 2024 01:06:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxbFV-0000Yv-FR; Sun, 06 Oct 2024 20:05:18 -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 1sxbFF-00006K-Q3 for guix-patches@gnu.org; Sun, 06 Oct 2024 20:05: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 1sxbFC-0001pN-Rn for guix-patches@gnu.org; Sun, 06 Oct 2024 20:05:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=O/JpJDGBPxH8HZGzueXbsqUQUYykFC7yMG88fwef6gI=; b=OKmtHQViM18xMmS4AIuCAX/1wECyEwp4b2k+e4qw4bEwVv1FTf9FS2z3lEbpu0EJo/5HPx6UxQo/Pc4kUaFHNbuw24YOf/XOtvhbKqT65rmZrbUSWVVBiu2zjEBZ/D81RKLi5/V/Fn2fhdjbzZYpPMtZQ09Sj5mHeHxvoN7HsHK1paXO7Q5FjbqN/Lc/DMIynCDcZ7cyRq267Yink1kDnDhNFkIMq6SPXkRAagOT+byp1ign0vzQ8qei5x6eemyrwvQMJMP8zrXjE7mAkJh8GfnWFNzKXmKXssp6j8ibV8aQt6nfJnxd8ftyuSCU15iKvOab6GGjxCSlzi7dio2F/w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxbFJ-0002hQ-BX for guix-patches@gnu.org; Sun, 06 Oct 2024 20:05:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v3 96/96] gnu: Add php-phpunit-phpunit. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Oct 2024 00:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67902 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67902@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 67902-submit@debbugs.gnu.org id=B67902.172825947610283 (code B ref 67902); Mon, 07 Oct 2024 00:05:05 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 00:04:36 +0000 Received: from localhost ([127.0.0.1]:43407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbEq-0002fn-3C for submit@debbugs.gnu.org; Sun, 06 Oct 2024 20:04:36 -0400 Received: from 9.mo583.mail-out.ovh.net ([178.32.96.204]:45445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbEn-0002fR-G3 for 67902@debbugs.gnu.org; Sun, 06 Oct 2024 20:04:34 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.9.167]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4XMKBx6NP3z1Kvc for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 00:04:25 +0000 (UTC) Received: from ghost-submission-55b549bf7b-2gtrw (unknown [10.108.54.179]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id AFA571FDB7; Mon, 7 Oct 2024 00:04:25 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-55b549bf7b-2gtrw with ESMTPSA id b5xWG4klA2d6wAkAxFqkpQ (envelope-from ); Mon, 07 Oct 2024 00:04:25 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-99G00393739f3a-a69f-4a24-87ab-f28d4d2ba2ab, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 02:00:31 +0200 Message-ID: <20241007000046.25625-96-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241007000046.25625-1-ngraves@ngraves.fr> References: <20241007000046.25625-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 2704693052138644194 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvkedgfeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdetheeuheeiuedtjeeiveevjeefgfejieejjedvieejvefgkeffffeludduveeinecuffhomhgrihhnpehgihhthhhusgdrtghomhdpphhhphhunhhithdruggvnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieejledtvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=O/JpJDGBPxH8HZGzueXbsqUQUYykFC7yMG88fwef6gI=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728259465; v=1; b=nc33Bn+7zLuYLeBYxtoVEKMTTNN3xK90pteBmAXYIxYSjTNrlbtbPtUtb6h/FY+9ggnnGj3O ITOmhXRwwTtGPF1yHgvVTw0JmWXsGAVi09Ljx/qVDi4TY2nQn4bK1su1kwJVjBXIo1jNGxrYHrY /P7xWLRJ3qJbVq3btWl5ExmaRK6Ce02BPl/J4ppG7Mad5WFt/dbpjkEQwX3EqAz6YeaG2UeZQlX Pzoj069CCSUiKIdNXJLKoh1Myao+kv6dC3oyWiqb/khlw8yyPrCKZcDNIxyu+O4dvlx7eiGR7Nq W7c/N4CJidJP4dXgW5JyRos3aUK+i95XYeVmJDSzoh1sw== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpunit-phpunit): New variable. Change-Id: Ibc96cc5f2a0e06025beb8e16cc19012e99cf2908 --- gnu/packages/php-xyz.scm | 55 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 9defe78f7a..0b7d97000f 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -2578,3 +2578,58 @@ (define-public php-webmozart-assert (home-page "https://github.com/webmozarts/assert") (license license:expat))) +(define-public php-phpunit-phpunit + (package + (name "phpunit") + (version "9.6.10") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/phpunit") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15hpl8nr9vw1j7z7qp8l451vb6yz3pcshidhy7ca2dq1i7smhgr3")))) + (build-system composer-build-system) + (arguments + ;; Requires phpspec/prophecy-phpunit, which in turns requires phpunit. + `(#:tests? #f)) + (inputs + (letrec* ((package-list + (list php-sebastian-version + php-sebastian-type + php-sebastian-cli-parser + php-sebastian-recursion-context + php-sebastian-resource-operations + php-sebastian-object-enumerator + php-sebastian-global-state + php-sebastian-exporter + php-sebastian-environment + php-sebastian-diff + php-sebastian-comparator + php-sebastian-code-unit + php-phpunit-php-timer + php-phpunit-php-text-template + php-phpunit-php-invoker + php-phpunit-php-file-iterator + php-phpunit-php-code-coverage + php-phpspec-prophecy + php-phar-io-version + php-phar-io-manifest + php-myclabs-deep-copy + php-doctrine-instantiator)) + (rewrite + (lambda (p) + (package + (inherit p) + (arguments '(#:tests? #f)) + (native-inputs '()) + (inputs (map (compose rewrite cadr) (package-inputs p))))))) + (map rewrite package-list))) + (synopsis "PHP Unit Testing framework") + (description "PHPUnit is a testing framework for PHP. It is an instance of +the xUnit architecture for unit testing frameworks.") + (home-page "https://phpunit.de/") + (properties '((upstream-name . "phpunit/phpunit"))) + (license license:bsd-3)))