From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F0095139088 for ; Tue, 27 Dec 2016 16:43:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E6A821C130; Tue, 27 Dec 2016 16:43:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2EFF421C098 for ; Tue, 27 Dec 2016 16:43:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B0B73411D7 for ; Tue, 27 Dec 2016 16:43:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1FC994A0 for ; Tue, 27 Dec 2016 16:43:49 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1482855726.abda111ae4d1b6d2dba3b5e3963a09222f309265.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR_PackageFileManager_Plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/PEAR-PEAR_PackageFileManager_Plugins/Manifest dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4.ebuild dev-php/PEAR-PEAR_PackageFileManager_Plugins/metadata.xml X-VCS-Directories: dev-php/PEAR-PEAR_PackageFileManager_Plugins/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: abda111ae4d1b6d2dba3b5e3963a09222f309265 X-VCS-Branch: master Date: Tue, 27 Dec 2016 16:43:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 79143c91-4dd1-489e-af89-d99c99ae97c9 X-Archives-Hash: cf1c6d97a2b1a1f10eb09f442b65fd59 commit: abda111ae4d1b6d2dba3b5e3963a09222f309265 Author: Brian Evans gentoo org> AuthorDate: Tue Dec 27 16:22:06 2016 +0000 Commit: Brian Evans gentoo 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 @@ + + + + + php-bugs@gentoo.org + PHP + +