From 292c37800f3858cc322ec452bc639af6e2b0f7ab Mon Sep 17 00:00:00 2001
From: Ole Markus With <olemarkus@gentoo.org>
Date: Sat, 16 Apr 2011 12:58:22 +0000
Subject: Added support for local channel.xml

Package-Manager: portage-2.1.9.45/cvs/Linux x86_64
---
 dev-php/phpunit/files/channel.xml     | 16 ++++++++++++++++
 dev-php/phpunit/phpunit-3.5.13.ebuild |  4 ++--
 2 files changed, 18 insertions(+), 2 deletions(-)
 create mode 100644 dev-php/phpunit/files/channel.xml

(limited to 'dev-php/phpunit')

diff --git a/dev-php/phpunit/files/channel.xml b/dev-php/phpunit/files/channel.xml
new file mode 100644
index 000000000000..91bb6786f543
--- /dev/null
+++ b/dev-php/phpunit/files/channel.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd">
+    <name>pear.phpunit.de</name>
+    <summary>PHPUnit PEAR Channel</summary>
+    <suggestedalias>phpunit</suggestedalias>
+    <servers>
+        <primary>
+            <rest>
+                <baseurl type="REST1.0">http://pear.phpunit.de/rest/</baseurl>
+                <baseurl type="REST1.1">http://pear.phpunit.de/rest/</baseurl>
+                <baseurl type="REST1.2">http://pear.phpunit.de/rest/</baseurl>
+                <baseurl type="REST1.3">http://pear.phpunit.de/rest/</baseurl>
+            </rest>
+        </primary>
+    </servers>
+</channel>
\ No newline at end of file
diff --git a/dev-php/phpunit/phpunit-3.5.13.ebuild b/dev-php/phpunit/phpunit-3.5.13.ebuild
index c39ae2a764e8..63768e56c559 100644
--- a/dev-php/phpunit/phpunit-3.5.13.ebuild
+++ b/dev-php/phpunit/phpunit-3.5.13.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/phpunit/phpunit-3.5.13.ebuild,v 1.2 2011/03/26 12:05:19 olemarkus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/phpunit/phpunit-3.5.13.ebuild,v 1.3 2011/04/16 12:57:04 olemarkus Exp $
 
 EAPI="2"
-PHP_PEAR_CHANNEL="pear.phpunit.de"
+PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml"
 PHP_PEAR_PN="PHPUnit"
 
 inherit php-pear-lib-r1
-- 
cgit v1.2.3-65-gdbad