summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2016-12-27 11:41:50 -0500
committerBrian Evans <grknight@gentoo.org>2016-12-27 11:41:50 -0500
commit4bbcc1a5413ca658db1b89b1faa5dc4fae0dc47b (patch)
treed27960d704aceb41b794bffa83473bcfcd7081d5 /dev-php/PEAR-PEAR_PackageFileManager
parentdev-php/PEAR-PEAR_PackageFileManager2: New package (diff)
downloadgentoo-4bbcc1a5413ca658db1b89b1faa5dc4fae0dc47b.tar.gz
gentoo-4bbcc1a5413ca658db1b89b1faa5dc4fae0dc47b.tar.bz2
gentoo-4bbcc1a5413ca658db1b89b1faa5dc4fae0dc47b.zip
dev-php/PEAR-PEAR_PackageFileManager: Version bump with new deps
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-php/PEAR-PEAR_PackageFileManager')
-rw-r--r--dev-php/PEAR-PEAR_PackageFileManager/Manifest1
-rw-r--r--dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-php/PEAR-PEAR_PackageFileManager/Manifest b/dev-php/PEAR-PEAR_PackageFileManager/Manifest
index 7b6f9457582..2e732c57a7d 100644
--- a/dev-php/PEAR-PEAR_PackageFileManager/Manifest
+++ b/dev-php/PEAR-PEAR_PackageFileManager/Manifest
@@ -1,2 +1,3 @@
DIST PEAR_PackageFileManager-1.6.3.tgz 82393 SHA256 c2b392a4807510659bfe77470d7732b21eab2aa752d2a53601d55ff335f9068d SHA512 33b790a15db6cb4b14369472291f6815d6d2fdf4918ea57f9fb7fee78b4a39e811e6ab8217878bcf0b7c4c5b239477a4da1fba5cea86e80023838de43bdc9492 WHIRLPOOL 061a7084b8afe49f8ddf501bfcd48cdfe99b8bc360142f801d61e3ba719c2e902e592bbe6b65c553be61544a379a034d623a24cec53b5b6c35c6a9941a7abb43
DIST PEAR_PackageFileManager-1.7.0.tgz 37799 SHA256 188a2adfef7d93e20002c9909ebe2372af6380466a926b57e83c1221f9da4ee6 SHA512 e27f7f34e5fa5936bf478a3ce1a13e5de6762a16a52108ae886fe84a5b313de35cc70f1a3aee4113f1b309cf8d8022426def07e588c65d855a330394b3b9303b WHIRLPOOL 3c654d485226e5210099ef1f047e61a270b125da0fa581c0e79ad3172e36f83947e96e022e9c9f17dd00bddaa6fa6349ae801b29a45895b58668196b560ede59
+DIST PEAR_PackageFileManager-1.7.2.tgz 38104 SHA256 596fa07ab384cd360cdcf0fc4c288f77220564c2dbd5594eea9de3ed4d5286b1 SHA512 4a0a201fea221a8e2d21199f99d4f145e39f42344a0057f32bfefd96aa2635e12ea75ee6b6ac64c52a8d35be5e2a65fa5399b3195592dea9ba10191c45fc0056 WHIRLPOOL 098f99f3b9d770ea7d471fde7ca2f7ffa11c633adc8d8dc038e846e00fbe0eabcd904a87baa8018c9bb8193158dd3a468f2054b9416f942837426a6afaf706f5
diff --git a/dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2.ebuild b/dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2.ebuild
new file mode 100644
index 00000000000..3f9008c339f
--- /dev/null
+++ b/dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+HOMEPAGE="http://pear.php.net/package/${MY_PN}"
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
+DESCRIPTION="Updates an existing package.xml file with a new filelist and changelog"
+LICENSE="PHP-3.01"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="minimal"
+
+RDEPEND=">=dev-lang/php-5.3:*
+ >=dev-php/PEAR-PEAR-1.10.1
+ dev-php/PEAR-PEAR_PackageFileManager2
+ dev-php/PEAR-PEAR_PackageFileManager_Plugins
+ !minimal? ( >=dev-php/PEAR-PHP_CompatInfo-1.4.0 )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ insinto /usr/share/php
+ doins -r PEAR
+}
+
+pkg_postinst() {
+ # Register the package from the package.xml file
+ # Operation is not critical so die is not required
+ if [[ -f "${WORKDIR}/package.xml" ]] ; then
+ "${EROOT}usr/bin/peardev" install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null
+ fi
+}
+
+pkg_postrm() {
+ # Uninstall known dependency
+ "${EROOT}usr/bin/peardev" uninstall -nrO "pear.php.net/${MY_PN}"
+}