From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1176414-garchives=archives.gentoo.org@lists.gentoo.org> 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 F1C7813835A for <garchives@archives.gentoo.org>; Tue, 2 Jun 2020 13:57:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB169E0819; Tue, 2 Jun 2020 13:57:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D822E0819 for <gentoo-commits@lists.gentoo.org>; Tue, 2 Jun 2020 13:57:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E1F3434EDDD for <gentoo-commits@lists.gentoo.org>; Tue, 2 Jun 2020 13:57:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63A40261 for <gentoo-commits@lists.gentoo.org>; Tue, 2 Jun 2020 13:57:51 +0000 (UTC) From: "Brian Evans" <grknight@gentoo.org> 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" <grknight@gentoo.org> Message-ID: <1591105634.e9c143f01440a4717c2e881f275856330b21e6f8.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-XML_Util/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/PEAR-XML_Util/Manifest dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.5.ebuild X-VCS-Directories: dev-php/PEAR-XML_Util/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: e9c143f01440a4717c2e881f275856330b21e6f8 X-VCS-Branch: master Date: Tue, 2 Jun 2020 13:57:51 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f83cfd57-4111-4c68-891f-90744fff0764 X-Archives-Hash: c4bd3547e7df4e39b7934469e7372490 commit: e9c143f01440a4717c2e881f275856330b21e6f8 Author: Brian Evans <grknight <AT> gentoo <DOT> org> AuthorDate: Tue Jun 2 13:47:14 2020 +0000 Commit: Brian Evans <grknight <AT> gentoo <DOT> org> CommitDate: Tue Jun 2 13:47:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c143f0 dev-php/PEAR-XML_Util: Version bump for 1.4.5 Signed-off-by: Brian Evans <grknight <AT> gentoo.org> dev-php/PEAR-XML_Util/Manifest | 1 + dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.5.ebuild | 50 ++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-php/PEAR-XML_Util/Manifest b/dev-php/PEAR-XML_Util/Manifest index c31c0844035..56eb6f0f1be 100644 --- a/dev-php/PEAR-XML_Util/Manifest +++ b/dev-php/PEAR-XML_Util/Manifest @@ -1,3 +1,4 @@ DIST XML_Util-1.4.2.tgz 18993 BLAKE2B b2667aed3b3ec75dd8fca1625c6fa3d03a7662c24ce0fce69cb983f42fc3f45bc0bf27bdee7353c1d29fe0eabc181f2cbd415883575f5d6cf7163097c10f6d9c SHA512 e0a328f92cdcd09277238e14d68b73cba319ab9b4e9c50ab102b43f73c889599f5933415dc228bd1feb56a48c1527e0e9a86999ee2209b2d84131691aee74cbe DIST XML_Util-1.4.3.tgz 18842 BLAKE2B 1cd0065b84e07a8cbc7f4d44c10362d40e71254b4964b3aa3d4d11cad5cb7e5bce780f926c69cc4fc871ac3c28d8239a428c145389950b4d6f6e626b6215dfc9 SHA512 c21a7cef90743e124c4bc8e0453b634de8f6a6b0aac060acc1a17f481a2eb8757d322b05c69151280b7651cea927b2c64b7d49b9fd815dcdc606d0472d967310 DIST XML_Util-1.4.4.tgz 19069 BLAKE2B bd809d8a3250e5d08793f6d6ae50ebdbd0e95e46b667edf7176ac125b902cee8334bc6abe85704a945a508cba6a2146e5bbcb6039a40316ea8d2b1b30590d139 SHA512 3c2ae4492e76729da561398a43416cd540284297b497d2c1526515c00ba2918b9d520b580e21111cf9f9e133d473289cc9c896bc28ddd0c64a849ee66f897e42 +DIST XML_Util-1.4.5.tgz 19191 BLAKE2B 2097e91bc6ed46e4af5713fe6e3f764b401f14ff1e06c0f96af68476db5e8cf2b463c0a9bed3eecd5e22c24108394fe1f622e4986888af131ee9a3c260f8c652 SHA512 dd373c15ea8057e1a31953a10d75a4821bb9ad63d55ec5ccdbe17c114895ac9b9a57871d50f9f83bca7e3920b461417aa09063cb06051834996d4a8aebfa84c9 diff --git a/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.5.ebuild b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.5.ebuild new file mode 100644 index 00000000000..90d887a6d2d --- /dev/null +++ b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="XML utility class" +HOMEPAGE="https://pear.php.net/package/XML_Util" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples" + +# PCRE is needed for a few calls to preg_replace and preg_match. +RDEPEND="dev-lang/php:*[pcre(+)]" +PDEPEND="dev-php/PEAR-PEAR" +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r XML + + use examples && dodoc -r examples + insinto /usr/share/php/.packagexml + if [[ -f "${WORKDIR}/package.xml" ]] ; then + newins "${WORKDIR}/package.xml" "${MY_P}.xml" + fi +} + +pkg_postinst() { + # Register the package from the package{,2}.xml file + # It is not critical to complete so only warn on failure + # Can only be done on reinstall/upgrade as this is a PEAR dep + if [[ -n "${REPLACING_VERSIONS}" && -f "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" ]] ; then + "${EROOT}/usr/bin/peardev" install -nrO --force \ + "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" 2> /dev/null \ + || ewarn "Failed to insert package into local PEAR database" + fi +} + +pkg_postrm() { + # Uninstall known dependency + [[ -n "${REPLACING_VERSIONS}" ]] && \ + "${EROOT}/usr/bin/peardev" uninstall -nrO "pear.php.net/XML_Util" +}