diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2017-03-20 23:37:15 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2017-03-20 23:39:23 -0400 |
commit | 1c6d9aeb1b7022cfafd0600dec52909ef0e31f73 (patch) | |
tree | 4ef8e0068e226ba1cc77e1d6f21890f2ddb54efa /dev-php | |
parent | dev-perl/Capture-Tiny: Bump to version 0.460.0 (diff) | |
download | gentoo-1c6d9aeb1b7022cfafd0600dec52909ef0e31f73.tar.gz gentoo-1c6d9aeb1b7022cfafd0600dec52909ef0e31f73.tar.bz2 gentoo-1c6d9aeb1b7022cfafd0600dec52909ef0e31f73.zip |
dev-php/PEAR-Exception: new package supplying the PEAR/Exception class.
Right now, most of the dev-php/PEAR-* packages in the tree depend on
dev-php/PEAR-PEAR. However, most of them only need to do so for one
class, PEAR/Exception. This new package (a legit, separate upstream
package) provides that class and nothing else.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/PEAR-Exception/Manifest | 1 | ||||
-rw-r--r-- | dev-php/PEAR-Exception/PEAR-Exception-1.0.0.ebuild | 28 | ||||
-rw-r--r-- | dev-php/PEAR-Exception/metadata.xml | 11 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-php/PEAR-Exception/Manifest b/dev-php/PEAR-Exception/Manifest new file mode 100644 index 000000000000..82deb58d6524 --- /dev/null +++ b/dev-php/PEAR-Exception/Manifest @@ -0,0 +1 @@ +DIST PEAR_Exception-1.0.0.tgz 5270 SHA256 026b1f5981e7365237effda2a840f696f96a00c59e45ab7dfab79644f72dc2e3 SHA512 f2078186fdad6c6ca59ac462a24f7f9689bea08d30f786acb7779d52cd433e490c752ba0a263067d869151b0c051cded327cb3477a039c5de68c854bff002b58 WHIRLPOOL d11317410ed77c4bfa468c840b44f2b186c01c4b056d72a4f89951d3734d76a1d2888a0d64a9515541721650358c7461a5f1f6c1a032aab4e7937b163f86f10c diff --git a/dev-php/PEAR-Exception/PEAR-Exception-1.0.0.ebuild b/dev-php/PEAR-Exception/PEAR-Exception-1.0.0.ebuild new file mode 100644 index 000000000000..7795167c287c --- /dev/null +++ b/dev-php/PEAR-Exception/PEAR-Exception-1.0.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/-/_}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="The PEAR Exception base class" +HOMEPAGE="http://pear.php.net/package/${MY_PN}" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RDEPEND="dev-lang/php:* + !<=dev-php/PEAR-PEAR-1.10.3-r1" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r PEAR +} + +src_test() { + phpunit tests || die "test suite failed" +} diff --git a/dev-php/PEAR-Exception/metadata.xml b/dev-php/PEAR-Exception/metadata.xml new file mode 100644 index 000000000000..8d42fecc2770 --- /dev/null +++ b/dev-php/PEAR-Exception/metadata.xml @@ -0,0 +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> + <upstream> + <remote-id type="github">pear/pear_exception</remote-id> + </upstream> +</pkgmetadata> |