dev-php/PEAR-Net_DNSBL: new EAPI=6 revision.
authorMichael Orlitzky <mjo@gentoo.org>
Tue, 10 Jan 2017 04:56:47 +0000 (23:56 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Tue, 10 Jan 2017 04:56:47 +0000 (23:56 -0500)
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-php/PEAR-Net_DNSBL/PEAR-Net_DNSBL-1.3.7-r1.ebuild [new file with mode: 0644]
dev-php/PEAR-Net_DNSBL/metadata.xml

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 (file)
index 0000000..cd4446f
--- /dev/null
@@ -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
+}
index aca42932b83363b2b3b1f1ff5c7ce1ccccf24838..770ab1c7fcacfa867cad97a4091b5695ddc0a516 100644 (file)
@@ -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_DNSBL</remote-id>
+  </upstream>
 </pkgmetadata>