Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/updates/, dev-php/PHP_CodeSniffer/, dev-php/PEAR-PHP_CodeSniffer/
Date: Fri, 05 Aug 2016 20:54:28
Message-Id: 1470430092.d20f220823a60f0eb2bffeb8d8583ea76bce3917.mjo@gentoo
1 commit: d20f220823a60f0eb2bffeb8d8583ea76bce3917
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 5 20:45:13 2016 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 5 20:48:12 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d20f2208
7
8 dev-php/PEAR-PHP_CodeSniffer: rename to dev-php/PHP_CodeSniffer.
9
10 Gentoo-Bug: 575422
11
12 .../PEAR-PHP_CodeSniffer-2.6.2-r1.ebuild | 48 ----------------------
13 .../Manifest | 1 -
14 .../PHP_CodeSniffer-2.6.2-r2.ebuild} | 9 +---
15 .../metadata.xml | 0
16 profiles/updates/3Q-2016 | 1 +
17 5 files changed, 2 insertions(+), 57 deletions(-)
18
19 diff --git a/dev-php/PEAR-PHP_CodeSniffer/PEAR-PHP_CodeSniffer-2.6.2-r1.ebuild b/dev-php/PEAR-PHP_CodeSniffer/PEAR-PHP_CodeSniffer-2.6.2-r1.ebuild
20 deleted file mode 100644
21 index 7ef39e9..0000000
22 --- a/dev-php/PEAR-PHP_CodeSniffer/PEAR-PHP_CodeSniffer-2.6.2-r1.ebuild
23 +++ /dev/null
24 @@ -1,48 +0,0 @@
25 -# Copyright 1999-2016 Gentoo Foundation
26 -# Distributed under the terms of the GNU General Public License v2
27 -# $Id$
28 -
29 -EAPI=6
30 -
31 -# Can go if we ever drop the "PEAR-" prefix.
32 -MY_PN="${PN#PEAR-}"
33 -MY_P="${MY_PN}-${PV}"
34 -
35 -DESCRIPTION="Detect violations of PHP code standards"
36 -HOMEPAGE="https://github.com/squizlabs/PHP_CodeSniffer"
37 -
38 -SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
39 -
40 -LICENSE="BSD"
41 -SLOT="0"
42 -KEYWORDS="~amd64 ~x86"
43 -IUSE="test"
44 -
45 -DEPEND="test? ( >=dev-php/phpunit-4 )"
46 -RDEPEND="dev-lang/php:*[cli,tokenizer,xmlwriter]"
47 -
48 -# Can go if we ever drop the "PEAR-" prefix.
49 -S="${WORKDIR}/${MY_P}"
50 -
51 -DOCS=( CONTRIBUTING.md README.md )
52 -src_install() {
53 - # The PEAR eclass would install everything into the wrong location.
54 - insinto "/usr/share/${PN}"
55 - doins -r CodeSniffer CodeSniffer.php
56 -
57 - # These load code via relative paths, so they have to be symlinked
58 - # and not dobin'd.
59 - exeinto "/usr/share/${PN}/scripts"
60 - for script in phpcbf phpcs; do
61 - doexe "scripts/${script}"
62 - dosym "/usr/share/${PN}/scripts/${script}" "/usr/bin/${script}"
63 - done
64 -
65 - einstalldocs
66 -}
67 -
68 -src_test() {
69 - # The test suite will fail if date.timezone isn't set in php.ini.
70 - phpunit -d date.timezone=UTC tests/AllTests.php \
71 - || die "test suite failed"
72 -}
73
74 diff --git a/dev-php/PEAR-PHP_CodeSniffer/Manifest b/dev-php/PHP_CodeSniffer/Manifest
75 similarity index 50%
76 rename from dev-php/PEAR-PHP_CodeSniffer/Manifest
77 rename to dev-php/PHP_CodeSniffer/Manifest
78 index 4c0e201..738d545 100644
79 --- a/dev-php/PEAR-PHP_CodeSniffer/Manifest
80 +++ b/dev-php/PHP_CodeSniffer/Manifest
81 @@ -1,2 +1 @@
82 -DIST PHP_CodeSniffer-2.5.1.tgz 484780 SHA256 9de1a12f2d184bd1846a6f756f7507b16722538c88c9dd66912915f498a3f330 SHA512 285cfa1c39ffa6d53317df1d9a4f78f718e0a8c8aded016b07982e83e5bed7713a8f8f8d0da988eb716cf9006f2261d32cc5ecb31c56e07d1be830e85213b002 WHIRLPOOL 74355c23de5ae70bb91ac226d68b61936fefd47487c20cb6d07a92a3060b27a220812a5b5af28d32cdf9be90890ad3c77591cf75ff5f47eef3e0f6fa444337af
83 DIST PHP_CodeSniffer-2.6.2.tgz 497234 SHA256 f5c71941e254742130e22cd5ef48d3b06b486efbd1b3dbc7f2fa77acdeac650d SHA512 8e74ca2035f25647c836c6cacb6da6c1a3d0d280077cc6b31f5abf01843546c7370a96cba4f3a1b56fe8bac6954e10ce6570352ae67b14f717bab6a30bd2c865 WHIRLPOOL 558653b7ca61d65cdb20dc5e91b3b53f4de57e00aa399a58e798a497b5b1659241f946390817333621ed7e4737f6eda90088085b57e43832af24f7fd4a273a76
84
85 diff --git a/dev-php/PEAR-PHP_CodeSniffer/PEAR-PHP_CodeSniffer-2.5.1-r1.ebuild b/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-2.6.2-r2.ebuild
86 similarity index 84%
87 rename from dev-php/PEAR-PHP_CodeSniffer/PEAR-PHP_CodeSniffer-2.5.1-r1.ebuild
88 rename to dev-php/PHP_CodeSniffer/PHP_CodeSniffer-2.6.2-r2.ebuild
89 index 2dfa8b7..ef6e783 100644
90 --- a/dev-php/PEAR-PHP_CodeSniffer/PEAR-PHP_CodeSniffer-2.5.1-r1.ebuild
91 +++ b/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-2.6.2-r2.ebuild
92 @@ -4,16 +4,12 @@
93
94 EAPI=6
95
96 -# Can go if we ever drop the "PEAR-" prefix.
97 -MY_PN="${PN#PEAR-}"
98 -MY_P="${MY_PN}-${PV}"
99 -
100 DESCRIPTION="Detect violations of PHP code standards"
101 HOMEPAGE="https://github.com/squizlabs/PHP_CodeSniffer"
102
103 # The test suite isn't part of the Github tarball at the moment. Keep an
104 # eye on https://github.com/squizlabs/PHP_CodeSniffer/issues/548
105 -SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
106 +SRC_URI="http://download.pear.php.net/package/${P}.tgz"
107
108 LICENSE="BSD"
109 SLOT="0"
110 @@ -23,9 +19,6 @@ IUSE="test"
111 DEPEND="test? ( >=dev-php/phpunit-4 )"
112 RDEPEND="dev-lang/php:*[cli,tokenizer,xmlwriter]"
113
114 -# Can go if we ever drop the "PEAR-" prefix.
115 -S="${WORKDIR}/${MY_P}"
116 -
117 DOCS=( CONTRIBUTING.md README.md )
118 src_install() {
119 # The PEAR eclass would install everything into the wrong location.
120
121 diff --git a/dev-php/PEAR-PHP_CodeSniffer/metadata.xml b/dev-php/PHP_CodeSniffer/metadata.xml
122 similarity index 100%
123 rename from dev-php/PEAR-PHP_CodeSniffer/metadata.xml
124 rename to dev-php/PHP_CodeSniffer/metadata.xml
125
126 diff --git a/profiles/updates/3Q-2016 b/profiles/updates/3Q-2016
127 index eabb71b..6b5a35d 100644
128 --- a/profiles/updates/3Q-2016
129 +++ b/profiles/updates/3Q-2016
130 @@ -9,3 +9,4 @@ move net-misc/ksshaskpass kde-plasma/ksshaskpass
131 move dev-perl/convert-pem dev-perl/Convert-PEM
132 slotmove >=dev-php/pecl-yaml-2.0.0_rc1 0 7
133 move dev-perl/regexp-common dev-perl/Regexp-Common
134 +move dev-php/PEAR-PHP_CodeSniffer dev-php/PHP_CodeSniffer