summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-03-19 10:20:35 -0400
committerBrian Evans <grknight@gentoo.org>2017-03-19 10:26:38 -0400
commit89439928382d5f442fbbf07649a34ba82002a8d4 (patch)
tree5e91ffdfd37173f3f3eab3e6afa9bd71a51d18b5 /dev-php/PEAR-Net_URL2
parentdev-php/PEAR-Net_DNS2: Drop old version wrt bug 613122 (diff)
downloadgentoo-89439928382d5f442fbbf07649a34ba82002a8d4.tar.gz
gentoo-89439928382d5f442fbbf07649a34ba82002a8d4.tar.bz2
gentoo-89439928382d5f442fbbf07649a34ba82002a8d4.zip
dev-php/PEAR-Net_URL2: Revision bump to fix WORKDIR wrt bug 613122
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-php/PEAR-Net_URL2')
-rw-r--r--dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild37
-rw-r--r--dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r2.ebuild14
2 files changed, 14 insertions, 37 deletions
diff --git a/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild b/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild
deleted file mode 100644
index 040af982ea5..00000000000
--- a/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Easy parsing of URLs (PHP5 port of PEAR-Net_URL package)"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
-
-MY_PN="${PN/PEAR-/}"
-MY_P="${MY_PN}-${PV}"
-
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
-HOMEPAGE="http://pear.php.net/${MY_PN}"
-
-RDEPEND="dev-lang/php:* dev-php/pear"
-DEPEND=""
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( docs/6470.php docs/example.php )
-
-src_install() {
- insinto /usr/share/php
- doins -r Net/
- einstalldocs
-}
-
-pkg_postinst() {
- peardev install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null
-}
-
-pkg_postrm() {
- peardev uninstall -nrO --force pear.php.net/${MY_PN}
-}
diff --git a/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r2.ebuild b/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r2.ebuild
new file mode 100644
index 00000000000..01588f23317
--- /dev/null
+++ b/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r2.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit php-pear-r2
+
+DESCRIPTION="Easy parsing of URLs (PHP5 port of PEAR-Net_URL package)"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+DOCS=( docs/6470.php docs/example.php )