From patchwork Mon Oct 7 21:44:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68799 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 66DDF27BBEA; Mon, 7 Oct 2024 22:48:09 +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 277CC27BBE2 for ; Mon, 7 Oct 2024 22:48:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxva9-0003V4-86; Mon, 07 Oct 2024 17:47:57 -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 1sxva7-0003Qg-9v for guix-patches@gnu.org; Mon, 07 Oct 2024 17:47:55 -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 1sxva7-0004ds-15 for guix-patches@gnu.org; Mon, 07 Oct 2024 17:47:55 -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=URxXk+7KhvUVmUHt+8XsRwPY31LFcouVzLUJXiX3hN8=; b=Ce882s3kY5HUEzCRmHIesWFj9QylnmoauH8YlT3HP29Lx6nmULGp4rs2eSqQF602nJUygAVNo4drUkV0ctOzoLt0RYewomBcwf0UNb06fJqsbsevVZw74D86XESLi30I8na4IiXbAQw+j+zB0C6126N/u8dlXukOQmVAbntZ6rkoWgFKe00Ce+Y8AoQ2KYrCT7WPmiHDbob0wMKD+4R1LJsiVXMFat7WmskZYcMSJD5OQPW98w+zvGfMJP7tyCIP0xWkN6QJQlRBFWVL3QatUWuvqDNAFZEh2WC8g7tYXmZZnRqAxjSgXjvQAi9DUjG9Y2qcwSBZ7KP7yxD+W3LK3g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxvaE-0006mY-LF for guix-patches@gnu.org; Mon, 07 Oct 2024 17:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v4 43/98] gnu: Add php-sebastian-complexity. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Oct 2024 21:48:02 +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.172833764625796 (code B ref 67902); Mon, 07 Oct 2024 21:48:02 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 21:47:26 +0000 Received: from localhost ([127.0.0.1]:48861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxvZd-0006hq-Uu for submit@debbugs.gnu.org; Mon, 07 Oct 2024 17:47:26 -0400 Received: from 15.mo550.mail-out.ovh.net ([188.165.38.232]:55051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxvZX-0006fj-IA for 67902@debbugs.gnu.org; Mon, 07 Oct 2024 17:47:20 -0400 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.2.118]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4XMt6718Nqz1RSP for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 21:47:11 +0000 (UTC) Received: from ghost-submission-55b549bf7b-prkhj (unknown [10.108.54.198]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E3FEB1FD32; Mon, 7 Oct 2024 21:47:10 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-55b549bf7b-prkhj with ESMTPSA id DIEmKt5WBGfG/QwAnPefGw (envelope-from ); Mon, 07 Oct 2024 21:47:10 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G004a68f8d02-adc1-4c28-9b29-72454f4a3fa6, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 23:44:11 +0200 Message-ID: <20241007214530.4420-43-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: 6259722007863354082 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeftddgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtudenucevlhhushhtvghrufhiiigvpeefnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieejledtvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=URxXk+7KhvUVmUHt+8XsRwPY31LFcouVzLUJXiX3hN8=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728337631; v=1; b=DD5I4lLpZqi4KiKTiRpGt26tBWjuOmISfjRlmgRSNLJnPT3I2Mr3xa0mN5wos6zabBWXMk8L FmyBoJYO/5joSfVw8GKeh8yKQdbphmJbVNis0c/T+OSnGQwJJq02pekqJ2g4XzPGjIA8mWt2fij IMhHP0p7bb6LG/XU+7afUmL17q29LVr0WppmKqNvCkwdLBjp+H820Zl1a52dtU3B6C/WIEKt7pH S2VnJiAhh0dKqHoZiTowfDNintRbieHcFmi4hG+bmaywu6Bqu10t13erqPYU8Jvt14E/67kf+p0 yNHC+pzZHE0GBmlys6XJ534sqZ/sn4oZPFR9PKd8QCkdA== 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-sebastian-complexity): New variable. Change-Id: I6a817b9bb5a34c742dadbd9ce95e14710566cd91 --- gnu/packages/php-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 445f5865f8..ce6ead1bce 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -1064,3 +1064,27 @@ (define-public php-sebastian-comparator (home-page "https://github.com/sebastianbergmann/comparator") (license license:bsd-3))) +(define-public php-sebastian-complexity + (package + (name "php-sebastian-complexity") + (version "2.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/complexity") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0mrivs3dxv4kyy9js6n33ardqnijg9v6jiiypb7b97xgmf4w694w")))) + (build-system composer-build-system) + (native-inputs + (list php-phpunit-phpunit)) + (inputs + (list php-nikic-php-parser)) + (synopsis "Calculate the complexity of PHP code") + (description "This package provides a PHP library for calculating the +complexity of PHP code units.") + (home-page "https://github.com/sebastianbergmann/complexity") + (license license:bsd-3))) +