1 |
commit: 9a4b961281e627b8bb56bca6509ed25b7420bc81 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 12 17:38:06 2016 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 12 17:38:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a4b9612 |
7 |
|
8 |
dev-php/PEAR-HTTP_Header: new EAPI=6 revision sans the PEAR eclass. |
9 |
|
10 |
We have a lot of trouble with our php-pear-* eclasses. Many of the |
11 |
PEAR packages (including PEAR-HTTP_Header) can be installed in only a |
12 |
few lines, in which case it seems smarter to skip the eclass |
13 |
altogether. This new revision does so, and lets us jump to EAPI=6. |
14 |
|
15 |
Gentoo-Bug: 576432 |
16 |
|
17 |
Package-Manager: portage-2.2.28 |
18 |
|
19 |
.../PEAR-HTTP_Header-1.2.1-r2.ebuild | 24 ++++++++++++++++++++++ |
20 |
1 file changed, 24 insertions(+) |
21 |
|
22 |
diff --git a/dev-php/PEAR-HTTP_Header/PEAR-HTTP_Header-1.2.1-r2.ebuild b/dev-php/PEAR-HTTP_Header/PEAR-HTTP_Header-1.2.1-r2.ebuild |
23 |
new file mode 100644 |
24 |
index 0000000..283c245 |
25 |
--- /dev/null |
26 |
+++ b/dev-php/PEAR-HTTP_Header/PEAR-HTTP_Header-1.2.1-r2.ebuild |
27 |
@@ -0,0 +1,24 @@ |
28 |
+# Copyright 1999-2016 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+# $Id$ |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+MY_P="${P/PEAR-/}" |
35 |
+ |
36 |
+DESCRIPTION="Handle and modify HTTP headers and status codes in PHP" |
37 |
+HOMEPAGE="http://pear.php.net/package/HTTP_Header" |
38 |
+SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" |
39 |
+LICENSE="BSD-2" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~x86" |
42 |
+IUSE="" |
43 |
+RDEPEND="dev-lang/php:* |
44 |
+ dev-php/PEAR-HTTP" |
45 |
+ |
46 |
+S="${WORKDIR}/${MY_P}" |
47 |
+ |
48 |
+src_install() { |
49 |
+ insinto /usr/share/php |
50 |
+ doins -r HTTP |
51 |
+} |