summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2017-01-08 16:41:33 -0500
committerMichael Orlitzky <mjo@gentoo.org>2017-01-08 16:47:16 -0500
commit7a32c540c678dca3da643db1150ef858790de237 (patch)
tree78f9259f468669bf52a6cfd19db7d145535fa126
parentprofiles/package.mask - remove nss mask as all builds will support now (diff)
downloadgentoo-7a32c540c678dca3da643db1150ef858790de237.tar.gz
gentoo-7a32c540c678dca3da643db1150ef858790de237.tar.bz2
gentoo-7a32c540c678dca3da643db1150ef858790de237.zip
dev-php/PEAR-Net_Ping: new EAPI=6 revision sans the php-pear-r1 eclass.
Package-Manager: portage-2.3.0
-rw-r--r--dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r1.ebuild14
-rw-r--r--dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r2.ebuild28
-rw-r--r--dev-php/PEAR-Net_Ping/metadata.xml11
3 files changed, 35 insertions, 18 deletions
diff --git a/dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r1.ebuild b/dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r1.ebuild
deleted file mode 100644
index 52fffa360349..000000000000
--- a/dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r1.ebuild
+++ /dev/null
@@ -1,14 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit php-pear-r1
-
-DESCRIPTION="OS independent wrapper class for executing ping calls"
-
-LICENSE="PHP-2.02"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
diff --git a/dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r2.ebuild b/dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r2.ebuild
new file mode 100644
index 000000000000..9b8cf9c6cbec
--- /dev/null
+++ b/dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 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}"
+
+DESCRIPTION="OS independent wrapper class for executing ping calls"
+HOMEPAGE="http://pear.php.net/package/${MY_PN}"
+SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
+LICENSE="PHP-3.01"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="examples"
+
+RDEPEND="dev-lang/php:*
+ dev-php/PEAR-PEAR"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ use examples && dodoc -r docs/examples
+
+ insinto /usr/share/php/Net
+ doins -r Ping.php
+}
diff --git a/dev-php/PEAR-Net_Ping/metadata.xml b/dev-php/PEAR-Net_Ping/metadata.xml
index aca42932b833..478285c47091 100644
--- a/dev-php/PEAR-Net_Ping/metadata.xml
+++ b/dev-php/PEAR-Net_Ping/metadata.xml
@@ -1,8 +1,11 @@
<?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>
+ <maintainer type="project">
+ <email>php-bugs@gentoo.org</email>
+ <name>PHP</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pear/Net_Ping</remote-id>
+ </upstream>
</pkgmetadata>