summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-03-19 10:44:34 -0400
committerBrian Evans <grknight@gentoo.org>2017-03-19 10:44:34 -0400
commitf6e969d4cea7923f4cbcaeb9c0ec5c7dc725a4b9 (patch)
tree9230599a116984dfb126244ac1012ee6bc582c81 /dev-php/PEAR-PEAR_PackageFileManager2
parentdev-libs/glib: fix gdatetime tests with timezone-data-2017a (diff)
downloadgentoo-f6e969d4cea7923f4cbcaeb9c0ec5c7dc725a4b9.tar.gz
gentoo-f6e969d4cea7923f4cbcaeb9c0ec5c7dc725a4b9.tar.bz2
gentoo-f6e969d4cea7923f4cbcaeb9c0ec5c7dc725a4b9.zip
dev-php/PEAR-PEAR_PackageFileManager2: Revbump to fix WORKDIR wrt bug 613122
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-php/PEAR-PEAR_PackageFileManager2')
-rw-r--r--dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4-r1.ebuild17
-rw-r--r--dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4.ebuild40
2 files changed, 17 insertions, 40 deletions
diff --git a/dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4-r1.ebuild b/dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4-r1.ebuild
new file mode 100644
index 000000000000..80087437242b
--- /dev/null
+++ b/dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4-r1.ebuild
@@ -0,0 +1,17 @@
+# 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_PackageFileManager_Plugins
+ !minimal? ( >=dev-php/PEAR-PHP_CompatInfo-1.4.0 )"
diff --git a/dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4.ebuild b/dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4.ebuild
deleted file mode 100644
index a37887ab8edf..000000000000
--- a/dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4.ebuild
+++ /dev/null
@@ -1,40 +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_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}"
-}