* [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR_PackageFileManager_Plugins/
@ 2016-12-27 16:43 99% Brian Evans
0 siblings, 0 replies; 1+ results
From: Brian Evans @ 2016-12-27 16:43 UTC (permalink / raw
To: gentoo-commits
commit: abda111ae4d1b6d2dba3b5e3963a09222f309265
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 16:22:06 2016 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 16:22:06 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abda111a
dev-php/PEAR-PEAR_PackageFileManager_Plugins: New package
Required dependency for dev-php/PEAR-PEAR_PackageFileManager
Package-Manager: Portage-2.3.3, Repoman-2.3.1
.../PEAR-PEAR_PackageFileManager_Plugins/Manifest | 1 +
...AR-PEAR_PackageFileManager_Plugins-1.0.4.ebuild | 40 ++++++++++++++++++++++
.../metadata.xml | 8 +++++
3 files changed, 49 insertions(+)
diff --git a/dev-php/PEAR-PEAR_PackageFileManager_Plugins/Manifest b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/Manifest
new file mode 100644
index 00000000..ed6c6df
--- /dev/null
+++ b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/Manifest
@@ -0,0 +1 @@
+DIST PEAR_PackageFileManager_Plugins-1.0.4.tgz 20967 SHA256 58ac5018bb5edf0b76df35474ba38ea1e98f2d9e30ea530fa1ee8c756f1aac03 SHA512 7461ba3dc6f51263383136041d217e2d0d7607c5ef9f8766e08466118f2c869a037622750dd7bdcbbf2a114efde096b3192bbf5229f62ea42adfe83d36451fa0 WHIRLPOOL 623240224078018eab1dc86b24ed2c9f31af2723cb63cf3504df9b66b68bb79dff7466dbea4f7266f6fb56f60af33037fba3607bfe2a5ad26103d8c1a4d82d34
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
new file mode 100644
index 00000000..96cb66c
--- /dev/null
+++ b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4.ebuild
@@ -0,0 +1,40 @@
+# 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="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}"
+}
diff --git a/dev-php/PEAR-PEAR_PackageFileManager_Plugins/metadata.xml b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/metadata.xml
new file mode 100644
index 00000000..aca4293
--- /dev/null
+++ b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>php-bugs@gentoo.org</email>
+ <name>PHP</name>
+</maintainer>
+</pkgmetadata>
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-12-27 16:43 99% [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR_PackageFileManager_Plugins/ Brian Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox