From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-XML_Util/
Date: Tue, 2 Jun 2020 13:57:51 +0000 (UTC) [thread overview]
Message-ID: <1591105634.e9c143f01440a4717c2e881f275856330b21e6f8.grknight@gentoo> (raw)
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"
+}
next reply other threads:[~2020-06-02 13:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-02 13:57 Brian Evans [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-22 13:46 [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-XML_Util/ Brian Evans
2021-01-21 22:32 Sam James
2021-01-21 15:28 Brian Evans
2020-01-06 1:36 Thomas Deutschmann
2020-01-05 23:20 Thomas Deutschmann
2019-03-20 20:27 Aaron Bauman
2019-02-13 20:02 Thomas Deutschmann
2017-03-20 13:24 Michael Orlitzky
2017-03-20 13:24 Michael Orlitzky
2017-03-20 12:28 Agostino Sarubbo
2017-02-22 20:31 Brian Evans
2017-01-08 14:47 Michael Orlitzky
2017-01-08 7:00 Aaron Bauman
2016-07-28 14:45 Michael Orlitzky
2015-08-16 2:41 Brian Evans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1591105634.e9c143f01440a4717c2e881f275856330b21e6f8.grknight@gentoo \
--to=grknight@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox