From patchwork Sun Jul 12 22:25:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23181 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 98A7527BBE5; Sun, 12 Jul 2020 23:26:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6697127BBE1 for ; Sun, 12 Jul 2020 23:26:11 +0100 (BST) Received: from localhost ([::1]:36680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQE-0004ru-TT for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:26:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQ7-0004rf-8K for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQ6-0005Wi-VG for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQ6-0003dn-QO for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 01/34] guix: import: Add composer importer. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459275113818 (code B ref 42338); Sun, 12 Jul 2020 22:26:02 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:25:51 +0000 Received: from localhost ([127.0.0.1]:46964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukPv-0003ao-6h for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:51 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukPs-0003ad-35 for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:49 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 09c2b194 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=TT5nxDDzLybC MT2oCWBXFISW25wTpl9AKS1jwYe3GMs=; b=N8WuMVsNyPdX993VlBSER6SBRNnI ap/lf6UuxFjDgwqmeX5HRdC5u4ZdPXqVZMBvVZ6yCthn9fNggclUY8q7tTxD/x4M X8rikR99lVJgT8kxF0Lq+Ecgo5CCbXX+xfjGrv3K80cwqTNu4c7VHCGxkxPXwfaf mI2eJ7H0nJSp65RxkUlyIqykTbyOuhnlH+VE80MIPRn4B+mt6dY3L6PvUNv3RxXm f0qWVH324zsI0lpYyKt8NrA1U15UCkOXW4KYZ3Uuego5wCoZ5C5aIOkVXoWhL5A2 EkbfzlyrpTmQumEl1xk9vf3lyvObhAW2NsU6vY8k53rP7UNE0lifDFgB4g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 4b55fd0b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:45 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:05 +0200 Message-Id: <20200712222538.18092-1-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200713002055.1553f136@tachikoma.lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * guix/import/composer.scm: New file. * guix/scripts/import/composer.scm: New file. * Makefile.am: Add them. * guix/scripts/import.scm: Add composer importer. --- Makefile.am | 2 + guix/import/composer.scm | 252 +++++++++++++++++++++++++++++++ guix/scripts/import.scm | 2 +- guix/scripts/import/composer.scm | 107 +++++++++++++ 4 files changed, 362 insertions(+), 1 deletion(-) create mode 100644 guix/import/composer.scm create mode 100644 guix/scripts/import/composer.scm diff --git a/Makefile.am b/Makefile.am index 20d43cd130..623ddf32b2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -219,6 +219,7 @@ MODULES = \ guix/search-paths.scm \ guix/packages.scm \ guix/import/cabal.scm \ + guix/import/composer.scm \ guix/import/cpan.scm \ guix/import/cran.scm \ guix/import/crate.scm \ @@ -265,6 +266,7 @@ MODULES = \ guix/scripts/system/reconfigure.scm \ guix/scripts/lint.scm \ guix/scripts/challenge.scm \ + guix/scripts/import/composer.scm \ guix/scripts/import/crate.scm \ guix/scripts/import/cran.scm \ guix/scripts/import/elpa.scm \ diff --git a/guix/import/composer.scm b/guix/import/composer.scm new file mode 100644 index 0000000000..0e17eb0487 --- /dev/null +++ b/guix/import/composer.scm @@ -0,0 +1,252 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Julien Lepiller +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix import composer) + #:use-module (ice-9 match) + #:use-module (json) + #:use-module (gcrypt hash) + #:use-module (guix base32) + #:use-module (guix build git) + #:use-module (guix build utils) + #:use-module (guix build-system) + #:use-module (guix import json) + #:use-module (guix import utils) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix serialization) + #:use-module (guix upstream) + #:use-module (guix utils) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-11) + #:export (composer->guix-package + %composer-updater + composer-recursive-import)) + +;; XXX adapted from (guix scripts hash) +(define (file-hash file select? recursive?) + ;; Compute the hash of FILE. + (if recursive? + (let-values (((port get-hash) (open-sha256-port))) + (write-file file port #:select? select?) + (force-output port) + (get-hash)) + (call-with-input-file file port-sha256))) + +;; XXX taken from (guix scripts hash) +(define (vcs-file? file stat) + (case (stat:type stat) + ((directory) + (member (basename file) '(".bzr" ".git" ".hg" ".svn" "CVS"))) + ((regular) + ;; Git sub-modules have a '.git' file that is a regular text file. + (string=? (basename file) ".git")) + (else + #f))) + +(define (latest-version versions) + (fold (lambda (a b) (if (version>? a b) a b)) (car versions) versions)) + +(define (fix-version version) + "Return a fixed version from a version string. For instance, v10.1 -> 10.1" + (cond + ((string-prefix? "version" version) + (if (char-set-contains? char-set:digit (string-ref version 7)) + (substring version 7) + (substring version 8))) + ((string-prefix? "v" version) + (substring version 1)) + (else version))) + +(define* (composer-fetch name #:optional version) + "Return an alist representation of the Composer metadata for the package NAME, +or #f on failure." + (let ((package (json-fetch + (string-append "https://repo.packagist.org/p/" name ".json")))) + (if package + (let* ((packages (assoc-ref package "packages")) + (package (assoc-ref packages name)) + (versions (filter + (lambda (version) + (and (not (string-contains version "dev")) + (not (string-contains version "beta")))) + (map car package))) + (versions (map + (lambda (version) + (cons (fix-version version) version)) + versions)) + (version (or (if (null? version) #f version) + (latest-version (map car versions))))) + (assoc-ref package (assoc-ref versions version))) + #f))) + +(define (php-package-name name) + "Given the NAME of a package on Packagist, return a Guix-compliant name for +the package." + (let ((name (string-join (string-split name #\/) "-"))) + (if (string-prefix? "php-" name) + (snake-case name) + (string-append "php-" (snake-case name))))) + +(define (make-php-sexp name version home-page description dependencies + dev-dependencies licenses source) + "Return the `package' s-expression for a PHP package with the given NAME, +VERSION, HOME-PAGE, DESCRIPTION, DEPENDENCIES, LICENSES and SOURCE." + (let ((git? (equal? (assoc-ref source "type") "git"))) + ((if git? call-with-temporary-directory call-with-temporary-output-file) + (lambda* (temp #:optional port) + (and (if git? + (begin + (mkdir-p temp) + (git-fetch (assoc-ref source "url") + (assoc-ref source "reference") + temp)) + (url-fetch (assoc-ref source "url") temp)) + `(package + (name ,(php-package-name name)) + (version ,version) + (source (origin + ,@(if git? + `((method git-fetch) + (uri (git-reference + (url ,(assoc-ref source "url")) + (commit ,(assoc-ref source "reference")))) + (file-name (git-file-name name version)) + (sha256 + (base32 + ,(bytevector->nix-base32-string + (file-hash temp (negate vcs-file?) #t))))) + `((method url-fetch) + (uri ,(assoc-ref source "url")) + (sha256 (base32 ,(guix-hash-url temp))))))) + (build-system composer-build-system) + ,@(if (null? dependencies) + '() + `((inputs + (,'quasiquote + ,(map (lambda (name) + `(,name + (,'unquote + ,(string->symbol name)))) + dependencies))))) + ,@(if (null? dev-dependencies) + '() + `((native-inputs + (,'quasiquote + ,(map (lambda (name) + `(,name + (,'unquote + ,(string->symbol name)))) + dev-dependencies))))) + (synopsis "") + (description ,description) + (home-page ,home-page) + (license ,(match licenses + (() #f) + ((license) (license->symbol license)) + (_ `(list ,@(map license->symbol licenses))))))))))) + +(define* (composer->guix-package package-name #:optional version) + "Fetch the metadata for PACKAGE-NAME from packagist.org, and return the +`package' s-expression corresponding to that package, or #f on failure." + (let ((package (composer-fetch package-name version))) + (and package + (let* ((name (assoc-ref package "name")) + (version (fix-version (assoc-ref package "version"))) + (description (beautify-description + (assoc-ref package "description"))) + (home-page (assoc-ref package "homepage")) + (dependencies-names (filter + (lambda (dep) + (string-contains dep "/")) + (map car (assoc-ref package "require")))) + (dependencies (map php-package-name dependencies-names)) + (require-dev (assoc-ref package "require-dev")) + (dev-dependencies-names + (if require-dev + (filter + (lambda (dep) + (string-contains dep "/")) + (map car require-dev)) + '())) + (dev-dependencies (map php-package-name dev-dependencies-names)) + (licenses (map string->license + (vector->list + (assoc-ref package "license"))))) + (values (make-php-sexp name version home-page description dependencies + dev-dependencies licenses (assoc-ref package "source")) + (append dependencies-names dev-dependencies-names)))))) + +(define (guix-name->composer-name name) + "Given a guix package name, return the name of the package in Packagist." + (if (string-prefix? "php-" name) + (let ((components (string-split (substring name 4) #\-))) + (match components + ((namespace name ...) + (string-append namespace "/" (string-join name "-"))))) + name)) + +(define (guix-package->composer-name package) + "Given a Composer PACKAGE built from Packagist, return the name of the +package in Packagist." + (let ((upstream-name (assoc-ref + (package-properties package) + 'upstream-name)) + (name (package-name package))) + (if upstream-name + upstream-name + (guix-name->composer-name name)))) + +(define (string->license str) + "Convert the string STR into a license object." + (match str + ("GNU LGPL" license:lgpl2.0) + ("GPL" license:gpl3) + ((or "BSD" "BSD License" "BSD-3-Clause") license:bsd-3) + ((or "MIT" "MIT license" "Expat license") license:expat) + ("Public domain" license:public-domain) + ((or "Apache License, Version 2.0" "Apache 2.0") license:asl2.0) + (_ #f))) + +(define (php-package? package) + "Return true if PACKAGE is a PHP package from Packagist." + (and + (eq? (build-system-name (package-build-system package)) 'composer) + (string-prefix? "php-" (package-name package)))) + +(define (latest-release package) + "Return an for the latest release of PACKAGE." + (let* ((php-name (guix-package->composer-name package)) + (metadata (composer-fetch php-name)) + (version (fix-version (assoc-ref metadata "version"))) + (url (assoc-ref (assoc-ref metadata "source") "url"))) + (upstream-source + (package (package-name package)) + (version version) + (urls (list url))))) + +(define %composer-updater + (upstream-updater + (name 'composer) + (description "Updater for Composer packages") + (pred php-package?) + (latest latest-release))) + +(define* (composer-recursive-import package-name #:optional version) + (recursive-import package-name '() + #:repo->guix-package composer->guix-package + #:guix-name php-package-name)) diff --git a/guix/scripts/import.scm b/guix/scripts/import.scm index c6cc93fad8..4c91627283 100644 --- a/guix/scripts/import.scm +++ b/guix/scripts/import.scm @@ -76,7 +76,7 @@ rather than \\n." ;;; (define importers '("gnu" "nix" "pypi" "cpan" "hackage" "stackage" "elpa" "gem" - "cran" "crate" "texlive" "json" "opam")) + "cran" "crate" "texlive" "json" "opam" "composer")) (define (resolve-importer name) (let ((module (resolve-interface diff --git a/guix/scripts/import/composer.scm b/guix/scripts/import/composer.scm new file mode 100644 index 0000000000..412bae6318 --- /dev/null +++ b/guix/scripts/import/composer.scm @@ -0,0 +1,107 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 David Thompson +;;; Copyright © 2018 Oleg Pykhalov +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix scripts import composer) + #:use-module (guix ui) + #:use-module (guix utils) + #:use-module (guix scripts) + #:use-module (guix import composer) + #:use-module (guix scripts import) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-11) + #:use-module (srfi srfi-37) + #:use-module (srfi srfi-41) + #:use-module (ice-9 match) + #:use-module (ice-9 format) + #:export (guix-import-composer)) + + +;;; +;;; Command-line options. +;;; + +(define %default-options + '()) + +(define (show-help) + (display (G_ "Usage: guix import composer PACKAGE-NAME +Import and convert the Composer package for PACKAGE-NAME.\n")) + (display (G_ " + -h, --help display this help and exit")) + (display (G_ " + -V, --version display version information and exit")) + (display (G_ " + -r, --recursive generate package expressions for all Composer packages\ + that are not yet in Guix")) + (newline) + (show-bug-report-information)) + +(define %options + ;; Specification of the command-line options. + (cons* (option '(#\h "help") #f #f + (lambda args + (show-help) + (exit 0))) + (option '(#\V "version") #f #f + (lambda args + (show-version-and-exit "guix import composer"))) + (option '(#\r "recursive") #f #f + (lambda (opt name arg result) + (alist-cons 'recursive #t result))) + %standard-import-options)) + + +;;; +;;; Entry point. +;;; + +(define (guix-import-composer . args) + (define (parse-options) + ;; Return the alist of option values. + (args-fold* args %options + (lambda (opt name arg result) + (leave (G_ "~A: unrecognized option~%") name)) + (lambda (arg result) + (alist-cons 'argument arg result)) + %default-options)) + + (let* ((opts (parse-options)) + (args (filter-map (match-lambda + (('argument . value) + value) + (_ #f)) + (reverse opts)))) + (match args + ((package-name) + (if (assoc-ref opts 'recursive) + (map (match-lambda + ((and ('package ('name name) . rest) pkg) + `(define-public ,(string->symbol name) + ,pkg)) + (_ #f)) + (composer-recursive-import package-name)) + (let ((sexp (composer->guix-package package-name))) + (unless sexp + (leave (G_ "failed to download meta-data for package '~a'~%") + package-name)) + sexp))) + (() + (leave (G_ "too few arguments~%"))) + ((many ...) + (leave (G_ "too many arguments~%")))))) From patchwork Sun Jul 12 22:25:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23182 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 37C2D27BBE4; Sun, 12 Jul 2020 23:26:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8A65427BBE3 for ; Sun, 12 Jul 2020 23:26:11 +0100 (BST) Received: from localhost ([::1]:36692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQF-0004sa-24 for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:26:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQ8-0004ro-2D for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQ7-0005Wm-Q1 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQ7-0003eB-Lo for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 02/34] gnu: Add composer-classloader. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459275913917 (code B ref 42338); Sun, 12 Jul 2020 22:26:03 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:25:59 +0000 Received: from localhost ([127.0.0.1]:46969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukPy-0003bK-Sb for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:58 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukPt-0003ad-I1 for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:53 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 3b9a3814 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=9T1JFawuPbva F8Q+AxWLysKCCKNkrq+wsbxAWancyhs=; b=Z+GMDCPNcohjKERigAJk+hB8SRuE QQcSI8joJMlgqcqQKxzfz+ZeUtxjS7WS45yZ8sSFTRWrSoH3zSEWPgwZddbKI1Y5 pVkNaW3t/RrQ+LucJ8B6GCECFPlxjfaRFPu/wtHm6yq554J0V0lQK0P5bzOqc6kK RnLqolFbzMM+cKWcFivIwZ8u5sTiPYoN2TdZZAYliEdZ+LOc/sCNHYbDVPdi9q/I YOHmsaN4OX+6X/62b2XKtn4oLjOPn6MbyZM9qEavXcu5/cJzCg8ZIyelvmdg2+P3 1OfKD6Qce95iD4i6fMjCDAtCFS7w+vRG4WX0Y3eAPl4o6aRGpOQkg3qEVQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 0adddc50 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:46 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:06 +0200 Message-Id: <20200712222538.18092-2-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/php-xyz.scm | 61 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 gnu/packages/php-xyz.scm diff --git a/gnu/local.mk b/gnu/local.mk index 3046a840c9..90d1b1302b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -424,6 +424,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/photo.scm \ %D%/packages/phabricator.scm \ %D%/packages/php.scm \ + %D%/packages/php-xyz.scm \ %D%/packages/pkg-config.scm \ %D%/packages/plotutils.scm \ %D%/packages/poedit.scm \ diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm new file mode 100644 index 0000000000..dab660f84f --- /dev/null +++ b/gnu/packages/php-xyz.scm @@ -0,0 +1,61 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Julien Lepiller +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages php-xyz) + #:use-module (gnu packages) + #:use-module (gnu packages php) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix build-system composer) + #:use-module (guix build-system gnu) + #:use-module (guix utils) + #:use-module ((guix licenses) #:prefix license:)) + +(define-public composer-classloader + (package + (name "composer-classloader") + (version "1.9.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/composer/composer.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0127zmmg3yx84ljngfs86q7kjhyypybkf4d1ihfrfnzgynzxfxdf")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (delete 'check) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (install (string-append out "/share/web/composer/ClassLoader.php"))) + (mkdir-p (dirname install)) + (copy-file "src/Composer/Autoload/ClassLoader.php" install))))))) + (home-page "https://getcomposer.org") + (synopsis "PHP class loader extracted from the composer package") + (description "This package contains the class loader class used by Composer to +build its autoloading feature. This package is used by the composer-build-system +to build its own store-aware autoloading feature.") + (license license:expat))) From patchwork Sun Jul 12 22:25:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23183 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 D499427BBE3; Sun, 12 Jul 2020 23:26:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 69F1D27BBE1 for ; Sun, 12 Jul 2020 23:26:13 +0100 (BST) Received: from localhost ([::1]:36754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQG-0004ua-Tm for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:26:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQ8-0004rw-T8 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQ8-0005Wq-Kx for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQ8-0003eX-Gi for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 03/34] guix: Add composer-build-system. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459276113962 (code B ref 42338); Sun, 12 Jul 2020 22:26:04 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:01 +0000 Received: from localhost ([127.0.0.1]:46983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ2-0003cM-RG for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:01 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukPw-0003aw-HR for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:53 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 2891cdb7 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=l56iDKkIW/PU 57U9GbIxtL0WZwDZzlpkKmybhnKZj8Q=; b=W3bUYDZZ1+YrzkdPSts/lZ3x0fg7 sEwmK1tacEkGE44WLBdgFX95/VqE8/4V8dGEN8YJ+OympRrf1XAs10sVzcNbo6C0 MIrYDZCMtwsZ8DySSL3+21yD4as5gSjV6bbKXpe9IbBRYL30OzMlE8q+Ibg4UvEZ BiNqDUFWNHcUV3+XJyWhf1o3t9cuaaq/ScZNBl9YgWtL1eTfBdfpd3kF7nr7qJf4 SVpwiPkZQcx8aCVBDqyCX2HdDTu2YwoWuUEGRvm5rxolvilGcHER7tIrbBvXzkG9 hixYy3PBrTKcAWjZWLr9gTtn2x2SqZieeqitxnAkWmlcdJB9o51RoM+9gQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 93c9228c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:46 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:07 +0200 Message-Id: <20200712222538.18092-3-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * guix/build-system/composer.scm: New file. * guix/build/composer-build-system.scm: New file. * guix/build-system/findclass.php: New file. * Makefile.am: Add them. * doc/guix.texi (Build Systems): Document it. --- Makefile.am | 2 + doc/guix.texi | 14 ++ guix/build-system/composer.scm | 169 ++++++++++++++++++++ guix/build-system/findclass.php | 102 ++++++++++++ guix/build/composer-build-system.scm | 224 +++++++++++++++++++++++++++ 5 files changed, 511 insertions(+) create mode 100644 guix/build-system/composer.scm create mode 100644 guix/build-system/findclass.php create mode 100644 guix/build/composer-build-system.scm diff --git a/Makefile.am b/Makefile.am index 623ddf32b2..363af872fa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -117,6 +117,7 @@ MODULES = \ guix/build-system/cargo.scm \ guix/build-system/clojure.scm \ guix/build-system/cmake.scm \ + guix/build-system/composer.scm \ guix/build-system/dub.scm \ guix/build-system/dune.scm \ guix/build-system/emacs.scm \ @@ -164,6 +165,7 @@ MODULES = \ guix/build/cargo-build-system.scm \ guix/build/cargo-utils.scm \ guix/build/cmake-build-system.scm \ + guix/build/composer-build-system.scm \ guix/build/dub-build-system.scm \ guix/build/dune-build-system.scm \ guix/build/emacs-build-system.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index 17338ed764..0613f669a0 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -6687,6 +6687,20 @@ debugging information''), which roughly means that code is compiled with @code{-O2 -g}, as is the case for Autoconf-based packages by default. @end defvr +@defvr {Scheme Variable} composer-build-system +This variable is exported by @code{(guix build-system composer)}. It +implements the build procedure for packages using +@url{https://getcomposer.org/, Composer}, the PHP package manager. + +It automatically adds the @code{php} package to the set of inputs. Which +package is used can be specified with the @code{#:php} parameter. + +The @code{#:test-target} parameter is used to control which script is run +for the tests. By default, the @code{test} script is run if it exists. If +the script does not exist, the build system will run @code{phpunit} from the +source directory, assuming there is a @file{phpunit.xml} file. +@end defvr + @defvr {Scheme Variable} dune-build-system This variable is exported by @code{(guix build-system dune)}. It supports builds of packages using @uref{https://dune.build/, Dune}, a build diff --git a/guix/build-system/composer.scm b/guix/build-system/composer.scm new file mode 100644 index 0000000000..19455b1920 --- /dev/null +++ b/guix/build-system/composer.scm @@ -0,0 +1,169 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Julien Lepiller +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . +(define-module (guix build-system composer) + #:use-module (guix store) + #:use-module (guix utils) + #:use-module (guix derivations) + #:use-module (guix search-paths) + #:use-module (guix build-system) + #:use-module (guix build-system gnu) + #:use-module (guix gexp) + #:use-module (guix packages) + #:use-module (ice-9 match) + #:use-module (srfi srfi-1) + #:export (%composer-build-system-modules + lower + composer-build + composer-build-system)) + +;; Commentary: +;; +;; Standard build procedure for PHP packages using Composer. This is implemented +;; as an extension of `gnu-build-system'. +;; +;; Code: + +(define (default-php) + "Return the default PHP package." + + ;; Do not use `@' to avoid introducing circular dependencies. + (let ((module (resolve-interface '(gnu packages php)))) + (module-ref module 'php))) + +(define (default-findclass) + "Return the default findclass script." + (local-file (string-append (current-source-directory) "/findclass.php"))) + +(define (default-composer-classloader) + "Return the default composer-classloader package." + + ;; Do not use `@' to avoid introducing circular dependencies. + (let ((module (resolve-interface '(gnu packages php-xyz)))) + (module-ref module 'composer-classloader))) + +(define %composer-build-system-modules + ;; Build-side modules imported by default. + `((guix build composer-build-system) + (guix build json) + (guix build union) + ,@%gnu-build-system-modules)) + +(define* (lower name + #:key source inputs native-inputs outputs system target + (php (default-php)) + (composer-classloader (default-composer-classloader)) + (findclass (default-findclass)) + #:allow-other-keys + #:rest arguments) + "Return a bag for NAME." + (define private-keywords + '(#:source #:target #:php #:composer-classloader #:findclass #:inputs #:native-inputs)) + + (and (not target) ;XXX: no cross-compilation + (bag + (name name) + (system system) + (host-inputs `(,@(if source + `(("source" ,source)) + '()) + ,@inputs + + ;; Keep the standard inputs of 'gnu-build-system'. + ,@(standard-packages))) + (build-inputs `(("php" ,php) + ("findclass.php" ,findclass) + ("composer-classloader" ,composer-classloader) + ,@native-inputs)) + (outputs outputs) + (build composer-build) + (arguments (strip-keyword-arguments private-keywords arguments))))) + +(define* (composer-build store name inputs + #:key (guile #f) + (outputs '("out")) (configure-flags ''()) + (search-paths '()) + (out-of-source? #t) + (composer-file "composer.json") + (tests? #t) + (test-target "test") + (install-target "install") + (validate-runpath? #t) + (patch-shebangs? #t) + (strip-binaries? #t) + (strip-flags ''("--strip-debug")) + (strip-directories ''("lib" "lib64" "libexec" + "bin" "sbin")) + (phases '(@ (guix build composer-build-system) + %standard-phases)) + (system (%current-system)) + (imported-modules %composer-build-system-modules) + (modules '((guix build composer-build-system) + (guix build json) + (guix build utils)))) + "Build SOURCE using PHP, and with INPUTS. This assumes that SOURCE provides +a 'composer.json' file as its build system." + (define builder + `(begin + (use-modules ,@modules) + (composer-build #:source ,(match (assoc-ref inputs "source") + (((? derivation? source)) + (derivation->output-path source)) + ((source) + source) + (source + source)) + #:system ,system + #:outputs %outputs + #:inputs %build-inputs + #:search-paths ',(map search-path-specification->sexp + search-paths) + #:phases ,phases + #:out-of-source? ,out-of-source? + #:composer-file ,composer-file + #:tests? ,tests? + #:test-target ,test-target + #:install-target ,install-target + #:validate-runpath? ,validate-runpath? + #:patch-shebangs? ,patch-shebangs? + #:strip-binaries? ,strip-binaries? + #:strip-flags ,strip-flags + #:strip-directories ,strip-directories))) + + (define guile-for-build + (match guile + ((? package?) + (package-derivation store guile system #:graft? #f)) + (#f ; the default + (let* ((distro (resolve-interface '(gnu packages commencement))) + (guile (module-ref distro 'guile-final))) + (package-derivation store guile system #:graft? #f))))) + + (build-expression->derivation store name builder + #:system system + #:inputs inputs + #:modules imported-modules + #:outputs outputs + #:guile-for-build guile-for-build)) + +(define composer-build-system + (build-system + (name 'composer) + (description "The standard Composer build system") + (lower lower))) + +;;; composer.scm ends here diff --git a/guix/build-system/findclass.php b/guix/build-system/findclass.php new file mode 100644 index 0000000000..a9704f809c --- /dev/null +++ b/guix/build-system/findclass.php @@ -0,0 +1,102 @@ +=')) { + $extraTypes .= '|enum'; + } + // Use @ here instead of Silencer to actively suppress 'unhelpful' output + // @link https://github.com/composer/composer/pull/4886 + $contents = @php_strip_whitespace($path); + if (!$contents) { + if (!file_exists($path)) { + $message = 'File at "%s" does not exist, check your classmap definitions'; + } elseif (!is_readable($path)) { + $message = 'File at "%s" is not readable, check its permissions'; + } elseif ('' === trim(file_get_contents($path))) { + // The input file was really empty and thus contains no classes + return array(); + } else { + $message = 'File at "%s" could not be parsed as PHP, it may be binary or corrupted'; + } + $error = error_get_last(); + if (isset($error['message'])) { + $message .= PHP_EOL . 'The following message may be helpful:' . PHP_EOL . $error['message']; + } + throw new \RuntimeException(sprintf($message, $path)); + } + // return early if there is no chance of matching anything in this file + if (!preg_match('{\b(?:class|interface'.$extraTypes.')\s}i', $contents)) { + return array(); + } + // strip heredocs/nowdocs + $contents = preg_replace('{<<<[ \t]*([\'"]?)(\w+)\\1(?:\r\n|\n|\r)(?:.*?)(?:\r\n|\n|\r)(?:\s*)\\2(?=\s+|[;,.)])}s', 'null', $contents); + // strip strings + $contents = preg_replace('{"[^"\\\\]*+(\\\\.[^"\\\\]*+)*+"|\'[^\'\\\\]*+(\\\\.[^\'\\\\]*+)*+\'}s', 'null', $contents); + // strip leading non-php code if needed + if (substr($contents, 0, 2) !== '(?:[^<]++|<(?!\?))*+<\?}s', '?>'); + if (false !== $pos && false === strpos(substr($contents, $pos), '])(?Pclass|interface'.$extraTypes.') \s++ (?P[a-zA-Z_\x7f-\xff:][a-zA-Z0-9_\x7f-\xff:\-]*+) + | \b(?])(?Pnamespace) (?P\s++[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+(?:\s*+\\\\\s*+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+)*+)? \s*+ [\{;] + ) + }ix', $contents, $matches); + $classes = array(); + $namespace = ''; + for ($i = 0, $len = count($matches['type']); $i < $len; $i++) { + if (!empty($matches['ns'][$i])) { + $namespace = str_replace(array(' ', "\t", "\r", "\n"), '', $matches['nsname'][$i]) . '\\'; + } else { + $name = $matches['name'][$i]; + // skip anon classes extending/implementing + if ($name === 'extends' || $name === 'implements') { + continue; + } + if ($name[0] === ':') { + // This is an XHP class, https://github.com/facebook/xhp + $name = 'xhp'.substr(str_replace(array('-', ':'), array('_', '__'), $name), 1); + } elseif ($matches['type'][$i] === 'enum') { + // In Hack, something like: + // enum Foo: int { HERP = '123'; } + // The regex above captures the colon, which isn't part of + // the class name. + $name = rtrim($name, ':'); + } + $classes[] = ltrim($namespace . $name, '\\'); + } + } + return $classes; +} + +$options = getopt('i:f:', []); +$file = $options["f"]; +$input = $options["i"]; + +$classes = findClasses($file); +foreach($classes as $class) { + echo '$classmap[\''.$class.'\'] = \''.$input.'/'.$file.'\';'; + echo "\n"; +} diff --git a/guix/build/composer-build-system.scm b/guix/build/composer-build-system.scm new file mode 100644 index 0000000000..3578b91954 --- /dev/null +++ b/guix/build/composer-build-system.scm @@ -0,0 +1,224 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Julien Lepiller +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix build composer-build-system) + #:use-module ((guix build gnu-build-system) #:prefix gnu:) + #:use-module (guix build json) + #:use-module (guix build utils) + #:use-module (ice-9 match) + #:export (%standard-phases + composer-build)) + +;; Commentary: +;; +;; Builder-side code of the standard composer build procedure. +;; +;; Code: + +(define* (read-package-data #:key (filename "composer.json")) + (call-with-input-file filename + (lambda (port) + (read-json port)))) + +(define* (check #:key composer-file inputs outputs tests? test-target #:allow-other-keys) + "Install the given package." + (when tests? + (mkdir-p "vendor") + (create-autoload (string-append (getcwd) "/vendor") composer-file + (append inputs outputs) #:dev-dependencies? #t) + (let* ((package-data (read-package-data #:filename composer-file)) + (scripts (match (assoc-ref package-data "scripts") + (('@ script ...) script) + (#f '()))) + (test-script + (assoc-ref scripts test-target)) + (dependencies (filter (lambda (dep) (string-contains dep "/")) + (map car + (match (assoc-ref package-data "require") + (('@ dependency ...) dependency) + (#f '()))))) + (dependencies-dev + (filter (lambda (dep) (string-contains dep "/")) + (map car + (match (assoc-ref package-data "require-dev") + (('@ dependency ...) dependency) + (#f '()))))) + (name (assoc-ref package-data "name"))) + (for-each + (lambda (input) + (let ((bin (find-php-bin (cdr input)))) + (when bin + (copy-recursively bin "vendor/bin")))) + inputs) + (match test-script + ((? string? command) + (unless (equal? (system command) 0) + (throw 'failed-command command))) + (('@ (? string? command) ...) + (for-each + (lambda (c) + (unless (equal? (system c) 0) + (throw 'failed-command c))) + command)) + (#f (invoke "vendor/bin/phpunit"))))) + #t) + +(define (find-php-bin input) + (let* ((web-dir (string-append input "/share/web")) + (vendors (if (file-exists? web-dir) + (find-files web-dir "^vendor$" #:directories? #t) + #f))) + (match vendors + ((vendor) + (let ((bin (string-append vendor "/bin"))) + (and (file-exists? bin) bin))) + (_ #f)))) + +(define (find-php-dep inputs dependency) + (let loop ((inputs (map cdr inputs))) + (if (null? inputs) + (throw 'unsatisfied-dependency "Unsatisfied dependency: required " dependency) + (let ((autoload (string-append (car inputs) "/share/web/" dependency "/vendor/autoload_conf.php"))) + (if (file-exists? autoload) + autoload + (loop (cdr inputs))))))) + +(define* (create-autoload vendor composer-file inputs #:key dev-dependencies?) + (with-output-to-file (string-append vendor "/autoload.php") + (lambda _ + (format #t " $path) {~%") + (format #t " $loader->set($namespace, $path);~%") + (format #t "}~%") + (format #t "foreach ($psr4map as $namespace => $path) {~%") + (format #t " $loader->setPsr4($namespace, $path);~%") + (format #t "}~%") + (format #t "$loader->addClassMap($classmap);~%") + (format #t "$loader->register();~%"))) + (let* ((package-data (read-package-data #:filename composer-file)) + (autoload + (match (assoc-ref package-data "autoload") + (('@ autoload ...) autoload) + (#f '()))) + (autoload-dev + (match (assoc-ref package-data "autoload-dev") + (('@ autoload-dev ...) autoload-dev) + (#f '()))) + (dependencies (filter (lambda (dep) (string-contains dep "/")) + (map car + (match (assoc-ref package-data "require") + (('@ dependency ...) dependency) + (#f '()))))) + (dependencies-dev + (filter (lambda (dep) (string-contains dep "/")) + (map car + (match (assoc-ref package-data "require-dev") + (('@ dependency ...) dependency) + (#f '())))))) + (with-output-to-file (string-append vendor "/autoload_conf.php") + (lambda _ + (format #t " X-Patchwork-Id: 23185 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 70EFB27BBE4; Sun, 12 Jul 2020 23:26:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 300B527BBE1 for ; Sun, 12 Jul 2020 23:26:20 +0100 (BST) Received: from localhost ([::1]:37336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQN-0005BV-MH for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:26:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQ9-0004t9-Ih for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35472) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQ9-0005Wu-9J for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQ9-0003ek-20 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 04/34] gnu: Add php-doctrine-instantiator. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459276213978 (code B ref 42338); Sun, 12 Jul 2020 22:26:05 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:02 +0000 Received: from localhost ([127.0.0.1]:46994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ5-0003d9-6P for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:01 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukPx-0003ad-TQ for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:54 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 38c0c9b7 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=1/rQdUXDKhldFCGF+1lyhoAzV QWS2UbYaLHdmhQU9cw=; b=OO/OeI6Sf9TPYBkrp9KFw2bM1LBT0nKDfg00fmt5U Efulw/2vyf1eK5bIbu9rr4AD4nm3NfvrzFVuGBn69rA2+C7fQP/SV5nee50P1Cwj s+D6BSFfRaL+Uc1gkWlJSfQ0l/IEmyjZP9dvdzKzsMnPhvOyiNmly3kMQlOs2FPm EwCWC4eJvoqDtJJZPIvu5t5vBcg0K6lle+/gcp5sM2HO8uJZN/+JKMWyHFCvT4e0 sjcQjsPPEBJ3+wr1TNO3eER5pKj2f7w7Xw1Py/NbxcKTnmMaeeHWg07IB7yv50ud WKQ6Wzx9zh9K0eRhq9dC/f1XjBcwCWwkRz39eARxJszBw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id a35baf7d (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:47 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:08 +0200 Message-Id: <20200712222538.18092-4-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-doctrine-instantiator): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index dab660f84f..28d8909dad 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -59,3 +59,26 @@ build its autoloading feature. This package is used by the composer-build-system to build its own store-aware autoloading feature.") (license license:expat))) + +(define-public php-doctrine-instantiator + (package + (name "php-doctrine-instantiator") + (version "1.3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/doctrine/instantiator.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17c72j29p77gdgh06b9qc0nivmav0k5yc22z4ryygj7dhr1h65nq")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Utility for instantiating PHP objects") + (description "This package provides a small, lightweight utility to +instantiate objects in PHP without invoking their constructors") + (home-page "https://www.doctrine-project.org/projects/instantiator.html") + (license license:expat))) From patchwork Sun Jul 12 22:25:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23186 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 159A927BBE4; Sun, 12 Jul 2020 23:26:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id C43DA27BBE1 for ; Sun, 12 Jul 2020 23:26:21 +0100 (BST) Received: from localhost ([::1]:37502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQP-0005FW-9S for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:26:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQ9-0004tc-Sp for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQ9-0005X2-Jr for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQ9-0003es-GF for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 05/34] gnu: Add php-sebastian-recursion-context. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459276213989 (code B ref 42338); Sun, 12 Jul 2020 22:26:05 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:02 +0000 Received: from localhost ([127.0.0.1]:46998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ5-0003dP-Lt for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:02 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukPx-0003aw-VU for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:54 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id abdcce0b for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=Mv0wFoDUATXnkFJHHgEXEH0hg /u7FpWTZl8lac2uegI=; b=ThZKNKmz0JXQRzMeeUQ3Vliz60EHPAU8KgMzpNQfI EN9xXaSlrNugnRWcPS0xi4FZ09UcgoQHzqTqjtOBJEkNRx27JggaGV98b/6GIFcJ xU7706JK9KyiPmHBD5Q4Vl6kUz3YgL5dGO8q08A2zQ/Q2WAaTCepg392CgQIbne0 xJJYsscii6BYLUN30IJ6a8i5XIrEW4qS3TbzTGx5blpygg+U3Gl8JZrn16jsdhJC Q2nkmBUhEULQIp9XO34b+IdADLobjSIHhr+EEAger+OoSN2t1DFiSwQr3tKj9sOJ ozhgmJw69zbpWJGis9PfqnG3C4xhLVvEx8x9vRR98wptg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id c7026b00 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:47 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:09 +0200 Message-Id: <20200712222538.18092-5-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-recursion-context): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 28d8909dad..b04b8e0859 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -82,3 +82,26 @@ to build its own store-aware autoloading feature.") instantiate objects in PHP without invoking their constructors") (home-page "https://www.doctrine-project.org/projects/instantiator.html") (license license:expat))) + +(define-public php-sebastian-recursion-context + (package + (name "php-sebastian-recursion-context") + (version "4.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/recursion-context.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0glpydmvr95f9xbmh76vgid2nz7rf6lxwfz1j7ksvgmf4m1dniyz")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Process PHP variables recursively") + (description "This package provides functionality to recursively process +PHP variables") + (home-page "http://www.github.com/sebastianbergmann/recursion-context") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23187 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 5835327BBE1; Sun, 12 Jul 2020 23:26:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id F071027BBE3 for ; Sun, 12 Jul 2020 23:26:21 +0100 (BST) Received: from localhost ([::1]:37548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQP-0005Ge-GR for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:26:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQA-0004uJ-9O for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQ9-0005XB-VM for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQ9-0003ez-S8 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 06/34] gnu: Add php-sebastian-exporter. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459276213997 (code B ref 42338); Sun, 12 Jul 2020 22:26:05 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:02 +0000 Received: from localhost ([127.0.0.1]:47000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ6-0003da-7R for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:02 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukPy-0003ad-Ne for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:55 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 56b02dcd for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=+YHtspz68HbKgS386ApmA15tF VQnqCPAxrKZCeEtZC4=; b=i6IFmAW9VS67b7oxXJ5lL42FVs2wrPadUiINKvwg/ DFbQTcv7+OySB/XW+NkflJpStlJI7JxX9DU+sgJ18MDAvilo5FEZkT0no8LgZUmi 0jkvQdptiD0p8Kn7YAG/C8cQKmAImLqGO3yQVZoZ8tehR9T81U2LUgGm+Y/vi4xS yU0DzGgRCUTHnj32CWM9UL2m7koXM27JPaAbmG1Y6dNj5p4oj0O6eYb4nytMGnqb QBukphI7JliSeY45wHVfmhu8Gg6+BsnCngjDBN0KojY/dRmJtDlsgAmJxoI/jQRk b8eW2ixABpu8/ZnZSxR3txQVQWviaakePPCeD8RUb97vg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 9448a9f4 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:48 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:10 +0200 Message-Id: <20200712222538.18092-6-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-exporter): New variable. --- gnu/packages/php-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index b04b8e0859..ae7d7ff6b2 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -105,3 +105,28 @@ instantiate objects in PHP without invoking their constructors") PHP variables") (home-page "http://www.github.com/sebastianbergmann/recursion-context") (license license:bsd-3))) + +(define-public php-sebastian-exporter + (package + (name "php-sebastian-exporter") + (version "4.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/exporter.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "03xj9gbi8ifnbj5n72gfpwyg65l71gg1r8yvzpbg6d3yxbqaa8f6")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (inputs + `(("php-sebastian-recursion-context" ,php-sebastian-recursion-context))) + (synopsis "Visualize PHP variables") + (description "This package provides the functionality to export PHP +variables for visualization") + (home-page "http://www.github.com/sebastianbergmann/exporter") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23188 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 8BA9C27BBE1; Sun, 12 Jul 2020 23:26:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4B1D627BBE1 for ; Sun, 12 Jul 2020 23:26:27 +0100 (BST) Received: from localhost ([::1]:38058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQU-0005Uu-Ov for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:26:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQA-0004vZ-QI for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQA-0005XM-FQ for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQA-0003f6-By for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 07/34] gnu: Add php-myclabs-deep-copy. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459276314012 (code B ref 42338); Sun, 12 Jul 2020 22:26:06 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:03 +0000 Received: from localhost ([127.0.0.1]:47004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ6-0003di-M1 for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:03 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukPy-0003aw-Py for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:55 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 9050a1be for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=ZS6Q5zoeuCxbQNh9YGOIG5BI+ pvpdyA9N3v+P0fdAMw=; b=RPevbg/0LOHFIQOvhEWbHEBvh3ZDwKcAVy6rbwOQF InqmInYIyyzMCEdOnQ7/dAOVAruBNxWMyVzWN7Cv7eghyk0OFRgMSfsqGtuOYMVM 9eHbKzfcy5pdh86KY2/T/E7OYD6TZrQbvCbw5GM35BwJKDtjWX3749XPqVJWeDF1 hh36sqZjJlK0NL5eVyxAJUjf82oV4AbQzJNWigC3OU5j2ych1I1UFVHSa75Q2Ija 1E2ufEfq9e/KnLBIwmA7j/5BUlB0B1JOs6UzwpkDaNDS6T59HhdWTjaVvyXDt3VD anE4JfxEdkKwM3FX+gUAAZU4xGw5PocOIgWTZRLvjfuIg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 3a3fd905 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:48 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:11 +0200 Message-Id: <20200712222538.18092-7-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-myclabs-deep-copy): New variable. --- gnu/packages/php-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index ae7d7ff6b2..a45726a484 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -130,3 +130,28 @@ PHP variables") variables for visualization") (home-page "http://www.github.com/sebastianbergmann/exporter") (license license:bsd-3))) + +(define-public php-myclabs-deep-copy + (package + (name "php-myclabs-deep-copy") + (version "1.10.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/myclabs/DeepCopy.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ms4qhx5cf19ggdicnd7qjrigwam206py6mj6nw8bz71mafq9nbi")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Create copies of PHP objects") + (description "This package contains a facility to create deep copies (clones) +of PHP objects. This package not only creates a new copy of an object, it +recursively create new copies of any object referenced by the object. It is +designed to work even in the presence of cycles in the association graph.") + (home-page "https://github.com/myclabs/DeepCopy.git") + (license license:expat))) From patchwork Sun Jul 12 22:25:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23184 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 2921227BBE3; Sun, 12 Jul 2020 23:26:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id DE7C927BBE1 for ; Sun, 12 Jul 2020 23:26:15 +0100 (BST) Received: from localhost ([::1]:36964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQJ-000519-Ew for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:26:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQB-0004wM-6b for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQA-0005XZ-Rb for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQA-0003fE-Nv for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 08/34] gnu: Add php-phar-io-version. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459276314020 (code B ref 42338); Sun, 12 Jul 2020 22:26:06 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:03 +0000 Received: from localhost ([127.0.0.1]:47007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ7-0003dw-3R for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:03 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukPz-0003ad-Bz for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:55 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id a9112a6c for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=ew6dTcFWEUNz/DSp78Fm7H1GZ Mu5TpkIu9ZLBe8In/M=; b=XsS2al8M8mXBLD2HhJtHkUjBWmP/eFgupqoh/4Esc uw6khWz8MiMuNMIL1ZrEEui2kNUPzPObAscm6ijAU7yxPS4rsuY2XMjit++Zdbwf h4jiw/0okWmZkaiDuhIP+jMj3V35IaF6YDwMGLD1oPfz49PLboICIQjCFJpz98eF X4tJXb0dXwxChMUDYXKXxzR4mY6BmgDG6KMYHSri7nCQN5JhGbh1XvvjTC4DKs8h Q0OJqbtSoleKvkf26ZLLyYbo+tD2pdyNuC6GAfrnYaltO+eS/xLOYsGY4/ObQ21y UAMKWO/L3SbxO4uZNaA78mbgBe8USCfvVXGPJc395028g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 09a91e5a (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:49 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:12 +0200 Message-Id: <20200712222538.18092-8-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phar-io-version): New variable. --- gnu/packages/php-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index a45726a484..0b64efe6ca 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -155,3 +155,28 @@ recursively create new copies of any object referenced by the object. It is designed to work even in the presence of cycles in the association graph.") (home-page "https://github.com/myclabs/DeepCopy.git") (license license:expat))) + +(define-public php-phar-io-version + (package + (name "php-phar-io-version") + (version "3.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phar-io/version.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0r9470p0azw7l0x2wbn7kh0zhpswvjnm32vc8vml5v5nskmnqz4c")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (properties + `((upstream-name . "phar-io/version"))) + (synopsis "Library for handling version information and constraints") + (description "This package contains a library for handling version information +and constraints.") + (home-page "https://phar.io") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23189 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 CF29627BBE3; Sun, 12 Jul 2020 23:26:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 99E0027BBE1 for ; Sun, 12 Jul 2020 23:26:28 +0100 (BST) Received: from localhost ([::1]:38194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQW-0005YI-6M for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:26:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQB-0004x0-HH for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQB-0005Xp-6a for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQB-0003fL-3a for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 09/34] gnu: Add php-phar-io-manifest. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459276414033 (code B ref 42338); Sun, 12 Jul 2020 22:26:07 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:04 +0000 Received: from localhost ([127.0.0.1]:47009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ7-0003e5-Eo for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:03 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukPz-0003aw-Lj for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:56 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id c8bb9bd5 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=FwDKhNXemO3Jc4fLZvhWwG2YE heKNEOf2e4xFq41DhU=; b=OE/bj5XBxIV/AsYSYqesTvEjV4x0/hQ0GfzlnlHn7 GYmTa3q+3CYnB/YEeAGZed9PbFDYyBNFVtTj7r45n8N8sOJxGBG/QVBACFDlz9vL ZrOB/l+LYkXhUkbkKpewhkr+oijhF8UfE/0NhVlNIoFkrAwCPK/5AOLZvQCo4Bv9 kXcohgM4NakR+XFSzylrAs769aGflhnhHJWi4WPbN0YX4MP1mxUSkmfR7zZyJCQe JdGTybDazpQH7m53UWFFuXpWXVvW/K6UhSOIhRqBOpmcXZJ7gtuxKUJVtcon6P+9 /0J+ROCwK9v0mHlcOf5umdSdagCSpIJ/ggtsa0CsW5huw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 975ccc30 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:49 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:13 +0200 Message-Id: <20200712222538.18092-9-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * qnu/packages/php-xyz.scm (php-phar-io-manifest): New variable. --- gnu/packages/php-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 0b64efe6ca..f0f4fe650a 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -180,3 +180,30 @@ designed to work even in the presence of cycles in the association graph.") and constraints.") (home-page "https://phar.io") (license license:bsd-3))) + +(define-public php-phar-io-manifest + (package + (name "php-phar-io-manifest") + (version "2.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phar-io/manifest.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0r2s1qdkhn7782g1y6skxvp5w397vmwb496fymsnik2818w0q469")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (inputs + `(("php-phar-io-version" ,php-phar-io-version))) + (properties + `((upstream-name . "phar-io/manifest"))) + (synopsis "PHP Archive information reader") + (description "This package contains a component for reading phar.io manifest +information from a PHP Archive (PHAR)") + (home-page "https://phar.io") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23190 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 31F9727BBE3; Sun, 12 Jul 2020 23:26:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id EEB9827BBE1 for ; Sun, 12 Jul 2020 23:26:28 +0100 (BST) Received: from localhost ([::1]:38218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQW-0005Yt-Fp for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:26:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQB-0004xj-V3 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35479) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQB-0005Y1-Iq for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQB-0003fS-Fb for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 10/34] gnu: Add php-symfony-polyfill-ctype. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459276414042 (code B ref 42338); Sun, 12 Jul 2020 22:26:07 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:04 +0000 Received: from localhost ([127.0.0.1]:47013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ7-0003eI-Tt for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:04 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ0-0003ad-7E for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:56 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id cb2e4179 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=hWHvPbRvzpUR705oPqHJ8cYsH wtQvN5dfthRUkZFT/s=; b=AsR2UZKC65N8Af64qBOlmZHgmsbkkOKTO05kWrKqe ZwoP82w6Aw1RuGAmmJy/sRHcaf+6AcNTN8y6Bbb9X66K6Z8GrITXN8fisdogBdOi jKMsN7ppGu1lht0KnbWL7fkFaifgV5H/ISW4OvXFxBYwaIVYI7oySjNEraZkbUHs fLABEeuolX+RaTo+QrDTNOsL4rv/O4/VS3+w5J3Rjy/HRblBGCgptzvrpx5BmR9V R2gFDLug3TLgCkA9GbQz0TJdwDt/qQsc2bK0MIZLmPivnOCc0w1OR+jtBBDvCmtQ XDr/Qzezzig93ySoY7fCTh2LKPeZ9bsNdOpt6lryJLe1g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 8878a5d9 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:50 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:14 +0200 Message-Id: <20200712222538.18092-10-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php.scm (php-symfony-polyfill-ctype): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index f0f4fe650a..51e51ac51b 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -207,3 +207,26 @@ and constraints.") information from a PHP Archive (PHAR)") (home-page "https://phar.io") (license license:bsd-3))) + +(define-public php-symfony-polyfill-ctype + (package + (name "php-symfony-polyfill-ctype") + (version "1.17.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/symfony/polyfill-ctype.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bh22vwq2idy7fi8ajm6aggjdvds64s98y9854b5gl9s84dk9pz8")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Ctype functions for older PHP versions") + (description "This component provides @code{ctype_*} functions to users +who run php versions without the ctype extension.") + (home-page "https://symfony.com") + (license license:expat))) From patchwork Sun Jul 12 22:25:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23191 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 4CAF827BBE3; Sun, 12 Jul 2020 23:26:34 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 165A527BBE1 for ; Sun, 12 Jul 2020 23:26:34 +0100 (BST) Received: from localhost ([::1]:38770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukQb-0005mo-M6 for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:26:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukQC-0004yg-9k for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35480) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukQB-0005YE-VD for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukQB-0003fa-SA for guix-patches@gnu.org; Sun, 12 Jul 2020 18:26:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 11/34] gnu: Add php-webmozart-assert. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:26:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459276414054 (code B ref 42338); Sun, 12 Jul 2020 22:26:07 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:04 +0000 Received: from localhost ([127.0.0.1]:47015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ8-0003eQ-8D for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:04 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ0-0003aw-GX for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:57 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 36620d57 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=uz1sNx9UFoysgOqUDb7m5ignU YMo77G0AjoPQNV1b1Y=; b=UDKShAZiYYNKTyhzPdBg/GeRsPB4uUQ5SOit5S9a1 qJp01ReiVzBd9aO7TyNmxwUKamjtwRV9z1r6qjMilS2HzXP0VuPu+gPW6ocX7Pmw 3OhI7BmrpKcx7ovZ5rTTXVaX9ca+LoJLrkeQWXhAFrPYKVQwsukAS6z9yZ2Wfswn 0qnzoSw0QwKElBtJe3WNiiREaynyEftUhvNrzhUbxyEbKPUC9ZgjVpa1pT24plOC uubMa3V0I1Ecqh1N+YI3ZTGeIl76n80hRJoKgmmBtHSuBUnWqeG1YYbd1ckuM8ce A2Yb5UJyimSWOLhKT4H51iFlEi7HU9xdNUEV6Vq3Td98g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 00fa5e19 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:51 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:15 +0200 Message-Id: <20200712222538.18092-11-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-webmozart-assert): New variable. --- gnu/packages/php-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 51e51ac51b..ffc2eb7b11 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -230,3 +230,28 @@ information from a PHP Archive (PHAR)") who run php versions without the ctype extension.") (home-page "https://symfony.com") (license license:expat))) + +(define-public php-webmozart-assert + (package + (name "php-webmozart-assert") + (version "1.9.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/webmozart/assert.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1q9bp4sp11r8ghdzr0qswdf1k5bf9b5s525im3kspar6y8019sh9")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (inputs + `(("php-symfony-polyfill-ctype" ,php-symfony-polyfill-ctype))) + (synopsis "Assertions to validate method input/output with nice error messages.") + (description "This library contains efficient assertions to test the input +and output of PHP methods.") + (home-page "https://github.com/webmozart/assert") + (license license:expat))) From patchwork Sun Jul 12 22:25:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23193 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 141F427BBE3; Sun, 12 Jul 2020 23:27:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A945627BBE1 for ; Sun, 12 Jul 2020 23:27:09 +0100 (BST) Received: from localhost ([::1]:39028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRB-0005uv-7g for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR5-0005uE-0W for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR4-0005jR-NQ for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR4-0003iY-KV for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 12/34] gnu: Add php-phpdocumentor-reflection-common. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277014141 (code B ref 42338); Sun, 12 Jul 2020 22:27:02 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:10 +0000 Received: from localhost ([127.0.0.1]:47031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQD-0003fv-Ui for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:10 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ1-0003ad-3q for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:57 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id d24ed555 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=V4ZamGc/HDdD54Y2DnrMIoork eCwBMq2p7TPFt6E9tc=; b=dcRCI/Rvx5q8PAyXf6B/KjCgDnmVfYyExJfdseUax YuS84XUKGsV4lahd7aXg54/3QMi0KKd2TUduUqwp18HnjwFvsWIZzDgLhRXV1Efx +m9AG2gFLrPk4Lhd8v7CSUrIztccPPm/jh96WHLIHzeziGwdOQtgIDJEv/O5Uq/L bNLg+7JBscpzqakkTFCUU+YN5DzBOpMy3UbpBRc0/6l8WGzJMTvGArT0CNEBOgwq XWcNyT+JJBDOUDezwuA9MybjeJ14aD8sHFbD4EuQX6jxbWu+Q9t2HBJxIg7jpaik NNaaJggSDU9ydXtkFmpY92RubDrGelfigTe5n+FSoue/g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 8dae4503 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:51 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:16 +0200 Message-Id: <20200712222538.18092-12-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpdocumentor-reflection-common): New variable. --- 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 ffc2eb7b11..9b604c46f0 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -255,3 +255,27 @@ who run php versions without the ctype extension.") and output of PHP methods.") (home-page "https://github.com/webmozart/assert") (license license:expat))) + +(define-public php-phpdocumentor-reflection-common + (package + (name "php-phpdocumentor-reflection-common") + (version "2.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phpDocumentor/ReflectionCommon.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1q685cpwbfxqy42iz61xxv6zbcc1qskn07nkipflj6c5s935l8jy")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Common reflection classes used by phpdocumentor to reflect +the code structure") + (description "This package contains common classes used by phpdocumentor +to analyze the code structure.") + (home-page "http://www.phpdoc.org") + (license license:expat))) From patchwork Sun Jul 12 22:25:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23192 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 0F9E727BBE3; Sun, 12 Jul 2020 23:27:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id CCC0127BBE1 for ; Sun, 12 Jul 2020 23:27:08 +0100 (BST) Received: from localhost ([::1]:39012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRA-0005uL-9c for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR4-0005u7-K6 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR4-0005jN-BE for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR4-0003iR-8I for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 13/34] gnu: Add php-phpdocumentor-type-resolver. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277014134 (code B ref 42338); Sun, 12 Jul 2020 22:27:02 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:10 +0000 Received: from localhost ([127.0.0.1]:47029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQD-0003fs-LP for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:09 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ1-0003aw-9y for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:57 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 0b0f58bb for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=6ZA693+Ka/gFJ9eLmg5rKs1j0 3eWnHFaIFcrDliPTYQ=; b=M3aEIJvmDV45CKfQkr+zc9rzRiGootcKt6nve8Mas SCuGgREvOBpsELG9Rtw1xgHfASj5dbbsNttPzfvl2FoCvLhSZmCQtTw5n1Bv1wsd BbUjKkjb7djC0MTTM40FqKiA7wkQntyrk/o2/NZ/upJeEHk+WRoAp9mXuTTdlJMv fFARs4uL5TwAP3zzkdT4oKMg3GldWp7j8gcIwx3101vypZuQ15kLR5M4EVHHQIal xuAclfBicUOULV/VmhU+EFv5pJ5trTN79WC2ciXojGtUZk61pZidfK4Ma+zdrY51 o9grDWiVud6NdKydKdA7L95xHtmjy+eHGJzi4WZTqMyDg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 797c362f (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:52 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:17 +0200 Message-Id: <20200712222538.18092-13-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpdocumentor-type-resolver): New variable. --- gnu/packages/php-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 9b604c46f0..93d8649bee 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -279,3 +279,28 @@ the code structure") to analyze the code structure.") (home-page "http://www.phpdoc.org") (license license:expat))) + +(define-public php-phpdocumentor-type-resolver + (package + (name "php-phpdocumentor-type-resolver") + (version "1.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phpDocumentor/TypeResolver.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wshv49z4hxraygg2vhzn0s9ih2y9ymzpcnyjfk14vcfq5yx53l9")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (inputs + `(("php-phpdocumentor-reflection-common" ,php-phpdocumentor-reflection-common))) + (synopsis "Resolver of class names, types and structural element names") + (description "This package provides a PSR-5 based resolver of class names, +types and structural element names.") + (home-page "http://www.phpdoc.org") + (license license:expat))) From patchwork Sun Jul 12 22:25:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23197 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 46A9B27BBE3; Sun, 12 Jul 2020 23:27:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 14B2F27BBE1 for ; Sun, 12 Jul 2020 23:27:18 +0100 (BST) Received: from localhost ([::1]:39732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRJ-0006Fh-JV for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR5-0005uR-CI for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR5-0005jV-3I for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR5-0003if-04 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 14/34] gnu: Add php-phpdocumentor-reflection-docblock. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277014148 (code B ref 42338); Sun, 12 Jul 2020 22:27:02 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:10 +0000 Received: from localhost ([127.0.0.1]:47033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQE-0003g2-7k for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:10 -0400 Received: from lepiller.eu ([89.234.186.109]:42904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ1-0003bs-I0 for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:57 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 563921ca for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=GTIyCO5taEhWcVbMdN6redc1p eOp/8eHl6Qni64kLIU=; b=Nyx/no5Lw+Nu1RebhSwWRvYM1RSDMUtURutnsbIkW YsGUh48WVTf0A+x3tOWI9MepbQ0SGwtCcQDMZ9n9OQkHOiS3chx/RiJm9dA4aCYa hbaAbegafhIOWLhGsZ/DRBjKgQwOrAv9YIbF/P/0eyc6RYJ0bmF3iA0urTHsJ+uD eQbg4yAMid67CGvaZsKrGFQPu77jjPiZHhgJkTHGk/URZ+9YXfxu+J7KVIITcy0i j0mAL2OuLzeRGAbRzMGxkou8jP8yPVVf+G1A3fueUrWgqKJ/XOc9L5rk5UQ//GJa tZ/zZk7vL5z1reWU1+oUolueuiq4/5MkRu8jHfEqQT9cA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id d349199f (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:52 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:18 +0200 Message-Id: <20200712222538.18092-14-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpdocumentor-reflection-docblock): New variable. --- gnu/packages/php-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 93d8649bee..df9c490bbf 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -304,3 +304,31 @@ to analyze the code structure.") types and structural element names.") (home-page "http://www.phpdoc.org") (license license:expat))) + +(define-public php-phpdocumentor-reflection-docblock + (package + (name "php-phpdocumentor-reflection-docblock") + (version "5.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phpDocumentor/ReflectionDocBlock.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bsqwcq5ix7f5p56kc92pl1nqpjdpfc92pjvwyshp1syrrspa3rr")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (inputs + `(("php-webmozart-assert" ,php-webmozart-assert) + ("php-phpdocumentor-reflection-common" ,php-phpdocumentor-reflection-common) + ("php-phpdocumentor-type-resolver" ,php-phpdocumentor-type-resolver))) + (synopsis "Library for retrieving documentation in code fro the code") + (description "With this component, a library can provide support for +annotations via DocBlocks or otherwise retrieve information that is embedded +in a DocBlock.") + (home-page "https://github.com/phpDocumentor/ReflectionDocBlock") + (license license:expat))) From patchwork Sun Jul 12 22:25:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23200 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 4F24827BBE3; Sun, 12 Jul 2020 23:27:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1918627BBE1 for ; Sun, 12 Jul 2020 23:27:25 +0100 (BST) Received: from localhost ([::1]:40538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRQ-0006bV-ME for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR5-0005v0-Pg for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR5-0005jZ-G9 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR5-0003io-DJ for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 15/34] gnu: Add php-theseer-tokenizer. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277014155 (code B ref 42338); Sun, 12 Jul 2020 22:27:03 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:10 +0000 Received: from localhost ([127.0.0.1]:47035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQE-0003g9-Ho for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:10 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ1-0003aw-Vl for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:58 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 70125a8d for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=Yk+713NZzUPlkeHadCSGzMIqn 98ZpP8iRlnNRBG2gls=; b=iO7fgCqqS9gpEBI6BqdcEknjkWSZ/JlkdB9QraVJ9 sq1eIXeP2Y7+hfD+4tzZgQZOINbZvsF4mbh+ptlBEdCRXe4NVhrsYXNMNP4RjjYl BgeSFGObij9DXaaQZmdmaaPtTKJ+ra6CcCpnHDyFFzcUyJfsLpyT0veAYgX1iBSe P1KXcTltS6uwwTtwuNxqQURDR+HL6jneTJaZ/+xXrLqb7SiNo+2i6Z658gSVwHfR UpqfGufnJa2VQmSPSZ/VHW/YWBTZa134WM+c5/PoRFRmQ1bnSbteI1otV7K1Ea1v yly4RdCpkiYBLy9pEWVv1eDOZO+AtB96U5iec6aNuzkKw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 9fa0080d (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:53 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:19 +0200 Message-Id: <20200712222538.18092-15-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-theseer-tokenizer): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index df9c490bbf..f54b875d92 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -332,3 +332,26 @@ annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.") (home-page "https://github.com/phpDocumentor/ReflectionDocBlock") (license license:expat))) + +(define-public php-theseer-tokenizer + (package + (name "php-theseer-tokenizer") + (version "1.1.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/theseer/tokenizer.git") + (commit "11336f6f84e16a720dae9d8e6ed5019efa85a0f9"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0j436a3jpynnlqrvd7la7a7smj78aklkragwa9l8p91973xra18l")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Convert PHP to XML") + (description "This package provides a small library for converting tokenized +PHP source code into XML and potentially other formats.") + (home-page "https://github.com/theseer/tokenizer") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23195 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 6FE7627BBE3; Sun, 12 Jul 2020 23:27:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 21DC227BBE1 for ; Sun, 12 Jul 2020 23:27:12 +0100 (BST) Received: from localhost ([::1]:39138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRD-0005yV-K5 for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR6-0005vn-6b for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR5-0005jh-SW for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR5-0003iv-Pa for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 16/34] gnu: Add php-sebastian-code-unit-reverse-lookup. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277114163 (code B ref 42338); Sun, 12 Jul 2020 22:27:03 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:11 +0000 Received: from localhost ([127.0.0.1]:47037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQE-0003gG-PZ for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:11 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ2-0003ad-3h for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:58 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 058eb13c for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=WlCw+XsIXhjy3Yz/r3dm7ewNB Qr6vheTqK4bOHyhYYE=; b=e9+PPzQNZQl1ZoakJx4qKRrcto+udou9ldn3Hys2O nVuHRXTkdMRuHgoR/mt0gjdnMabm+WrgOumq1xbl8AyPRZy7y46t9mZoqCjfXPgr MJtTJDp2mRfTDNqIzLmssNeD2Yg4YWrQP6NlN5ARLrF+QDCL3VDGTKVzzG/7gG1S gqYXr/Gb5s/TnmBC0K40AInwLAszw6RBYGbQ3nv4u46yANnnYzDbHh081bDHR5Th PCmgJ+iwIFlDCy5VHBMltVmYxvxCxAPlXTYoje/KPkWTz9v8TspGmQGn0QO5E+/Y aOxQapXMdVRdXt1QoY0J4AgkapMQsrLKL4g5p8m+uDPvQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 020fd3cf (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:53 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:20 +0200 Message-Id: <20200712222538.18092-16-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-code-unit-reverse-lookup): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index f54b875d92..13584273f9 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -355,3 +355,26 @@ in a DocBlock.") PHP source code into XML and potentially other formats.") (home-page "https://github.com/theseer/tokenizer") (license license:bsd-3))) + +(define-public php-sebastian-code-unit-reverse-lookup + (package + (name "php-sebastian-code-unit-reverse-lookup") + (version "2.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0lppni3qcd6gx50jf16y3n71ldj12xjd06kl9ml78zd5p2s6z4qc")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Look up function name from location") + (description "This package provides a facility to look up which function or +method a line of code belongs to.") + (home-page "https://github.com/sebastianbergmann/code-unit-reverse-lookup/") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23194 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 2F56D27BBE4; Sun, 12 Jul 2020 23:27:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id C36A527BBE3 for ; Sun, 12 Jul 2020 23:27:11 +0100 (BST) Received: from localhost ([::1]:39118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRD-0005xs-AR for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR6-0005wd-ID for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR6-0005jr-8R for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR6-0003j2-5Y for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 17/34] gnu: Add php-phpunit-php-token-stream. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277114170 (code B ref 42338); Sun, 12 Jul 2020 22:27:04 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:11 +0000 Received: from localhost ([127.0.0.1]:47039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQF-0003gO-1d for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:11 -0400 Received: from lepiller.eu ([89.234.186.109]:42904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ2-0003bs-7u for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:58 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 5b66db5c for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=Wb5frlZXN2TP+d7ZBGnP/ti9t 0Skzmaitz/44sKue0I=; b=KU9A3lFOEQ6Gmpe+24vHxN4RPNC5bRs3MgRhF9w4r PZMT7CF4cqPHwkwJ8NtEnBnmnn+kh+j0mHJZev54X7E1jze76cwKbxV50rjR/LF+ Akls7Rog2h9IZ08NfpSf+fvjjKvoltj2SACgSpwmVBHvekxZCKJPvGj68yu0eLUh HZksEd6hxEeU15EjCtifDrYIDfujR4D0Ie86rKFTbc0vxPa5O+luj03tJ6Hgh7pt kx1LHh90MLE4v+iOOfwpqYz811UfdGvNHPwupkhMJTApO/8gFl1wBIeyNY6NvrDJ GiTuyuu25M7t1J9nGD9fWM/54TRLYlI3y2W4M9h+ZzvLw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 09be9181 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:54 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:21 +0200 Message-Id: <20200712222538.18092-17-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpunit-php-token-stream): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 13584273f9..344c413d2c 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -378,3 +378,26 @@ PHP source code into XML and potentially other formats.") method a line of code belongs to.") (home-page "https://github.com/sebastianbergmann/code-unit-reverse-lookup/") (license license:bsd-3))) + +(define-public php-phpunit-php-token-stream + (package + (name "php-phpunit-php-token-stream") + (version "4.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/php-token-stream.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0iv8ssvyjhgxa1qpp5s8i0j409w49s2kc9qwv1c27qgdhv7yhf7h")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Wrapper around PHP's tokenizer extension") + (description "This library provides a wrapper around PHP's tokenizer +extension.") + (home-page "https://github.com/sebastianbergmann/php-token-stream/") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23204 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 49B1727BBE3; Sun, 12 Jul 2020 23:27:41 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1679727BBE1 for ; Sun, 12 Jul 2020 23:27:41 +0100 (BST) Received: from localhost ([::1]:41524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRg-0006zt-MV for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR6-0005xJ-UW for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR6-0005jz-L0 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR6-0003jA-Hr for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 18/34] gnu: Add php-sebastian-version. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277114177 (code B ref 42338); Sun, 12 Jul 2020 22:27:04 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:11 +0000 Received: from localhost ([127.0.0.1]:47041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQF-0003gV-9d for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:11 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ2-0003aw-Jn for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:59 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id e018e868 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=tOa92GiXxdqHHACSMuP7r2lwH 8wTmdRENLgOS3HWhIc=; b=f4COZPRZD+Qkvomwt6RUuIdKLrSbBLNf2ISKtwLXF Z8bq9n6tU3F+RDtIb+JZ0w/Bstuv2x7Dk4n5Rk1D7DtoClgbsIg/+nQT1IXdBn46 Cv2R1517eSsvxFlv7plRrlApEmN7Z+Mb8aVDU4jORtMAQwYauU/ebC60cO2eutsv ClEAaYbgCvEOpQGmQ9v+V/EBc1wCH3kDTuIpazjNP1zx1X+jeUrIXj51mYmkyOUr vnnTLodpqC5wz6/+OuuAfGVhYGm8mkUZmjkyTMv3ItHGLFOOo6b7e0iBKWvFQakV tAtbX5a0O8QkccXjymkAsYO4FJkPg6WGcQpPQciXImDUg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id dc675e69 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:54 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:22 +0200 Message-Id: <20200712222538.18092-18-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-version): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 344c413d2c..906a88d49e 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -401,3 +401,26 @@ method a line of code belongs to.") extension.") (home-page "https://github.com/sebastianbergmann/php-token-stream/") (license license:bsd-3))) + +(define-public php-sebastian-version + (package + (name "php-sebastian-version") + (version "3.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/version.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kr2i6s7y4k18bz09cqj4pc4bqzph9n6ncgpqq4p4fg790h5i5ym")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "PHP versionning library") + (description "This package is a library that helps with managing the version +number of Git-hosted PHP projects.") + (home-page "https://github.com/sebastianbergmann/version") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23205 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 5816227BBE3; Sun, 12 Jul 2020 23:27:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1CB4027BBE1 for ; Sun, 12 Jul 2020 23:27:46 +0100 (BST) Received: from localhost ([::1]:41738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRl-000753-LJ for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR7-0005y8-BV for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR7-0005kA-1B for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR6-0003jH-U6 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 19/34] gnu: Add php-phpunit-php-file-iterator. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277114184 (code B ref 42338); Sun, 12 Jul 2020 22:27:04 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:11 +0000 Received: from localhost ([127.0.0.1]:47043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQF-0003gc-IG for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:11 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ2-0003ad-SN for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:59 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 8e9eb377 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=5ortme/8PwEwzx5TzOlY8dWDM 1R6Ev5lZKNZUpzGsGk=; b=mk9KpL6GwHyRhvUXW2XRlWZFsw+8q4qIU3obGWGAj 6SD5ucECQ2cGDNl+3Al0cTXO6VPcVaQ9J0+4QGfi16giHnE50Hsg4XdAIKy2a/4U Grnqld05E9t9iFMm2HAif+cfkiPu385lNj6B/7LVWVxn3oGAd/FU+lCXImiUXwUX P4WyWktUS4v3ERiW2NB+ZniIdgmIWOTuO9Qsa6/68nmQlWxozhwiGSQs/7Aoc87b 3ACUpYLRvbSLrF1KzjUwSE7Y8vNj5etV2m/WXbyatWFk+ze0588UN9awaoRU73AU vteqmeDkK0FyEIbCbZkY6MqgE6pQiwiNYJieDC+vBFYSg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 865d82b8 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:55 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:23 +0200 Message-Id: <20200712222538.18092-19-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpunit-php-file-iterator): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 906a88d49e..5d06bea0cb 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -424,3 +424,26 @@ extension.") number of Git-hosted PHP projects.") (home-page "https://github.com/sebastianbergmann/version") (license license:bsd-3))) + +(define-public php-phpunit-php-file-iterator + (package + (name "php-phpunit-php-file-iterator") + (version "3.0.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/php-file-iterator.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1pglbp8m4iv5w16gshlp49k4ngpsx28mhwip761kyvvd5w27ysr2")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Filter file by extension") + (description "This package contains a @code{FilterIterator} implementation +that filters files based on a list of suffixes.") + (home-page "https://github.com/sebastianbergmann/php-file-iterator/") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23198 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 085C727BBE3; Sun, 12 Jul 2020 23:27:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id CE64427BBE1 for ; Sun, 12 Jul 2020 23:27:19 +0100 (BST) Received: from localhost ([::1]:39940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRL-0006LV-B0 for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR7-0005zM-PG for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35517) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR7-0005kM-Cx for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR7-0003jO-A5 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 20/34] gnu: Add php-phpunit-php-text-template. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277214192 (code B ref 42338); Sun, 12 Jul 2020 22:27:05 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:12 +0000 Received: from localhost ([127.0.0.1]:47045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQF-0003gj-Qv for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:12 -0400 Received: from lepiller.eu ([89.234.186.109]:42904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ3-0003bs-1T for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:59 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id e764dc85 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=1ngwT8cVQz+D/F83QwNOvt1r7 eSvIwdzz/dG8IMLmDg=; b=iq3cVnsp92lrZwMMUaTMkOde5po+iekmUZlUIlXRz lfUnONCeMyKPtYl5ruiWq+sya922batXgP09Wk+3hW23M6UWUSVbaa7cLuPgAmbj v9NePvoPm0nwfVKEnRJuiTTxmJcsbLE8s2cy/fOvUus1/UyqD49b+f2oFu8BOSIW dina4rn5mWILmziuN6nvdqpXZD/yEunHKcH9b6rm3lSnZW9hrFEx4odeE+y5Vqle grtTTvuGKH7Jl05QTldPseIqEh8uR3KYeXTLO6jkL7GOb2ToPATz3lMFYkNLx0Lm 3W7xujRNQBYP7zkPYq2kFQw2H8yHAWV+9jbNXjQww5Dqg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id b733766a (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:55 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:24 +0200 Message-Id: <20200712222538.18092-20-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpunit-php-text-template): New variable. --- gnu/packages/php-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 5d06bea0cb..b5abcaae36 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -447,3 +447,25 @@ number of Git-hosted PHP projects.") that filters files based on a list of suffixes.") (home-page "https://github.com/sebastianbergmann/php-file-iterator/") (license license:bsd-3))) + +(define-public php-phpunit-php-text-template + (package + (name "php-phpunit-php-text-template") + (version "2.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/php-text-template.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0x38kj1xlnysg9xgad560k361l93vh32mvkyfn7rss3p2r319jhx")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Simple template engine") + (description "This package contains a library for a simple templating engine.") + (home-page "https://github.com/sebastianbergmann/php-text-template/") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23196 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 0CAEB27BBE3; Sun, 12 Jul 2020 23:27:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D2E5D27BBE1 for ; Sun, 12 Jul 2020 23:27:16 +0100 (BST) Received: from localhost ([::1]:39620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRI-0006Cs-9m for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR8-00060c-5X for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR7-0005kd-Q4 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR7-0003jW-N7 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 21/34] gnu: Add php-sebastian-diff. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277214199 (code B ref 42338); Sun, 12 Jul 2020 22:27:05 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:12 +0000 Received: from localhost ([127.0.0.1]:47047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQG-0003gr-3J for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:12 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ3-0003aw-GZ for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:25:59 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 4db10f77 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=v/JWPGPMKieJ4H9c4euXY9JAo AXKmTjqnBwFXCRD370=; b=JH3AZxLOTt6DK1ZBFYtZxeChleGsDY0LrokpZXrG3 w50j/Srl1oS4fD3sFOnnklTE12yjBgCt7N/F7bfcezjmjjr3HtNWaZKRxdlldvEC 6SaOGqbU4K5vEA7NE24hkQBprCzhbMB+1WoEu05Bc0Kp9XYglQdPKRpudohxPVoU 4bufgkFW+aqnF7/fTHKpR8924OZAynNyHsk11AbkX58nScCgpLqLka1Nt1/FzeP4 V/3Ra5iZIEL5VMnMRm7lSUIMFXFiyvye0iCROFLO/8QH6zhgXZgGV2yAtUx7OqI3 lXBGAIzccQFYiP86IsDu//cyf5cDG2s//z5iYwUfa2ngQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id d49bf957 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:56 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:25 +0200 Message-Id: <20200712222538.18092-21-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-diff): New variable. --- gnu/packages/php-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index b5abcaae36..ccc613baaf 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -469,3 +469,25 @@ that filters files based on a list of suffixes.") (description "This package contains a library for a simple templating engine.") (home-page "https://github.com/sebastianbergmann/php-text-template/") (license license:bsd-3))) + +(define-public php-sebastian-diff + (package + (name "php-sebastian-diff") + (version "4.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/diff.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fr5vrmz3d1wwpf59y16fin5lgi55sjd7dqfkx0zqmsqadbjrjxq")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Diff implementation") + (description "This package contains a PHP implementation of a diff function.") + (home-page "https://github.com/sebastianbergmann/diff") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23201 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 C447D27BBE3; Sun, 12 Jul 2020 23:27:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 95B1527BBE1 for ; Sun, 12 Jul 2020 23:27:27 +0100 (BST) Received: from localhost ([::1]:40774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRT-0006hV-4Q for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR8-000622-Jj for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR8-0005kq-7R for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR8-0003jd-4P for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 22/34] gnu: Add php-sebastian-comparator. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277214206 (code B ref 42338); Sun, 12 Jul 2020 22:27:06 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:12 +0000 Received: from localhost ([127.0.0.1]:47049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQG-0003gy-BM for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:12 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ3-0003ad-Oc for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:00 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id b6176355 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=KO2Ilrm8dXS85dF4zW4WfG4m3 Hz0HjUkJm1V7cHbjDA=; b=h2gDj/KTfYx5xB6qafHELqh57r/g83lIGMA3TnQrI bpczYS8oiCfqbgxwfutZRLWsb+GaAwjzks3s2qRkD16tLtDEWbpeCEd3Hg49jMqo MEQLLAwtdndPJv3RcUpIBFTp7BdZ3QJarhYh/Ex4t5FIl3zBfzyVce9JBzo56OhM UDd2kUZkifUrhCOolMEkR16DMIANArCthfEFM+cIUnEaCANZ+cAwG7C/Y56gLr+a gJO3HiQnXpo8d/oR3+dVZoPGU3MtRMqmqikHvdsAXU0q8ro4eWYVKpv9FYtnk5/t j7n5rRXgsQygW53SooFYd0yMZNqaUzYgNwRSlaBa5AphQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id b001dbe6 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:56 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:26 +0200 Message-Id: <20200712222538.18092-22-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-comparator): New variable. --- gnu/packages/php-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index ccc613baaf..aff2ed79a7 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -491,3 +491,29 @@ that filters files based on a list of suffixes.") (description "This package contains a PHP implementation of a diff function.") (home-page "https://github.com/sebastianbergmann/diff") (license license:bsd-3))) + +(define-public php-sebastian-comparator + (package + (name "php-sebastian-comparator") + (version "4.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/comparator.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1scw7vm26layqh5mzvdhjiil520fj6ipixkjnmwm036xr925iww0")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (inputs + `(("php-sebastian-exporter" ,php-sebastian-exporter) + ("php-sebastian-diff" ,php-sebastian-diff))) + (synopsis "PHP value comparison") + (description "This package provides the functionality to compare PHP values +for equality.") + (home-page "https://github.com/sebastianbergmann/comparator") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23202 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 291A927BBE3; Sun, 12 Jul 2020 23:27:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id EA55327BBE1 for ; Sun, 12 Jul 2020 23:27:30 +0100 (BST) Received: from localhost ([::1]:40992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRW-0006nH-H7 for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR8-000631-UZ for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR8-0005l2-Jv for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR8-0003jk-H1 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 23/34] gnu: Add php-sebastian-environment. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277214213 (code B ref 42338); Sun, 12 Jul 2020 22:27:06 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:12 +0000 Received: from localhost ([127.0.0.1]:47051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQG-0003h5-JV for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:12 -0400 Received: from lepiller.eu ([89.234.186.109]:42904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ4-0003bs-2f for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:00 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 09995805 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=tPl65p3+upIny5KhV19aucdox TFk6hVKH0EQJlvkHMQ=; b=hKjxjy5ODJucs79MSOBTrahvaNMyYTeuVUkdpLyMn mHJtBkWtyGvn3jqSuGmj2ahs8ZGBfqpRuJ8CI5RP0px/UqKwgB64tjGUXi5CDPjO rvnbsS3xAeuv6LXUDzkxEtTGzFgsyiCuMOa3Q1BpFMC1EgettRrGtJPzSIctLC1S LxJEaDvgckE97z7BbTPWc+KqvdbbbltyXVODp+mxN083bRusb8kUFA4IpzSmjXzV X0hDmkgaIaOB0j8GPI6BdIpOWfq3WYsAPhTq6ZzlwSYAWGn946x72+QUhd7i9DMY 0+2x7O3MY1WkBM3JdkUGT+/VweB7EQk+yI2HqIYg8jk6g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 6b95a1ea (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:57 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:27 +0200 Message-Id: <20200712222538.18092-23-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-environment): New variable. --- gnu/packages/php-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index aff2ed79a7..9ee823bcda 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -517,3 +517,25 @@ that filters files based on a list of suffixes.") for equality.") (home-page "https://github.com/sebastianbergmann/comparator") (license license:bsd-3))) + +(define-public php-sebastian-environment + (package + (name "php-sebastian-environment") + (version "5.1.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/environment.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0lhaiwk6dbwii9kmjaq3gjl2x5s1rikmxkvmy4mjvjcbi7imp38s")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Handle HHVM and PHP environments") + (description "This package provides functionality to handle HHVM/PHP environments") + (home-page "http://www.github.com/sebastianbergmann/environment") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23199 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 1F62827BBE3; Sun, 12 Jul 2020 23:27:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D867E27BBE1 for ; Sun, 12 Jul 2020 23:27:20 +0100 (BST) Received: from localhost ([::1]:40042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRM-0006Nz-Dk for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR9-00064A-D2 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR9-0005lB-0R for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR8-0003js-Tc for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 24/34] gnu: Add php-phpspec-prophecy. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277314221 (code B ref 42338); Sun, 12 Jul 2020 22:27:06 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:13 +0000 Received: from localhost ([127.0.0.1]:47053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQG-0003hC-Ro for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:13 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ4-0003aw-9Q for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:00 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id ae1fe683 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=RMH8u9Jh4tWYtY6BEA/FscYKB JvL+v/ph7M1WoFM+ts=; b=OWn7UPZ+P3kMj04L0je/jRl/q16BR349zyGOfDzkb R7Ej9OrZcHXk3QjGoiespdGa+bN9Sd5vsbfaVdyzC2HHNObYXs+pyJjXT9pX6EqA hFwUUg4/DemDid904FjEkD8MRdBHpF3U5RsCykkvSZWg6QFNynXTOwMqQwwD10GH AhQ9QY4kuvy05cfM7Z13FikQDqmfAfnKJ5Oe2rHMj14AsfvCnOeHmZtREhVejeN6 SVn8ccqSd2av0aoxzD+0YY7XRQq1W5xRJAhVcbms/wCBmFIMKuMEmjGgBR7j+grA 2kzFkkfsR1fDEwTprkfj+rwXaPOYlJnTcoDgINSmV1s4w== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 13bcaa83 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:57 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:28 +0200 Message-Id: <20200712222538.18092-24-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpspec-prophecy): New variable. --- gnu/packages/php-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 9ee823bcda..8c96d9aabc 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -539,3 +539,32 @@ for equality.") (description "This package provides functionality to handle HHVM/PHP environments") (home-page "http://www.github.com/sebastianbergmann/environment") (license license:bsd-3))) + +(define-public php-phpspec-prophecy + (package + (name "php-phpspec-prophecy") + (version "1.11.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phpspec/prophecy.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1pd6iz6pbfpaz5rqa36q01l569zgiqpjgqmzw3rra2qdh1jrwdy1")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (inputs + `(("php-sebastian-recursion-context" ,php-sebastian-recursion-context) + ("php-doctrine-instantiator" ,php-doctrine-instantiator) + ("php-sebastian-comparator" ,php-sebastian-comparator) + ("php-phpdocumentor-reflection-docblock" + ,php-phpdocumentor-reflection-docblock))) + (synopsis "Mocking framework for PHP 5.3+") + (description "This package contains a mocking framework for testing PHP +5.3+ projects.") + (home-page "https://github.com/phpspec/prophecy") + (license license:expat))) From patchwork Sun Jul 12 22:25:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23208 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 B560C27BBE3; Sun, 12 Jul 2020 23:36:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 82A2427BBE1 for ; Sun, 12 Jul 2020 23:36:14 +0100 (BST) Received: from localhost ([::1]:42298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukZy-0007rh-0f for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:36:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukZm-0007oK-Gn for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukZm-00073n-8D for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukZm-0003ys-5Z for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 25/34] gnu: Add php-sebastian-object-reflector. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459335215231 (code B ref 42338); Sun, 12 Jul 2020 22:36:02 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:35:52 +0000 Received: from localhost ([127.0.0.1]:47074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukZc-0003xV-E9 for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:35:52 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ4-0003ad-KJ for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:01 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 00c04cd6 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=VS9Eulv2aLaA/xOjdkIWxjJr8 +JtffK9yZak+HeY/5A=; b=Mw9c5daO4WRZZO17stkn4lhBU5RNtP03ZPFSjAsgD lk6qU2snpNIK/vem6foAFlwLm8dQIWdNkwAQp9QnXXqZ1V6ls79QEqA1UfQNP6q5 +m/8Tl5LHmKVlQJ8hyInBnrySNbXawBYoBufcWsrJD0LRz/OzcEZBU4QUCPH5vnQ AGKmGV23F0G9NP127FkN+DY5O0QjDWZHG703DyZalM84EOpYOW0uRPbjWoFXI3P0 QxLmZG3PyXrCdishfjxIZiZxH/gP/J5BdmxugzQZPA2n5Gu+0EaE5AZ05zTrT/Pt 5VPVmEH5Z9gLT46JMEg3wnDrsB+7o9D0BKLO2lpt7ZkXA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 77c34ee2 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:58 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:29 +0200 Message-Id: <20200712222538.18092-25-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-object-reflector): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 8c96d9aabc..899f6a3f69 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -568,3 +568,26 @@ for equality.") 5.3+ projects.") (home-page "https://github.com/phpspec/prophecy") (license license:expat))) + +(define-public php-sebastian-object-reflector + (package + (name "php-sebastian-object-reflector") + (version "2.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/object-reflector.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qkvp2s932h53f161l30qlnxicw4fklirmnds173wgmavms1b5yb")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "PHP reflexion library") + (description "This package allows reflection of object attributes, including +inherited and non-public ones.") + (home-page "https://github.com/sebastianbergmann/object-reflector/") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23203 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 52AA927BBE3; Sun, 12 Jul 2020 23:27:36 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1642727BBE1 for ; Sun, 12 Jul 2020 23:27:36 +0100 (BST) Received: from localhost ([::1]:41300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukRb-0006ub-L2 for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:27:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukR9-00065O-Rv for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35522) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukR9-0005lF-Cn for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukR9-0003jz-9q for guix-patches@gnu.org; Sun, 12 Jul 2020 18:27:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 26/34] gnu: Add php-sebastian-global-state. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:27:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459277314227 (code B ref 42338); Sun, 12 Jul 2020 22:27:07 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:26:13 +0000 Received: from localhost ([127.0.0.1]:47055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQH-0003hJ-3E for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:13 -0400 Received: from lepiller.eu ([89.234.186.109]:42904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ4-0003bs-Ty for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:01 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 7738412d for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=029Ek/R5BYmvPDQl2IF3KxsXB xji7EIFCw896eNwLzk=; b=Akl7BYFopLVOa+viQKPder0+F0suocGDJBncO6j97 YjbxxkImS0fte2xROpo8nTen37UbVAqOipD6Y1WZupLuH2DvB52zB41NKLMhRfEp D2LNzeX3Kf796/Ruwm9pxFusPIXWdVbu4TmxKxKjsfUSU2Ob6Qcf0TG9LQVUc+va YpqumZtp3qvSSGEbdBT6+lYm3zLvVLP3ADWHzHlvaZDbVjoX5PEfumfD8PcU0yav tx3xX54q5GgRrGRRC7v2c+iXD8C36sFpIyozOv7xvq2d44Nyk2pRncLFFiJLGhI7 /gIOX+zfHFQUEVWkfHa+ArNtqHbsoGmmXMFWzaxg2Rj9A== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 667d0b86 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:58 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:30 +0200 Message-Id: <20200712222538.18092-26-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-global-state): New variable. --- gnu/packages/php-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 899f6a3f69..4872523b31 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -591,3 +591,30 @@ for equality.") inherited and non-public ones.") (home-page "https://github.com/sebastianbergmann/object-reflector/") (license license:bsd-3))) + +(define-public php-sebastian-global-state + (package + (name "php-sebastian-global-state") + (version "4.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/global-state.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0x6sfw353px5y7azipn2mb15w7w7zxbbpbv3dbhhkryrhad8w064")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (inputs + `(("php-sebastian-recursion-context" ,php-sebastian-recursion-context) + ("php-sebastian-object-reflector" ,php-sebastian-object-reflector))) + (synopsis "Snapshotting of global state") + (description "This package contains a stand-alone component originally part +of PHPUnit. It provides support for creating a snapshot of the global state +of a PHP program.") + (home-page "http://www.github.com/sebastianbergmann/global-state") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23213 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 D474527BBE3; Sun, 12 Jul 2020 23:36:41 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9FD9B27BBE1 for ; Sun, 12 Jul 2020 23:36:41 +0100 (BST) Received: from localhost ([::1]:43646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukaP-0008U4-7J for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:36:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukZr-0007qC-P8 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukZo-000747-G8 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukZo-0003za-EP for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 27/34] gnu: Add php-sebastian-object-enumerator. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:36:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459335415274 (code B ref 42338); Sun, 12 Jul 2020 22:36:04 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:35:54 +0000 Received: from localhost ([127.0.0.1]:47086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukZd-0003yC-S7 for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:35:54 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ5-0003aw-2d for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:01 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id ab54cefd for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=ClE/cqGnerN7eJUHMLdcf/FMV extlp4n9142NxUmods=; b=cC4a/85X9TOW+uhhnBAFgKlN8fuyS3ojVyobPDVUY EV2llM81WLw882wofZH2nF0U70mkKPPlj+PoLhaKwzTYmtt58S1ZGn3MHporkEii nIJ5b2F8Nt0ZhED/GdnIekWk4qUCzmGbPlpeVwvkHC385obnvfOBLTboGPUQcI9j vbQKKipEBTj/pO+zIuPwGeGHAYENXK6JLcJf97j4XnoXYe/9COpZAi4C5kBre4lR lm6tkJyXFtFt/I2vmCZXeBjqE6+dPbvNH0j91Gv4Mok5Ptj1lzHAGLWbgUEYpQ6U Fng9hm6+wocW9XTy6lK+6MVzyu3HvGty9yl7cVTEuG4UA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 3a149bc4 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:25:59 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:31 +0200 Message-Id: <20200712222538.18092-27-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-object-enumerator): New variable. --- gnu/packages/php-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 4872523b31..8cf5668030 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -618,3 +618,29 @@ of PHPUnit. It provides support for creating a snapshot of the global state of a PHP program.") (home-page "http://www.github.com/sebastianbergmann/global-state") (license license:bsd-3))) + +(define-public php-sebastian-object-enumerator + (package + (name "php-sebastian-object-enumerator") + (version "4.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/object-enumerator.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qx28r0ncbh0x9i0jplyg870paxxsy7g1ibgbdqq11176101aj6q")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (inputs + `(("php-sebastian-recursion-context" ,php-sebastian-recursion-context) + ("php-sebastian-object-reflector" ,php-sebastian-object-reflector))) + (synopsis "Enumerate PHP objects") + (description "This package allows PHP programs to traverse array structures +and object graphs to enumerate all referenced objects.") + (home-page "https://github.com/sebastianbergmann/object-enumerator/") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23206 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 60A6F27BBE3; Sun, 12 Jul 2020 23:36:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2B88A27BBE1 for ; Sun, 12 Jul 2020 23:36:12 +0100 (BST) Received: from localhost ([::1]:42216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukZv-0007oR-MV for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:36:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukZm-0007oD-5B for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukZl-00073j-SO for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukZl-0003yk-Pk for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 28/34] gnu: Add php-sebastian-resource-operations. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459335215224 (code B ref 42338); Sun, 12 Jul 2020 22:36:01 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:35:52 +0000 Received: from localhost ([127.0.0.1]:47072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukZc-0003xP-3J for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:35:52 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ5-0003ad-DB for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:02 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 58905ec1 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=tNrWM7CxSOP9v4S0ymA6FxK0l qIVBvVOc3Y8oK2nP4M=; b=ieZ3RHdpASmk4/aKsrcwXHT4OVUHgx+5ipnMDBH9/ ++J05/0BR2PGxBrGuDhK2sBtyQ2bY1T3+YQLTKu9WDMXHrEp/ZnSoAlz/6ML0XPK jTyLdbVOCRzGHzsXdhFRv57U9rL377wZfNmOQJl3niu+Nr64g8YDnpFoyiHOHRHA hX3gB+PHvtXsEWDOaiTLROuMWCPz++C67VIP7/1SUR5KtK7FRdx6IFIVJVcjKje1 GEhTYa/cYs+RaF57V6TiRZVrVvU32Aa1xbxNyZWwGQDKexYSRxWVbbdKvRxe/MCW WmnNsoNiW1Xu2Acnd+JWZQxviRCAqc3onHVBeO8Ehqsfw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 57a74380 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:00 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:32 +0200 Message-Id: <20200712222538.18092-28-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-resource-operations): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 8cf5668030..aee08c0878 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -644,3 +644,26 @@ of a PHP program.") and object graphs to enumerate all referenced objects.") (home-page "https://github.com/sebastianbergmann/object-enumerator/") (license license:bsd-3))) + +(define-public php-sebastian-resource-operations + (package + (name "php-sebastian-resource-operations") + (version "3.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/resource-operations.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09s2gsmx6fg8sx64yyz2dszy22dcsspazlhskv3d9mflpmrk0d9y")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "List built-in PHP functions") + (description "This package provides a list of PHP built-in functions that +operate on resources.") + (home-page "https://www.github.com/sebastianbergmann/resource-operations") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23211 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 3575427BBE3; Sun, 12 Jul 2020 23:36:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id F3C6227BBE1 for ; Sun, 12 Jul 2020 23:36:32 +0100 (BST) Received: from localhost ([::1]:43010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukaG-0008Dx-JH for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:36:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukZr-0007qE-Pl for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukZo-000745-4m for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukZo-0003zS-2X for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 29/34] gnu: Add php-sebastian-type. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:36:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459335315267 (code B ref 42338); Sun, 12 Jul 2020 22:36:04 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:35:53 +0000 Received: from localhost ([127.0.0.1]:47084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukZd-0003y5-HV for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:35:53 -0400 Received: from lepiller.eu ([89.234.186.109]:42902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ6-0003aw-2z for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:02 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 610e85ee for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=eHL0kSmunxMjst4KfVmNZc71R toTR2VqQqzZ8m4PA1I=; b=Ix4dpOAaDv4tqa5m3vp1mMwFci5QuMiIifUz9XePG FBTr5+/ejKa3moPc9UzwI/G1q2LN3MgrpdI/e1kDysVgcAxMs+BGrWJJp7ZeIvqO G7Cm502Dlv0caThscLxsxVY9TmWw7ajsKrn6rcmqHUjBeFkEX8GOT639UFyqR4y4 0S6he/bXiZCeet79uGqT7090wYCC0dsGjX1OpB3KQ5uVedZofgIqqmFkgIw5cVVy Nddl3icc5lZ4fO4pF0zIwUJ8Zpyuu6E+DyFETW0H39JPXC4IhGhJiw/YGAmFaoiy 1dvdNJexXM/Nlz9bOUz2CYqfM9bFqaRTV0T2i119alVZw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 0b09d2d7 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:00 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:33 +0200 Message-Id: <20200712222538.18092-29-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-type): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index aee08c0878..9a50c431b7 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -667,3 +667,26 @@ and object graphs to enumerate all referenced objects.") operate on resources.") (home-page "https://www.github.com/sebastianbergmann/resource-operations") (license license:bsd-3))) + +(define-public php-sebastian-type + (package + (name "php-sebastian-type") + (version "2.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/type.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0gvdb9188a4903q0dnhhdcm9qd67is5pns8jbccxr7hxv8w7d7h3")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "PHP type system representation") + (description "This package is a collection of value objects that represent +the types of the PHP type system.") + (home-page "https://github.com/sebastianbergmann/type") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23210 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 A5A7827BBE3; Sun, 12 Jul 2020 23:36:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,TVD_SPACE_RATIO, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 674CB27BBE1 for ; Sun, 12 Jul 2020 23:36:31 +0100 (BST) Received: from localhost ([::1]:42810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukaF-00086P-07 for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:36:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukZn-0007ou-A7 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35545) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukZn-00073v-0a for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukZm-0003z6-Ur for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 30/34] gnu: Add php-phpunit-php-code-coverage. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459335315246 (code B ref 42338); Sun, 12 Jul 2020 22:36:02 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:35:53 +0000 Received: from localhost ([127.0.0.1]:47078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukZc-0003xj-Tt for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:35:53 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ6-0003ad-Bo for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:03 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id d4daa355 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=dwXnSI5EhNLTIj0NKHyqqLx76 6HZilyFKKlX/S7M+aQ=; b=EK79fZhiveB/bGhIIlw51VlmwIaeZU6AIy8/EH2k4 vLjnOZarDxd2ZiFXiPPfMrE2R9TGRFFOpkGtXZ9J31G3LlOIpvoht7wch+SO6OWk UCHvhrk3ofowurN3f+qAT6Z9qQ9YFOoMTRz1Yb0JmvA/dhtw7h19QFqYZ0AIaazS t3LQZ0Ig1WwONkUquBZVrtmavTXQqjVyIqncp7OYJ11c8cDWlPXhAsKYwqYdyfKA nMgE1n9D9eGb/F6dEXPOt2pPqEYYt5vbDH0039ZWwIFHbqdf5JOkS7/j3ESCSNkj PQIHapZRxz+2yOxSwB/0fMa4lbJO1c58k2DyK/Kdhmb1w== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 63350582 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:01 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:34 +0200 Message-Id: <20200712222538.18092-30-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpunit-php-code-coverage): New variable. --- gnu/packages/php-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 9a50c431b7..2d186c5190 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -690,3 +690,35 @@ operate on resources.") the types of the PHP type system.") (home-page "https://github.com/sebastianbergmann/type") (license license:bsd-3))) + +(define-public php-phpunit-php-code-coverage + (package + (name "php-phpunit-php-code-coverage") + (version "8.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/php-code-coverage.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qr7x9y8636bvv0fk8hl0kl9d2y8fy6qw65kpi4yb1yyqhfddkgh")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (inputs + `(("php-theseer-tokenizer" ,php-theseer-tokenizer) + ("php-sebastian-version" ,php-sebastian-version) + ("php-sebastian-environment" ,php-sebastian-environment) + ("php-sebastian-code-unit-reverse-lookup" + ,php-sebastian-code-unit-reverse-lookup) + ("php-phpunit-php-text-template" ,php-phpunit-php-text-template) + ("php-phpunit-php-token-stream" ,php-phpunit-php-token-stream) + ("php-phpunit-php-file-iterator" ,php-phpunit-php-file-iterator))) + (synopsis "Code coverage information library") + (description "This package is a library that provides collection, +processing, and rendering functionality for PHP code coverage information.") + (home-page "https://github.com/sebastianbergmann/php-code-coverage") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23209 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 BACBE27BBE3; Sun, 12 Jul 2020 23:36:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 56E3027BBE1 for ; Sun, 12 Jul 2020 23:36:26 +0100 (BST) Received: from localhost ([::1]:42468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juka9-0007x4-Dc for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:36:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukZr-0007qG-P1 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukZn-000742-D3 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukZn-0003zE-Ar for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 31/34] gnu: Add php-phpunit-php-timer. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459335315253 (code B ref 42338); Sun, 12 Jul 2020 22:36:03 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:35:53 +0000 Received: from localhost ([127.0.0.1]:47080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukZd-0003xq-57 for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:35:53 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ7-0003ad-Bj for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:03 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 2037a007 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=lz+mBMYGaLKQZQs7bLjATFy9x nAb/57/jZRsFi1l/bY=; b=bamk86Mp9aLLGISvJhdzuXT444FDak/NMVmbMIhsx 9SWZKPjXf8vCK4/VJwafe4+kJSLdvXm3Ko+utiH2WVeXepGIRxdqL2OTbeyoglOm XAhVx14RCKA84baW5YljSVSTobzDOoA5Rv0kmWCUMItnaJ60bio7MlHQ46bKbSbp 4yENKbM6V8xZHd8EW8qIM4EKB3t8Tslp84gM7e+zBi2mHZz5UB5yt2YrJ7wQ92y5 hPk24JBFVq9fpwEyMh7R1wV+GuOOUsy1EiIcJrDc1aFhS8Lm4AO8jueXblFxDr5V w+Q6CyBDZm+xQsF3c+W04mYK6qccHQYp2h18kw50nrohQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id f80f817e (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:01 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:35 +0200 Message-Id: <20200712222538.18092-31-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpunit-php-timer): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 2d186c5190..1b6669abcc 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -722,3 +722,26 @@ the types of the PHP type system.") processing, and rendering functionality for PHP code coverage information.") (home-page "https://github.com/sebastianbergmann/php-code-coverage") (license license:bsd-3))) + +(define-public php-phpunit-php-timer + (package + (name "php-phpunit-php-timer") + (version "5.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/php-timer.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0hyy5c8b22zki6836a7fhzr3s6dpvga33r2rzfrsbv1arh19ay60")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "Utility class for timing") + (description "This package contains a stand-alone component originally part +of PHPUnit. It provides a utility class for timing.") + (home-page "https://github.com/sebastianbergmann/php-timer/") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23207 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 9FF0E27BBE3; Sun, 12 Jul 2020 23:36:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4DCBB27BBE1 for ; Sun, 12 Jul 2020 23:36:13 +0100 (BST) Received: from localhost ([::1]:42236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukZw-0007pL-R8 for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:36:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukZm-0007oQ-SP for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukZm-00073r-K2 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukZm-0003yz-Hn for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 32/34] gnu: Add php-phpunit-php-invoker. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459335315238 (code B ref 42338); Sun, 12 Jul 2020 22:36:02 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:35:53 +0000 Received: from localhost ([127.0.0.1]:47076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukZc-0003xc-KQ for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:35:52 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ8-0003ad-47 for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:04 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 3b5f4b2e for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=OWSnpMvuCC87j/8TEEDei2pmP AMWtrDXZVYs4SyuRKE=; b=ZISX1DtWNEn30rGBufJaZE/RX2vqdQrTIDG3lwZMl shScoAQZXiwEok/G55BoYibPpC6HEGZ5fsDMduztr+vuziTB2iqIZrmMw1GIts+O YpLvIvXa3Wztb5Uvxj1o9y0QVmoFPPomuVPE7+iDSIbqSXIp2/E0Z7lX9Lc9GgBv 39SEitWAju8+7sJBo/+i6MNOW3PqEn3Kf60DggV2y7T8+sYQwTbv3lHi6scmZC1f CKbl4qZe7UW+m/iOucdZFr5lIJ1lKKL1vyogwgwk2CCaXn+x8if+hYiHJFoiujmB hzTFzP6xT/2AcigMhXO1db86ngJ5aBcbOJs2zjcGVtnKg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id b658fdcc (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:02 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:36 +0200 Message-Id: <20200712222538.18092-32-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpunit-php-invoker): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 1b6669abcc..484fb17790 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -745,3 +745,26 @@ processing, and rendering functionality for PHP code coverage information.") of PHPUnit. It provides a utility class for timing.") (home-page "https://github.com/sebastianbergmann/php-timer/") (license license:bsd-3))) + +(define-public php-phpunit-php-invoker + (package + (name "php-phpunit-php-invoker") + (version "3.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/php-invoker.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1xs7m0wiminnhkd400glmixyhrx1ir710j6fds9i03dhicfcj7db")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "PHP library for invoking functions") + (description "This package contains a library to invoke callables with a +timeout.") + (home-page "https://github.com/sebastianbergmann/php-invoker/") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23212 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 0145327BBE3; Sun, 12 Jul 2020 23:36:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id C156F27BBE1 for ; Sun, 12 Jul 2020 23:36:36 +0100 (BST) Received: from localhost ([::1]:43370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukaK-0008N3-C5 for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:36:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukZr-0007qJ-Ot for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukZn-000744-OA for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukZn-0003zL-Mp for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 33/34] gnu: Add php-sebastian-code-unit. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459335315260 (code B ref 42338); Sun, 12 Jul 2020 22:36:03 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:35:53 +0000 Received: from localhost ([127.0.0.1]:47082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukZd-0003xy-Az for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:35:53 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ8-0003ad-UC for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:05 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id bbcbc978 for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=L9xJ4HcR0J7jmXsft45Sp1C3W dAo28fxpc3Xcm7ckqQ=; b=JES/3q2nGBE2kO340L58eaJL1FGC0htX7B+F1ZZED m0VnEm3WIbiuq2WepwT4kDZd2/u5stp/GVikFYAt/4gV508zyEc4ckokdfbtdsGu rLqilFIIvUUWMjrpgGhtESYUsQWD+moTOA1f1gUZ/FlzdVRk9FX6oSQfJiC3i1jT N3QTvVDps682AxnjzxCYLnHBunC3vfe10AjyoR1zZnfS/uZ9/9GWslapQRorGIyN L7wQVULZfGRZlsp0zbwJFUUK58Og9Q9OlvmT2kr9Vhi4o9zT3azSRQgRwLQN2REB fTKJ3kU76D7SlaOUCS7BeE0SlA8pNnngtfzJMANTp6gHA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 81d9ce70 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:02 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:37 +0200 Message-Id: <20200712222538.18092-33-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-sebastian-code-unit): New variable. --- gnu/packages/php-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 484fb17790..0ae92c4600 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -768,3 +768,26 @@ of PHPUnit. It provides a utility class for timing.") timeout.") (home-page "https://github.com/sebastianbergmann/php-invoker/") (license license:bsd-3))) + +(define-public php-sebastian-code-unit + (package + (name "php-sebastian-code-unit") + (version "1.0.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/code-unit.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "058ykqcmzm900c513j2qvi189bgn0scxsrhbrik5xycrr620krxc")))) + (build-system composer-build-system) + (arguments + ;; We do not have phpunit yet + `(#:tests? #f)) + (synopsis "PHP collection of value objects for code units") + (description "This package contains a collection of value objects that +represent the PHP code units.") + (home-page "https://github.com/sebastianbergmann/code-unit") + (license license:bsd-3))) From patchwork Sun Jul 12 22:25:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Lepiller X-Patchwork-Id: 23214 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 B6BEF27BBE3; Sun, 12 Jul 2020 23:36:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7ABC327BBE1 for ; Sun, 12 Jul 2020 23:36:46 +0100 (BST) Received: from localhost ([::1]:43844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jukaU-00007W-2w for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 18:36:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jukZr-0007qL-Q3 for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jukZo-000748-Sk for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jukZo-0003zh-QQ for guix-patches@gnu.org; Sun, 12 Jul 2020 18:36:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42338] [PATCH 34/34] gnu: Add phpunit. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 22:36:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42338 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42338@debbugs.gnu.org Received: via spool by 42338-submit@debbugs.gnu.org id=B42338.159459335415281 (code B ref 42338); Sun, 12 Jul 2020 22:36:04 +0000 Received: (at 42338) by debbugs.gnu.org; 12 Jul 2020 22:35:54 +0000 Received: from localhost ([127.0.0.1]:47088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukZe-0003yJ-2u for submit@debbugs.gnu.org; Sun, 12 Jul 2020 18:35:54 -0400 Received: from lepiller.eu ([89.234.186.109]:42900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jukQ9-0003ad-ML for 42338@debbugs.gnu.org; Sun, 12 Jul 2020 18:26:06 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 7f0639ec for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=s8ceYJ2fUGQUNnwEIyVAP3M5k cIbLCI4fmiN6V4oBkY=; b=DDuA4HTM8Ncr6MXCIvixesAm7OgRJwt6AUwclNwKE IO9UCFuIn4woQ7/HuPAo10ycCrn+shktc/WTnf/4fcETV/ae1vwZ5eOi0fGEZ6bJ oV8RKC/c0iPZrRaNfgiDQDF70JvjqmNf98JWN/yW0oDCZPXV/4yq/dRFR//iGI+h nsoWFZ7ycOkEyD6Z4ro35IeoAvWwFqFHfSaOWkxXrrb0mSaysBnpwu4nfGp+zypJ YFuAulYu7d4soWh/bRS3FAXJ6a8leREAT6+UIW8Wqz/dClCWE9hIUfkUqc2tYxFp Z8XNOG7tBWh+UNLpnylkXIbUzM64nKB5IJSlADnwUUNTw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 4170c07a (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <42338@debbugs.gnu.org>; Sun, 12 Jul 2020 22:26:03 +0000 (UTC) From: Julien Lepiller Date: Mon, 13 Jul 2020 00:25:38 +0200 Message-Id: <20200712222538.18092-34-julien@lepiller.eu> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712222538.18092-1-julien@lepiller.eu> References: <20200713002055.1553f136@tachikoma.lepiller.eu> <20200712222538.18092-1-julien@lepiller.eu> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/php-xyz.scm (php-phpunit-phpunit): New variable. --- gnu/packages/php-xyz.scm | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index 0ae92c4600..eebf64c1a3 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -791,3 +791,48 @@ timeout.") represent the PHP code units.") (home-page "https://github.com/sebastianbergmann/code-unit") (license license:bsd-3))) + +(define-public php-phpunit-phpunit + (package + (name "phpunit") + (version "9.2.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastianbergmann/phpunit.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ck41faxkqr6painsqirklzsl08k8biadi2ksnpsmpjf3dp5p5gl")))) + (build-system composer-build-system) + (arguments + ;; Requires phpspec/prophecy-phpunit, which in turns requires phpunit. + `(#:tests? #f)) + (inputs + `(("php-sebastian-version" ,php-sebastian-version) + ("php-sebastian-type" ,php-sebastian-type) + ("php-sebastian-resource-operations" ,php-sebastian-resource-operations) + ("php-sebastian-object-enumerator" ,php-sebastian-object-enumerator) + ("php-sebastian-global-state" ,php-sebastian-global-state) + ("php-sebastian-exporter" ,php-sebastian-exporter) + ("php-sebastian-environment" ,php-sebastian-environment) + ("php-sebastian-diff" ,php-sebastian-diff) + ("php-sebastian-comparator" ,php-sebastian-comparator) + ("php-sebastian-code-unit" ,php-sebastian-code-unit) + ("php-phpunit-php-timer" ,php-phpunit-php-timer) + ("php-phpunit-php-text-template" ,php-phpunit-php-text-template) + ("php-phpunit-php-invoker" ,php-phpunit-php-invoker) + ("php-phpunit-php-file-iterator" ,php-phpunit-php-file-iterator) + ("php-phpunit-php-code-coverage" ,php-phpunit-php-code-coverage) + ("php-phpspec-prophecy" ,php-phpspec-prophecy) + ("php-phar-io-version" ,php-phar-io-version) + ("php-phar-io-manifest" ,php-phar-io-manifest) + ("php-myclabs-deep-copy" ,php-myclabs-deep-copy) + ("php-doctrine-instantiator" ,php-doctrine-instantiator))) + (properties `((upstream-name . "phpunit/phpunit"))) + (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/") + (license license:bsd-3)))