Message ID | 20241007000046.25625-13-ngraves@ngraves.fr |
---|---|
State | New |
Headers | show
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6DB5127BBE9; Mon, 7 Oct 2024 01:02:59 +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 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 ECDE227BBEA for <patchwork@mira.cbaines.net>; Mon, 7 Oct 2024 01:02:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1sxbCP-00058y-B9; Sun, 06 Oct 2024 20:02:05 -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 <Debian-debbugs@debbugs.gnu.org>) id 1sxbCM-000566-4f for guix-patches@gnu.org; Sun, 06 Oct 2024 20:02:02 -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 <Debian-debbugs@debbugs.gnu.org>) id 1sxbCL-00017Z-SH for guix-patches@gnu.org; Sun, 06 Oct 2024 20:02:01 -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=W1qtYHsM+UQuoMDvmt9e+FeP73ptkHP4Hm4o6S+aB9c=; b=FqeQN5n/vq9fYch+UmkCRovL/zVYXWHLb2o0JVAsWE2jh7j/yGXIRKuUtZ7f2sy4bixXlyLeiIonYYIJ97WoWPqp1RLKJxkHx3suGy5qLFypGe5zJMWj5kT3y8VDk/qLi+aZnaNss6VO8immljoD6WsXxJmrK+qP94UI5bN3lq3J2k1ZEgltzELP/Hxwe7oToounP/E2KkRZbubGG53ZLoq7j079Yps8Wc4zvWd7jLzFp3Ip+/on12GIYkuF8Ny1Bo9vTndTXzz5O0vCj07RV1hOzu3M3HJInNUHrlsrP1UuvbHzI9rLzUBn0wtNZPt9M+T5LIljbeeB13o0qGjOLw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sxbCS-0002DV-BW for guix-patches@gnu.org; Sun, 06 Oct 2024 20:02:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v3 13/96] gnu: Add php-egulias-email-validator. Resent-From: Nicolas Graves <ngraves@ngraves.fr> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Oct 2024 00:02:08 +0000 Resent-Message-ID: <handler.67902.B67902.17282592948246@debbugs.gnu.org> 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 <ngraves@ngraves.fr> Received: via spool by 67902-submit@debbugs.gnu.org id=B67902.17282592948246 (code B ref 67902); Mon, 07 Oct 2024 00:02:08 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 00:01:34 +0000 Received: from localhost ([127.0.0.1]:42985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1sxbBt-00028q-L0 for submit@debbugs.gnu.org; Sun, 06 Oct 2024 20:01:34 -0400 Received: from 6.mo576.mail-out.ovh.net ([46.105.50.107]:45917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ngraves@ngraves.fr>) id 1sxbBq-000289-II for 67902@debbugs.gnu.org; Sun, 06 Oct 2024 20:01:31 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.2.78]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4XMK7Q56tXz1nkZ for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 00:01:22 +0000 (UTC) Received: from ghost-submission-55b549bf7b-qnjsc (unknown [10.110.178.134]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 703CE1FD30; Mon, 7 Oct 2024 00:01:22 +0000 (UTC) Received: from ngraves.fr ([37.59.142.110]) by ghost-submission-55b549bf7b-qnjsc with ESMTPSA id kYvkD9IkA2fJjCcAYJ8vtw (envelope-from <ngraves@ngraves.fr>); Mon, 07 Oct 2024 00:01:22 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-110S004bf633025-e4f0-4cfa-9dbf-ab60210a7fae, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 01:59:08 +0200 Message-ID: <20241007000046.25625-13-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 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 2653183130498032354 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvkedgvdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddutdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieejledtvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=W1qtYHsM+UQuoMDvmt9e+FeP73ptkHP4Hm4o6S+aB9c=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728259282; v=1; b=lpoZSlp+npT/xUNCXXF5NGsm8ZgYXdWtvxcr/CXV5tiEfs0VrS+swIzqs8ykadZFS2HPENPL CkXxp2K2EzChWbEpJtEoLBTpCJLLH+/MjXD0Ei0mnhuUOD5D7ECpZIrGbOmBUfrnR14ZsM5jniM XCcwx6CJ/iy36xpeOXqOa0OuSLGBl6TjWV7dmp7X2YtSNHBMvKRrB9u7Rx7rayAcXQfpNhNylM6 osIw5EK77J0X6ErrYBWyHquisJADSSooJAoBtni9pTlI1kWJii7Q3W14O/vO21JJGHhwO6SBWE+ 9fEjDJMfymMcn/mh9siKBkC2Q/UMulce+EEsqWIAkB4eQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Nicolas Graves <ngraves@ngraves.fr> X-ACL-Warn: , Nicolas Graves via Guix-patches <guix-patches@gnu.org> From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org> 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 |
Series |
[bug#67902,v3,01/96] gnu: Add abnfgen.
|
expand
|
diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index a27098e18d..28e1e5cd4b 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -278,3 +278,50 @@ (define-public php-dms-phpunit-arraysubset-asserts (home-page "https://github.com/rdohms/phpunit-arraysubset-asserts") (license license:expat))) +(define-public php-egulias-email-validator + (package + (name "php-egulias-email-validator") + (version "4.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/egulias/EmailValidator") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0nyqri3421gkiswn70f7f8cfz4vs1vcadxdyvwjykbgc4fz5skz2")))) + (build-system composer-build-system) + (arguments + (list + #:test-flags ''("--exclude" "skipTest") ; FIXME + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'deactivate-failing-tests + (lambda _ + (substitute* + "tests/EmailValidator/Validation/DNSCheckValidationTest.php" + (("(.*)@dataProvider validEmailsProvider" all blank) + (string-append all "\n" + blank "@group skipTest")) + (("(.*)public function testDomainAcceptsNoMailError\\(\\)" all blank) + (string-append + blank "/**\n" + blank " * @group skipTest\n" + blank " */\n" + all)) + (("(.*)public function testNoDNSError\\(\\)" all blank) + (string-append + blank "/**\n" + blank " * @group skipTest\n" + blank " */\n" + all)))))))) + (inputs + (list php-doctrine-lexer php-symfony-polyfill-intl-idn)) + (native-inputs + (list php-phpunit-phpunit)) + (synopsis "PHP email address validator") + (description "A library for validating emails against several RFCs") + (home-page "https://github.com/egulias/EmailValidator") + (license license:expat))) +