From patchwork Mon Oct 7 21:45:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68861 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 1BFF527BBEA; Mon, 7 Oct 2024 22:49:49 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, 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 91CFE27BBE2 for ; Mon, 7 Oct 2024 22:49:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxvbq-00076v-Lm; Mon, 07 Oct 2024 17:49:42 -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 1sxvbJ-0005vN-4S for guix-patches@gnu.org; Mon, 07 Oct 2024 17:49:09 -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 1sxvbI-00058s-PB for guix-patches@gnu.org; Mon, 07 Oct 2024 17:49:08 -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=a6SDYTT5EJYih1OPvb+Tv+IHSKAtoe0DHU/KSJ7iSFHGrO9D7wHt7esQiMtIoHnOsPRCXsCxxE7yJifZqdRA4WZWFq9uFd/BG3O73QGmhtDxi1CCpjT7Ec0Rpff8cGqXA6PqhvGv19NrB/7TvIg79R98mrO0bENPAEGI+BFkFtyjmC73Ufc4l8FMcl7rtBDI5NcezUs4QbJgft/MHRctlUEWZ1UcKW0m3dFc9OBpX2F4074YqyBuSh6v12Cw2Z4bXpG2vlCipfwyPIJ4wVOTJOaJeA0wpeGEMLOEnxGLyZ8bg9GipNjonpe2sDxizXsAC4VxxU4ih5JMP73qdXJ2Hw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxvbQ-00071q-FP for guix-patches@gnu.org; Mon, 07 Oct 2024 17:49:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v4 96/98] 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 21:49:16 +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.172833775426982 (code B ref 67902); Mon, 07 Oct 2024 21:49:16 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 21:49:14 +0000 Received: from localhost ([127.0.0.1]:49118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxvbN-00070z-Jq for submit@debbugs.gnu.org; Mon, 07 Oct 2024 17:49:14 -0400 Received: from 19.mo550.mail-out.ovh.net ([178.32.97.206]:45781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxvbJ-0006zS-42 for 67902@debbugs.gnu.org; Mon, 07 Oct 2024 17:49:09 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.148.22]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4XMt8D4k94z1Rrk for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 21:49:00 +0000 (UTC) Received: from ghost-submission-55b549bf7b-d42xm (unknown [10.110.96.170]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 774BA1FD65; Mon, 7 Oct 2024 21:49:00 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-55b549bf7b-d42xm with ESMTPSA id 73oeFExXBGdsGAkA77pvQg (envelope-from ); Mon, 07 Oct 2024 21:49:00 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G0066e6c766b-d9b5-4f8d-a074-bf13da7092fb, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 23:45:04 +0200 Message-ID: <20241007214530.4420-96-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241007214530.4420-1-ngraves@ngraves.fr> References: <20241007214530.4420-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6290402782713537250 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeftddgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdetheeuheeiuedtjeeiveevjeefgfejieejjedvieejvefgkeffffeludduveeinecuffhomhgrihhnpehgihhthhhusgdrtghomhdpphhhphhunhhithdruggvnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeeijeeltddvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=O/JpJDGBPxH8HZGzueXbsqUQUYykFC7yMG88fwef6gI=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728337740; v=1; b=OG747pgHxNMv75rLTPtWhkm/uCtEULYR9034eW5siqeD10RFX4Nho67coSWpW4ZC415FXkXU /9Dp995tPAw4iF+q3/tmrYRZtWSeGE3Ge4V3I2+NWNPBtd2Fpw3y+A/oiARMIpI9XXChsKjqSDU yL2yey2nOlqo+W1AxBt8g30ByB65KRNbFGBbluqqjluiCK8kAZsyaeZtX8Cn4McQmw3QBflWLvB B5x7UnfeMAANC2MzD4W4daJkkvE41PT8rAdniHs8ECF9HxFslmtFm9zGaO/nryQNiLFZIU3w8Pd r7wAKC4IUXJJjrvVm5jcXvRCBNSzIfmlGrQQRsruC0ZBA== 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)))