aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2022-08-06 14:48:37 +0200
committerAndy Postnikov <apostnikov@gmail.com>2022-08-06 12:54:20 +0000
commit1ed78ad49577a54b70d0cce6be4e2085d89fc3de (patch)
treedfff5622d750f15542874af2ed5ded2e258a9ca3
parentd605561c9a8b6901f8470c8699c54d2745fb6667 (diff)
downloadaports-1ed78ad49577a54b70d0cce6be4e2085d89fc3de.tar.gz
aports-1ed78ad49577a54b70d0cce6be4e2085d89fc3de.tar.bz2
aports-1ed78ad49577a54b70d0cce6be4e2085d89fc3de.tar.xz
testing/phpunit: new aport
Ref #14075
-rw-r--r--testing/phpunit/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/phpunit/APKBUILD b/testing/phpunit/APKBUILD
new file mode 100644
index 0000000000..1d5af131cf
--- /dev/null
+++ b/testing/phpunit/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Andy Postnikov <apostnikov@gmail.com>
+pkgname=phpunit
+pkgver=9.5.21
+pkgrel=0
+pkgdesc="The PHP Unit Testing framework"
+url="https://phpunit.de/"
+arch="noarch"
+license="BSD-3-Clause"
+_php=php81
+depends="$_php
+ $_php-phar
+ $_php-dom
+ $_php-mbstring
+ $_php-tokenizer
+ $_php-xml
+ $_php-xmlwriter
+ "
+source="$pkgname-$pkgver.phar::https://phar.phpunit.de/phpunit-$pkgver.phar"
+
+check() {
+ $_php "$srcdir"/$pkgname-$pkgver.phar --version
+}
+
+package() {
+ install -m 0755 -D "$srcdir"/$pkgname-$pkgver.phar "$pkgdir"/usr/bin/$pkgname
+}
+
+sha512sums="
+763032fae508a0bd50edecb993c82005eaed895fa0e9db2f66016c7bb97f4071cede2458438efb9e8ce1c8ffaa4cfa9faf99067ef8655f7062c47fd1a79ee012 phpunit-9.5.21.phar
+"