Github messages for voidlinux
 help / color / mirror / Atom feed
From: betrixed <betrixed@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] phalcon 4.1.0 requires psr
Date: Sun, 01 Nov 2020 13:20:05 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26038@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 707 bytes --]

There is a new pull request by betrixed against master on the void-packages repository

https://github.com/betrixed/void-packages master
https://github.com/void-linux/void-packages/pull/26038

phalcon 4.1.0 requires psr
xbps-src built templates to add Phalcon  php extension.  php 7.4.
Extra extensions for package  php. Build uses php-devel for toll phpize  
only tested on current php 7.4.11
Package template files for
php-psr -  interface definitions from PHP-FIG, prequisite for phalcon extension.
php-phalcon - version 4.1.0 (latest) compiled website framework, using generated C-source from zephir tool


A patch file from https://github.com/void-linux/void-packages/pull/26038.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-26038.patch --]
[-- Type: text/x-diff, Size: 2605 bytes --]

From 9e75a7e1543e1e388ba83c1bce9a209559e3f4b0 Mon Sep 17 00:00:00 2001
From: Michael Rynn <michael.rynn.500@gmail.com>
Date: Sun, 1 Nov 2020 23:08:26 +1100
Subject: [PATCH] phalcon 4.1.0 requires psr

---
 srcpkgs/php-phalcon/template | 37 ++++++++++++++++++++++++++++++++++++
 srcpkgs/php-psr/template     | 34 +++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)
 create mode 100644 srcpkgs/php-phalcon/template
 create mode 100644 srcpkgs/php-psr/template

diff --git a/srcpkgs/php-phalcon/template b/srcpkgs/php-phalcon/template
new file mode 100644
index 00000000000..947fb24d850
--- /dev/null
+++ b/srcpkgs/php-phalcon/template
@@ -0,0 +1,37 @@
+
+pkgname=php-phalcon
+version=4.1.0
+revision=1
+depends="php php-psr"
+makedepends="php-devel autoconf"
+short_desc="php extension web framework written with zephir, C compiled"
+distfiles=https://github.com/phalcon/cphalcon/archive/v${version}.zip
+checksum=a3bb2a0a5d7e99f41021f017d6b0064fb981e4c954fe9ca07d52be01513ffede
+homepage="https://https://phalcon.io/"
+license="PHP-3.01"
+maintainer="Michael Rynn <michael.rynn.500@gmail.com>"
+
+lib32disabled=yes
+create_wrksrc=yes
+
+srcpath=cphalcon-${version}/build/php7/64bits
+inipath=/etc/php/conf.d
+
+do_build() {  
+
+  export CPPFLAGS="-DPHALCON_RELEASE"
+  cd ${wrksrc}/${srcpath}
+  phpize
+  cd build
+  ../configure --prefix=/usr --enable-phalcon
+  make
+}
+
+do_install() {
+  cd ${wrksrc}/${srcpath}/build
+  echo 'extension=phalcon' > phalcon.ini
+  vmkdir ${inipath}
+  vinstall phalcon.ini 644 ${inipath}
+  vinstall modules/phalcon.so 755 /usr/lib/php/modules
+}
+
diff --git a/srcpkgs/php-psr/template b/srcpkgs/php-psr/template
new file mode 100644
index 00000000000..7407bfc7476
--- /dev/null
+++ b/srcpkgs/php-psr/template
@@ -0,0 +1,34 @@
+
+pkgname=php-psr
+version=1.0.0
+revision=1
+depends="php"
+makedepends="php-devel autoconf"
+short_desc="php PSR standards from PHP-FIG group, required by php-phalcon"
+distfiles=https://github.com/jbboehr/php-psr/archive/v${version}.zip
+checksum=4f1aa75d0feb0172acc728844fe35d3e67f3de8b486d14802ef1a3719a0d8956
+homepage="https://github.com/jbboehr/php-psr#readme"
+license="PHP-3.01"
+maintainer="Michael Rynn <michael.rynn.500@gmail.com>"
+
+lib32disabled=yes
+create_wrksrc=yes
+
+srcpath=php-psr-${version}
+inipath="/etc/php/conf.d"
+
+do_build() {  
+  cd ${wrksrc}/${srcpath}
+  phpize
+  ./configure
+  make
+}
+
+do_install() {
+  cd ${wrksrc}/${srcpath}
+  echo "extension=psr" > 01-psr.ini
+  vmkdir ${inipath}
+  vinstall 01-psr.ini 644 ${inipath}
+  vinstall modules/psr.so 755 /usr/lib/php/modules
+}
+

             reply	other threads:[~2020-11-01 12:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-01 12:20 betrixed [this message]
2020-11-02 16:34 ` Chocimier
2020-11-06  3:56 ` [PR PATCH] [Updated] " betrixed
2020-11-06  7:56 ` betrixed
2020-11-06  8:03 ` betrixed
2020-11-06  8:06 ` [PR PATCH] [Closed]: " betrixed
2020-11-06 11:41 ` betrixed
2020-11-06 11:41 ` [PR PATCH] [Updated] " betrixed
2020-11-06 11:50 ` [PR PATCH] [Closed]: " betrixed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26038@inbox.vuxu.org \
    --to=betrixed@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).