diff options
author | Brian Evans <grknight@gentoo.org> | 2017-03-19 10:25:47 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2017-03-19 10:26:41 -0400 |
commit | a1559406c8339099a51b5d0b633e70ab7a8fe877 (patch) | |
tree | 2fb30f620e2056e2251f9b97355f955628df28b8 /dev-php | |
parent | dev-php/PEAR-Net_URL2: Revision bump to fix WORKDIR wrt bug 613122 (diff) | |
download | gentoo-a1559406c8339099a51b5d0b633e70ab7a8fe877.tar.gz gentoo-a1559406c8339099a51b5d0b633e70ab7a8fe877.tar.bz2 gentoo-a1559406c8339099a51b5d0b633e70ab7a8fe877.zip |
dev-php/PEAR-PEAR_PackageFileManager: Revbump to fix WORKDIR wrt bug 613122
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2-r1.ebuild | 18 | ||||
-rw-r--r-- | dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2.ebuild | 41 |
2 files changed, 18 insertions, 41 deletions
diff --git a/dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2-r1.ebuild b/dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2-r1.ebuild new file mode 100644 index 000000000000..1e153900c988 --- /dev/null +++ b/dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +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 )" 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 deleted file mode 100644 index 471fc32bb5f7..000000000000 --- a/dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2.ebuild +++ /dev/null @@ -1,41 +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="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}" -} |