summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2018-01-21 11:17:07 -0500
committerMichael Orlitzky <mjo@gentoo.org>2018-01-21 11:17:28 -0500
commit12f83f7b9c07a8aa37b88548f09f7adccb18b790 (patch)
treeed23d11de40b1bd3cca1435b8742d3967b92687f /dev-php
parentdev-ruby/racc: amd64 stable, bug 639476 (diff)
downloadgentoo-12f83f7b9c07a8aa37b88548f09f7adccb18b790.tar.gz
gentoo-12f83f7b9c07a8aa37b88548f09f7adccb18b790.tar.bz2
gentoo-12f83f7b9c07a8aa37b88548f09f7adccb18b790.zip
dev-php/pecl-uploadprogress: new revision with php-7.1 and php-7.2 support.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r3.ebuild29
-rw-r--r--dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r4.ebuild22
2 files changed, 22 insertions, 29 deletions
diff --git a/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r3.ebuild b/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r3.ebuild
deleted file mode 100644
index e1542ba36df..00000000000
--- a/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r3.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-USE_PHP="php5-6 php7-0"
-
-inherit php-ext-pecl-r3
-
-DESCRIPTION="An extension to track progress of a file upload"
-LICENSE="PHP-3.01"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-for target in ${USE_PHP}; do
- slot=${target/php}
- slot=${slot/-/.}
- PHPUSEDEPEND="${PHPUSEDEPEND}
- php_targets_${target}? ( dev-lang/php:${slot}[apache2] )"
-done
-
-RDEPEND="${PHPUSEDEPEND}"
-PATCHES=( "${FILESDIR}/1.0.3.1-php7.patch" )
-PHP_EXT_ECONF_ARGS=()
-
-pkg_postinst() {
- elog "This extension is only known to work on Apache with mod_php."
-}
diff --git a/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r4.ebuild b/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r4.ebuild
new file mode 100644
index 00000000000..062036ebd69
--- /dev/null
+++ b/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r4.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_PHP="php5-6 php7-0 php7-1 php7-2"
+
+inherit php-ext-pecl-r3
+
+DESCRIPTION="An extension to track progress of a file upload"
+LICENSE="PHP-3.01"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ php_targets_php5-6? ( dev-lang/php:5.6[apache2] )
+ php_targets_php7-0? ( dev-lang/php:7.0[apache2] )
+ php_targets_php7-1? ( dev-lang/php:7.1[apache2] )
+ php_targets_php7-2? ( dev-lang/php:7.2[apache2] )
+"
+PATCHES=( "${FILESDIR}/1.0.3.1-php7.patch" )