Github messages for voidlinux
 help / color / mirror / Atom feed
From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: php8.[012]-redis-5.3.7
Date: Wed, 27 Sep 2023 16:43:17 +0200	[thread overview]
Message-ID: <20230927144317.7fZ4w3RUI5vqCs3Jb3UqCo9z67WOwyQXLEVejKxLJwo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44647@inbox.vuxu.org>

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

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages maint/php
https://github.com/void-linux/void-packages/pull/44647

New package: php8.[012]-redis-5.3.7
- New package: php8.0-redis-5.3.7
- New package: php8.1-redis-5.3.7
- New package: php8.2-redis-5.3.7

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From a2280eada072ce84b1d9540fa717a5f4ec328af0 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 26 Jun 2023 13:16:44 -0400
Subject: [PATCH 1/2] New package: php8.1-redis-5.3.7

---
 srcpkgs/php8.1-redis/INSTALL.msg |  3 +++
 srcpkgs/php8.1-redis/template    | 23 +++++++++++++++++++++++
 srcpkgs/php8.1-redis/update      |  1 +
 3 files changed, 27 insertions(+)
 create mode 100644 srcpkgs/php8.1-redis/INSTALL.msg
 create mode 100644 srcpkgs/php8.1-redis/template
 create mode 100644 srcpkgs/php8.1-redis/update

diff --git a/srcpkgs/php8.1-redis/INSTALL.msg b/srcpkgs/php8.1-redis/INSTALL.msg
new file mode 100644
index 0000000000000..2a9de04b421e1
--- /dev/null
+++ b/srcpkgs/php8.1-redis/INSTALL.msg
@@ -0,0 +1,3 @@
+To enable the Redis extension add the following line to your php.ini:
+
+	extension=redis
diff --git a/srcpkgs/php8.1-redis/template b/srcpkgs/php8.1-redis/template
new file mode 100644
index 0000000000000..3fe5bd8dffc06
--- /dev/null
+++ b/srcpkgs/php8.1-redis/template
@@ -0,0 +1,23 @@
+# Template file for 'php8.1-redis'
+pkgname=php8.1-redis
+version=5.3.7
+revision=1
+build_style=gnu-configure
+configure_args="--with-php-config=/usr/bin/php-config8.1"
+hostmakedepends="php8.1-devel autoconf pkg-config"
+makedepends="php8.1-devel"
+depends="php8.1"
+short_desc="PHP extension for Redis"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="PHP-3.01"
+homepage="https://pecl.php.net/package/redis"
+distfiles="https://pecl.php.net/get/redis-$version.tgz"
+checksum=b958166ccda4f40bd17c6998f9e2239021ae644467cd8ad5c15def420aad65b0
+
+pre_configure() {
+	phpize8.1
+}
+
+pre_install() {
+	make_install_args="INSTALL_ROOT=$DESTDIR"
+}
diff --git a/srcpkgs/php8.1-redis/update b/srcpkgs/php8.1-redis/update
new file mode 100644
index 0000000000000..fb47044a964d5
--- /dev/null
+++ b/srcpkgs/php8.1-redis/update
@@ -0,0 +1 @@
+pattern='<th.*Release \K[\d.]+(?=:</th>)'

From 770503c086fe3d1bb7b31a9815ceaab2650f8d7e Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Mon, 26 Jun 2023 13:16:47 -0400
Subject: [PATCH 2/2] New package: php8.2-redis-5.3.7

---
 srcpkgs/php-redis                |  1 +
 srcpkgs/php/template             |  8 +++++++-
 srcpkgs/php8.2-redis/INSTALL.msg |  3 +++
 srcpkgs/php8.2-redis/template    | 23 +++++++++++++++++++++++
 srcpkgs/php8.2-redis/update      |  1 +
 5 files changed, 35 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/php-redis
 create mode 100644 srcpkgs/php8.2-redis/INSTALL.msg
 create mode 100644 srcpkgs/php8.2-redis/template
 create mode 100644 srcpkgs/php8.2-redis/update

diff --git a/srcpkgs/php-redis b/srcpkgs/php-redis
new file mode 120000
index 0000000000000..fa557ad95d0aa
--- /dev/null
+++ b/srcpkgs/php-redis
@@ -0,0 +1 @@
+php
\ No newline at end of file
diff --git a/srcpkgs/php/template b/srcpkgs/php/template
index 9fd1e27be27cf..2419dd147d9fe 100644
--- a/srcpkgs/php/template
+++ b/srcpkgs/php/template
@@ -1,7 +1,7 @@
 # Template file for 'php'
 pkgname=php
 version=8.2
-revision=2
+revision=3
 build_style=meta
 depends="php${version}"
 short_desc="Meta package for PHP"
@@ -161,6 +161,12 @@ php-mongodb_package() {
 	short_desc="PHP MongoDB driver meta package"
 }
 
+php-redis_package() {
+	depends="php${version}-redis"
+	build_style=meta
+	short_desc="PHP Redis extension meta package"
+}
+
 xdebug_package() {
 	depends="xdebug${version}"
 	build_style=meta
diff --git a/srcpkgs/php8.2-redis/INSTALL.msg b/srcpkgs/php8.2-redis/INSTALL.msg
new file mode 100644
index 0000000000000..2a9de04b421e1
--- /dev/null
+++ b/srcpkgs/php8.2-redis/INSTALL.msg
@@ -0,0 +1,3 @@
+To enable the Redis extension add the following line to your php.ini:
+
+	extension=redis
diff --git a/srcpkgs/php8.2-redis/template b/srcpkgs/php8.2-redis/template
new file mode 100644
index 0000000000000..22b17355b28b7
--- /dev/null
+++ b/srcpkgs/php8.2-redis/template
@@ -0,0 +1,23 @@
+# Template file for 'php8.2-redis'
+pkgname=php8.2-redis
+version=5.3.7
+revision=1
+build_style=gnu-configure
+configure_args="--with-php-config=/usr/bin/php-config8.2"
+hostmakedepends="php8.2-devel autoconf pkg-config"
+makedepends="php8.2-devel"
+depends="php8.2"
+short_desc="PHP extension for Redis"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="PHP-3.01"
+homepage="https://pecl.php.net/package/redis"
+distfiles="https://pecl.php.net/get/redis-$version.tgz"
+checksum=b958166ccda4f40bd17c6998f9e2239021ae644467cd8ad5c15def420aad65b0
+
+pre_configure() {
+	phpize8.2
+}
+
+pre_install() {
+	make_install_args="INSTALL_ROOT=$DESTDIR"
+}
diff --git a/srcpkgs/php8.2-redis/update b/srcpkgs/php8.2-redis/update
new file mode 100644
index 0000000000000..fb47044a964d5
--- /dev/null
+++ b/srcpkgs/php8.2-redis/update
@@ -0,0 +1 @@
+pattern='<th.*Release \K[\d.]+(?=:</th>)'

  parent reply	other threads:[~2023-09-27 14:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-26 17:19 [PR PATCH] " TinfoilSubmarine
2023-09-25  1:45 ` github-actions
2023-09-27 14:43 ` TinfoilSubmarine [this message]
2023-12-13 18:00 ` [PR PATCH] [Updated] New package: php8.[12]-redis-5.3.7 TinfoilSubmarine
2023-12-13 18:03 ` New package: php8.*-redis-6.0.2 TinfoilSubmarine
2024-01-03 14:56 ` [PR PATCH] [Updated] " TinfoilSubmarine
2024-01-03 15:42 ` TinfoilSubmarine
2024-05-14  1:46 ` github-actions
2024-05-14 13:45 ` [PR PATCH] [Updated] " TinfoilSubmarine

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=20230927144317.7fZ4w3RUI5vqCs3Jb3UqCo9z67WOwyQXLEVejKxLJwo@z \
    --to=tinfoilsubmarine@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).