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
--- /dev/null
+# 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
+}
<?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_DNSBL</remote-id>
+ </upstream>
</pkgmetadata>