commit:     a8c33b06974bc0be21c0efd593c2ed80facaafd0
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 10 04:56:47 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Jan 10 04:56:47 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8c33b06

dev-php/PEAR-Net_DNSBL: new EAPI=6 revision.

This new revision drops the php-pear-r1 eclass, which means that the
examples are now installed in the correct place. They're also hidden
behind USE=examples, as are the associated dependencies.

The other major reason for the new revision is to drop the erroneous
RDEPEND on dev-php/PEAR-Net_CheckIP. That package is not needed, and
should be last-rited once this new revision has stabilized.

Package-Manager: portage-2.3.0

 .../PEAR-Net_DNSBL/PEAR-Net_DNSBL-1.3.7-r1.ebuild  | 31 ++++++++++++++++++++++
 dev-php/PEAR-Net_DNSBL/metadata.xml                | 11 +++++---
 2 files changed, 38 insertions(+), 4 deletions(-)

diff --git a/dev-php/PEAR-Net_DNSBL/PEAR-Net_DNSBL-1.3.7-r1.ebuild 
b/dev-php/PEAR-Net_DNSBL/PEAR-Net_DNSBL-1.3.7-r1.ebuild
new file mode 100644
index 00000000..cd4446f
--- /dev/null
+++ b/dev-php/PEAR-Net_DNSBL/PEAR-Net_DNSBL-1.3.7-r1.ebuild
@@ -0,0 +1,31 @@
+# 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="PHP library to query DNS blacklists"
+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 ~sparc ~x86"
+IUSE="examples"
+RDEPEND="dev-lang/php:*
+       dev-php/PEAR-Cache_Lite
+       dev-php/PEAR-HTTP_Request2
+       dev-php/PEAR-Net_DNS
+       dev-php/PEAR-PEAR
+       examples? ( dev-lang/php:*[cli] dev-php/PEAR-Console_Getopt )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+       use examples && dodoc -r examples
+
+       insinto /usr/share/php
+       doins -r Net
+}

diff --git a/dev-php/PEAR-Net_DNSBL/metadata.xml 
b/dev-php/PEAR-Net_DNSBL/metadata.xml
index aca4293..770ab1c 100644
--- a/dev-php/PEAR-Net_DNSBL/metadata.xml
+++ b/dev-php/PEAR-Net_DNSBL/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>[email protected]</email>
-       <name>PHP</name>
-</maintainer>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>PHP</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">pear/Net_DNSBL</remote-id>
+  </upstream>
 </pkgmetadata>

Reply via email to