aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-05-23 14:42:53 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-24 10:47:48 +0000
commitc36a1cd478b9d4a96e779df2565ec2b1a0cf617a (patch)
tree82ab20ce868ca0aaee8bb906a3db64e038423ee9 /testing
parentf7ff1b606d040ecd6db56a1dbe861e0a7094cf3b (diff)
downloadaports-c36a1cd478b9d4a96e779df2565ec2b1a0cf617a.tar.bz2
aports-c36a1cd478b9d4a96e779df2565ec2b1a0cf617a.tar.xz
community/php7-brotli: move from testing
Closes GH-8018
Diffstat (limited to 'testing')
-rw-r--r--testing/php7-brotli/APKBUILD39
-rw-r--r--testing/php7-brotli/fix-skip-steams_006.patch10
2 files changed, 0 insertions, 49 deletions
diff --git a/testing/php7-brotli/APKBUILD b/testing/php7-brotli/APKBUILD
deleted file mode 100644
index 05b6aaa397..0000000000
--- a/testing/php7-brotli/APKBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Contributor: TBK <alpine@jjtc.eu>
-# Maintainer: TBK <alpine@jjtc.eu>
-pkgname=php7-brotli
-_pkgreal=brotli
-pkgver=0.7.0
-pkgrel=0
-pkgdesc="Brotli Extension for PHP"
-url="https://github.com/kjdev/php-ext-brotli"
-arch="all"
-license="MIT"
-depends="php7-common"
-makedepends="autoconf brotli-dev php7-dev re2c"
-checkdepends="php7-cgi"
-source="$pkgname-$pkgver.tar.gz::https://github.com/kjdev/php-ext-brotli/archive/$pkgver.tar.gz
- fix-skip-steams_006.patch
- "
-builddir="$srcdir/php-ext-brotli-$pkgver"
-
-build() {
- phpize7
- ./configure \
- --prefix=/usr \
- --with-php-config=php-config7 \
- --with-libbrotli # Use system lib
- make
-}
-
-check() {
- make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 SKIP_ONLINE_TESTS=1 test
-}
-
-package() {
- make INSTALL_ROOT="$pkgdir"/ install
- install -d "$pkgdir"/etc/php7/conf.d
- echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/50_$_pkgreal.ini
-}
-
-sha512sums="4d345fb4ed668ceec7cfb90e300ee5de883be142292a138333edee014169c17f2ba012e42e746d00af4c6fac889c15cbd8f9956d89246a55b42fb32b013a4e81 php7-brotli-0.7.0.tar.gz
-daa8078c48f6c1a32661c05d374419bfa690ac8b7326a8fdac86106d6e6142719393b0a2f3b82f33212da78a8fa7c6bebcdda1573419ef555ec69cd6b483971f fix-skip-steams_006.patch"
diff --git a/testing/php7-brotli/fix-skip-steams_006.patch b/testing/php7-brotli/fix-skip-steams_006.patch
deleted file mode 100644
index 82f0c85c3a..0000000000
--- a/testing/php7-brotli/fix-skip-steams_006.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/tests/streams_006.phpt
-+++ b/tests/streams_006.phpt
-@@ -3,6 +3,7 @@
- --SKIPIF--
- <?php
- if (version_compare(PHP_VERSION, '5.4', '<')) die('skip PHP is too old');
-+if (getenv("SKIP_ONLINE_TESTS")) die('skip online test');
- ?>
- --INI--
- allow_url_fopen=0