Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: php-redis-5.3.5
@ 2022-01-23 20:24 TinfoilSubmarine
  2022-01-25 19:46 ` [PR PATCH] [Closed]: " TinfoilSubmarine
  0 siblings, 1 reply; 2+ messages in thread
From: TinfoilSubmarine @ 2022-01-23 20:24 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages php-redis
https://github.com/void-linux/void-packages/pull/35210

New package: php-redis-5.3.5
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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
-->

Note that this is mostly copied from several other PHP templates with modifications to make this one...

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

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

From 0db417c68606f55514352cf28d06f4bf8f5c2610 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 12 Jan 2022 10:13:59 -0500
Subject: [PATCH] New package: php-redis-5.3.5

---
 srcpkgs/php-redis/template | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/php-redis/template

diff --git a/srcpkgs/php-redis/template b/srcpkgs/php-redis/template
new file mode 100644
index 000000000000..750da3db2835
--- /dev/null
+++ b/srcpkgs/php-redis/template
@@ -0,0 +1,34 @@
+# Template file for 'php-redis'
+pkgname=php-redis
+version=5.3.5
+revision=1
+wrksrc="redis-$version"
+build_style=gnu-configure
+configure_args="--enable-redis-igbinary \
+ --enable-redis-lzf --with-liblzf=${XBPS_CROSS_BASE}/usr/lib"
+hostmakedepends="php-devel autoconf pkg-config"
+makedepends="liblzf-devel php-igbinary"
+depends="php-igbinary"
+checkdepends="php php-igbinary redis"
+short_desc="PHP extension for interfacing with Redis"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="PHP-3.01"
+homepage="https://pecl.php.net/package/redis"
+changelog="https://raw.githubusercontent.com/phpredis/phpredis/develop/Changelog.md"
+distfiles="https://pecl.php.net/get/redis-$version.tgz"
+checksum=d55fa5cc699198917ba2bdc827da632ad77f009ba2642d2750456a976dbe5989
+
+pre_configure() {
+	phpize
+}
+
+do_check() {
+	export TEST_PHP_ARGS="-d extension=igbinary -d extension=${wrksrc}/modules/redis.so"
+	redis-server --daemonize yes
+	php $TEST_PHP_ARGS tests/TestRedis.php
+	redis-cli shutdown
+}
+
+pre_install() {
+	make_install_args="INSTALL_ROOT=$DESTDIR"
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-25 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-23 20:24 [PR PATCH] New package: php-redis-5.3.5 TinfoilSubmarine
2022-01-25 19:46 ` [PR PATCH] [Closed]: " TinfoilSubmarine

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).