1 |
commit: 957903ba347d0a692e9c785bcf10f01fa6fb96a5 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 4 12:45:49 2017 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 4 12:45:49 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=957903ba |
7 |
|
8 |
dev-php/symfony-dependency-injection: new version 2.8.20. |
9 |
|
10 |
This new version spells out all of the source code directories to be |
11 |
installed, thereby avoiding the installation of junk like |
12 |
composer.json. I've also left a comment stating that I'm not so sure |
13 |
about some of the RDEPEND entries... |
14 |
|
15 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
16 |
|
17 |
dev-php/symfony-dependency-injection/Manifest | 2 +- |
18 |
... => symfony-dependency-injection-2.8.20.ebuild} | 23 +++++++++++----------- |
19 |
2 files changed, 13 insertions(+), 12 deletions(-) |
20 |
|
21 |
diff --git a/dev-php/symfony-dependency-injection/Manifest b/dev-php/symfony-dependency-injection/Manifest |
22 |
index 15dd02ab427..3220a7fd0eb 100644 |
23 |
--- a/dev-php/symfony-dependency-injection/Manifest |
24 |
+++ b/dev-php/symfony-dependency-injection/Manifest |
25 |
@@ -1 +1 @@ |
26 |
-DIST symfony-dependency-injection-2.8.15.tar.gz 116157 SHA256 923e0693d1d629a09876b654663246911398a8262c7e1e7558a14ba0b1aa1fc9 SHA512 232d88c6740166b087991fb43f5dc4b93b9770cc570760336049035a037901017076891f61516281e74e60a15e78b4d836a5741246965e9def047b5e4ce6bb8d WHIRLPOOL 00973393cec3d4669117f848c954e3fecb438b405e73afe7d4163d9d21a7980981f9f226f731ccafe85aa334ece738588b168e25de7259b7d624ccb0a0c672a6 |
27 |
+DIST symfony-dependency-injection-2.8.20.tar.gz 117123 SHA256 ff71fe1b93ff2020d59ffae4017fcb3858563e4a8a9002011a639db6c38a8a39 SHA512 9ab6a4b36fde3908f26c2211066df501dd73387a7ec3d0aae85f8289257653bb54393bd9f4b50c347a4d5ba47214f13c089e475eaace3868f5c18f67b69bd829 WHIRLPOOL cf46966bda4af047cd9aa4d3b6c3063c9404b46d6948f14a6fe33852191554e79c8858ca6c47467ab2c760555443a53c970df0baac179bc54543aef519e0cd92 |
28 |
|
29 |
diff --git a/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.15.ebuild b/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.20.ebuild |
30 |
similarity index 54% |
31 |
rename from dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.15.ebuild |
32 |
rename to dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.20.ebuild |
33 |
index 021e996a96e..9b26caf5c58 100644 |
34 |
--- a/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.15.ebuild |
35 |
+++ b/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.20.ebuild |
36 |
@@ -12,33 +12,34 @@ LICENSE="MIT" |
37 |
SLOT="0" |
38 |
KEYWORDS="~amd64 ~x86" |
39 |
IUSE="test" |
40 |
-RESTRICT="test" |
41 |
|
42 |
-RDEPEND=" |
43 |
- dev-lang/php:* |
44 |
+# The test suite requires the unpackaged symfony-expression-language. |
45 |
+RESTRICT=test |
46 |
+ |
47 |
+# I'm not sure if symfony-config and symfony-yaml are actually needed if |
48 |
+# you're not running the test suite... |
49 |
+RDEPEND="dev-lang/php:* |
50 |
dev-php/fedora-autoloader |
51 |
>=dev-php/symfony-config-2.1.0 |
52 |
>=dev-php/symfony-yaml-2.1.0" |
53 |
-DEPEND=" |
54 |
- test? ( |
55 |
- ${RDEPEND} |
56 |
- dev-php/phpunit )" |
57 |
+DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-5.7.15 )" |
58 |
|
59 |
S="${WORKDIR}/dependency-injection-${PV}" |
60 |
|
61 |
src_prepare() { |
62 |
default |
63 |
if use test; then |
64 |
- cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die |
65 |
+ cp "${FILESDIR}/autoload.php" "${S}/autoload-test.php" || die |
66 |
fi |
67 |
} |
68 |
|
69 |
src_install() { |
70 |
insinto "/usr/share/php/Symfony/Component/DependencyInjection" |
71 |
- doins -r . "${FILESDIR}"/autoload.php |
72 |
- dodoc README.md |
73 |
+ doins -r Compiler Dumper Exception Extension LazyProxy Loader ParameterBag |
74 |
+ doins *.php "${FILESDIR}/autoload.php" |
75 |
+ dodoc CHANGELOG.md README.md |
76 |
} |
77 |
|
78 |
src_test() { |
79 |
- phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" |
80 |
+ phpunit --bootstrap "${S}/autoload-test.php" || die 'test suite failed' |
81 |
} |