From c27e58bfb92075bda68ccf8691204bea7ccd2c57 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Sun, 19 Mar 2017 10:47:56 -0400 Subject: dev-php/PEAR-PEAR_PackageFileManager_Plugins: Revbump to fix WORKDIR wrt bug 613122 Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- ...PEAR_PackageFileManager_Plugins-1.0.4-r1.ebuild | 16 +++++++++ ...AR-PEAR_PackageFileManager_Plugins-1.0.4.ebuild | 39 ---------------------- 2 files changed, 16 insertions(+), 39 deletions(-) create mode 100644 dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4-r1.ebuild delete mode 100644 dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4.ebuild (limited to 'dev-php/PEAR-PEAR_PackageFileManager_Plugins') diff --git a/dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4-r1.ebuild b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4-r1.ebuild new file mode 100644 index 000000000000..021965393c4f --- /dev/null +++ b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4-r1.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Various methods to check files to update an existing package.xml file" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-php/PEAR-PEAR-1.10.1 + >=dev-php/PEAR-XML_Serializer-0.19.0 + >=dev-lang/php-5.3:*[xml,simplexml]" diff --git a/dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4.ebuild b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4.ebuild deleted file mode 100644 index 2d32e7a57fd8..000000000000 --- a/dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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="Various methods to check files to update an existing package.xml file" -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=dev-php/PEAR-PEAR-1.10.1 - >=dev-php/PEAR-XML_Serializer-0.19.0 - >=dev-lang/php-5.3:*[xml,simplexml]" - -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}" -} -- cgit v1.2.3-65-gdbad