1 |
commit: 787ae660390dd096ce904741fffb207c4296fd5e |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 20 18:15:35 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 20 19:28:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=787ae660 |
7 |
|
8 |
dev-php/PHP_CodeSniffer: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-php/PHP_CodeSniffer/Manifest | 2 - |
13 |
.../PHP_CodeSniffer-2.6.2-r2.ebuild | 42 ------------------ |
14 |
.../PHP_CodeSniffer/PHP_CodeSniffer-3.0.2.ebuild | 51 ---------------------- |
15 |
3 files changed, 95 deletions(-) |
16 |
|
17 |
diff --git a/dev-php/PHP_CodeSniffer/Manifest b/dev-php/PHP_CodeSniffer/Manifest |
18 |
index c9d24934020..444a358b9c9 100644 |
19 |
--- a/dev-php/PHP_CodeSniffer/Manifest |
20 |
+++ b/dev-php/PHP_CodeSniffer/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST PHP_CodeSniffer-2.6.2.tgz 497234 BLAKE2B 66479e8371f2fe9bdf48acc1c459239b3c7a79a598d486737ff1d41265f992d376ada660bb12fa605fb838b0620a7fedac2c13d50827b61108c0ca9eac191552 SHA512 8e74ca2035f25647c836c6cacb6da6c1a3d0d280077cc6b31f5abf01843546c7370a96cba4f3a1b56fe8bac6954e10ce6570352ae67b14f717bab6a30bd2c865 |
23 |
-DIST PHP_CodeSniffer-3.0.2.tgz 529486 BLAKE2B 569de0abec306663ac94876bde3bcda3aca4409b2f74558c72b986a18f08c98e3a365b11d47d11986084d9b7da87caae3594ab412bab6be5aabd3c9b6e769f7b SHA512 ff32e6e88be1927a662f2d1d453f9c071220e168007ccc3ec7cfd3e766ea68ea0c69d537aa37ddb75d103792d1877e0af2d4710f8f6c6d4e957f0d4c482db68c |
24 |
DIST PHP_CodeSniffer-3.2.1.tgz 554343 BLAKE2B a43e253e7cdf6085ff1cfdec110878c99b61a69d80415a40cf670b7ce9ddce82f7254c34995c67084d5aa7aef8d775e6cfef5e9fcab90771f09244c1442e319d SHA512 69a4d70c6a567d262142f7f3d42507a7501ca3d5213f5b90d5893863e3d75e947a7b41e8bb08e85975677b606522b8f73df33dd35cde85c28016389f3c2ae63c |
25 |
|
26 |
diff --git a/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-2.6.2-r2.ebuild b/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-2.6.2-r2.ebuild |
27 |
deleted file mode 100644 |
28 |
index 88488599503..00000000000 |
29 |
--- a/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-2.6.2-r2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,42 +0,0 @@ |
32 |
-# Copyright 1999-2016 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
- |
37 |
-DESCRIPTION="Detect violations of PHP code standards" |
38 |
-HOMEPAGE="https://github.com/squizlabs/PHP_CodeSniffer" |
39 |
- |
40 |
-# The test suite isn't part of the Github tarball at the moment. Keep an |
41 |
-# eye on https://github.com/squizlabs/PHP_CodeSniffer/issues/548 |
42 |
-SRC_URI="http://download.pear.php.net/package/${P}.tgz" |
43 |
- |
44 |
-LICENSE="BSD" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64 ~x86" |
47 |
-IUSE="test" |
48 |
- |
49 |
-DEPEND="test? ( >=dev-php/phpunit-4 )" |
50 |
-RDEPEND="dev-lang/php:*[cli,tokenizer,xmlwriter]" |
51 |
- |
52 |
-DOCS=( CONTRIBUTING.md README.md ) |
53 |
-src_install() { |
54 |
- # The PEAR eclass would install everything into the wrong location. |
55 |
- insinto "/usr/share/${PN}" |
56 |
- doins -r CodeSniffer CodeSniffer.php |
57 |
- |
58 |
- # These load code via relative paths, so they have to be symlinked |
59 |
- # and not dobin'd. |
60 |
- exeinto "/usr/share/${PN}/scripts" |
61 |
- for script in phpcbf phpcs; do |
62 |
- doexe "scripts/${script}" |
63 |
- dosym "/usr/share/${PN}/scripts/${script}" "/usr/bin/${script}" |
64 |
- done |
65 |
- |
66 |
- einstalldocs |
67 |
-} |
68 |
- |
69 |
-src_test() { |
70 |
- # The test suite will fail if date.timezone isn't set in php.ini. |
71 |
- phpunit -d date.timezone=UTC tests/AllTests.php \ |
72 |
- || die "test suite failed" |
73 |
-} |
74 |
|
75 |
diff --git a/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.0.2.ebuild b/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.0.2.ebuild |
76 |
deleted file mode 100644 |
77 |
index c460fcdcb74..00000000000 |
78 |
--- a/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.0.2.ebuild |
79 |
+++ /dev/null |
80 |
@@ -1,51 +0,0 @@ |
81 |
-# Copyright 1999-2017 Gentoo Foundation |
82 |
-# Distributed under the terms of the GNU General Public License v2 |
83 |
- |
84 |
-EAPI=6 |
85 |
- |
86 |
-DESCRIPTION="Detect violations of PHP code standards" |
87 |
-HOMEPAGE="https://github.com/squizlabs/PHP_CodeSniffer" |
88 |
- |
89 |
-# The test suite isn't part of the Github tarball at the moment. Keep an |
90 |
-# eye on https://github.com/squizlabs/PHP_CodeSniffer/issues/548 |
91 |
-SRC_URI="http://download.pear.php.net/package/${P}.tgz" |
92 |
- |
93 |
-LICENSE="BSD" |
94 |
-SLOT="0" |
95 |
-KEYWORDS="~amd64 ~x86" |
96 |
-IUSE="test" |
97 |
- |
98 |
-DEPEND="test? ( >=dev-php/phpunit-4 )" |
99 |
-RDEPEND="dev-lang/php:*[cli,tokenizer,xmlwriter]" |
100 |
- |
101 |
-DOCS=( CONTRIBUTING.md README.md ) |
102 |
- |
103 |
-src_prepare() { |
104 |
- sed -i "s~@data_dir@~${EPREFIX}/usr/share/php/data~" src/Config.php || die |
105 |
- eapply_user |
106 |
-} |
107 |
- |
108 |
-src_install() { |
109 |
- local MY_PN="PHP/CodeSniffer" script |
110 |
- # The PEAR eclass would install everything into the wrong location. |
111 |
- insinto "/usr/share/php/${MY_PN}" |
112 |
- doins -r src autoload.php |
113 |
- |
114 |
- insinto "/usr/share/php/data/${MY_PN}" |
115 |
- doins CodeSniffer.conf.dist |
116 |
- # These load code via relative paths, so they have to be symlinked |
117 |
- # and not dobin'd. |
118 |
- exeinto "/usr/share/php/${MY_PN}/bin" |
119 |
- for script in phpcbf phpcs; do |
120 |
- doexe "bin/${script}" |
121 |
- dosym "../share/php/${MY_PN}/bin/${script}" "/usr/bin/${script}" |
122 |
- done |
123 |
- |
124 |
- einstalldocs |
125 |
-} |
126 |
- |
127 |
-src_test() { |
128 |
- # The test suite will fail if date.timezone isn't set in php.ini. |
129 |
- phpunit -d date.timezone=UTC tests/AllTests.php \ |
130 |
- || die "test suite failed" |
131 |
-} |