dev-php/PEAR-Services_W3C_CSSValidator: new version 0.2.3.
authorMichael Orlitzky <mjo@gentoo.org>
Mon, 9 Jan 2017 19:15:53 +0000 (14:15 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Mon, 9 Jan 2017 19:46:01 +0000 (14:46 -0500)
This new version is the latest one from upstream, dating back to
2012(!). Somehow, this package still works well. In the new version,
I've dropped the php-pear-r1 eclass, which greatly overcomplicated
things. This package doesn't depend directly on PEAR, so some useless
eclass RDEPENDs were dropped, and now the examples are installed in
the correct location too.

Package-Manager: portage-2.3.0

dev-php/PEAR-Services_W3C_CSSValidator/Manifest
dev-php/PEAR-Services_W3C_CSSValidator/PEAR-Services_W3C_CSSValidator-0.2.2-r1.ebuild [deleted file]
dev-php/PEAR-Services_W3C_CSSValidator/PEAR-Services_W3C_CSSValidator-0.2.3.ebuild [new file with mode: 0644]
dev-php/PEAR-Services_W3C_CSSValidator/metadata.xml

index eacf5789fdd51788e00960083961a92e6e40f319..706d14ef5855d43016acc6319175d2797dbb6113 100644 (file)
@@ -1 +1 @@
-DIST Services_W3C_CSSValidator-0.2.2.tgz 10260 SHA256 698d60f2bb4c1e1ca2b95226a87575c8ceeb4912dcd5e87ebe3fd320afea4c5f SHA512 a2d5c8bbf6d18ee14804661ba537b4be0328127196085e14c7b74760811f637827c8a07b81a844e14dfcae6ed2fedcc3bfd502b958aad4253b742c4d7f39a60f WHIRLPOOL f057d38cf2a2da87e47a145e92ae14e42892186f98e08ae2e129d91b5fcf66b5ff12a3103fdd25ec5d431668ba90cf045fe53284df5b69771a3ea378927a5338
+DIST Services_W3C_CSSValidator-0.2.3.tgz 10721 SHA256 2f8c3d4209eaffa20c3d05e0d9fb3caf087e87a7199e217b5b01dacacc6fd218 SHA512 4f9fb73ec57e374018b389f50918eaf87a63885f75b0ae2ead067e949a451ddbe40da8020672834e891106b5d470fbe451b3117233678b5f6f6a85f01d2a8aef WHIRLPOOL ed04cfd34a08560a8cdf5040d89f4dc0b1e163da44cb75e2409e864d5b50d0300d78caaede98872a28265775ac44f5e29d9769060dcc75be93c54eb555a67e34
diff --git a/dev-php/PEAR-Services_W3C_CSSValidator/PEAR-Services_W3C_CSSValidator-0.2.2-r1.ebuild b/dev-php/PEAR-Services_W3C_CSSValidator/PEAR-Services_W3C_CSSValidator-0.2.2-r1.ebuild
deleted file mode 100644 (file)
index 0aaa90a..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit php-pear-r1
-
-DESCRIPTION="Provides an object oriented interface for the W3 CSS Validator"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=dev-php/PEAR-HTTP_Request2-0.2.0"
diff --git a/dev-php/PEAR-Services_W3C_CSSValidator/PEAR-Services_W3C_CSSValidator-0.2.3.ebuild b/dev-php/PEAR-Services_W3C_CSSValidator/PEAR-Services_W3C_CSSValidator-0.2.3.ebuild
new file mode 100644 (file)
index 0000000..bd51e9c
--- /dev/null
@@ -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="Provides an object oriented interface for the W3 CSS Validator"
+HOMEPAGE="http://pear.php.net/package/${MY_PN}"
+SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="dev-lang/php:*
+       dev-php/PEAR-HTTP_Request2"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+       use examples && dodoc -r docs/examples
+
+       insinto /usr/share/php
+       doins -r Services
+}
index b86acf66c756922faf12873fe442ad0d2180e639..2bffd835b197d19852ce6b35d31ff66f9c17deaa 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/Services_W3C_CSSValidator</remote-id>
+  </upstream>
 </pkgmetadata>