Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/phing/
Date: Tue, 09 Feb 2021 18:47:41
Message-Id: 1612896230.b49acf108677620e61279a8abffe382b30b2e605.whissi@gentoo
1 commit: b49acf108677620e61279a8abffe382b30b2e605
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 9 17:56:15 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 9 18:43:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b49acf10
7
8 dev-php/phing: bump to v2.16.4
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-php/phing/Manifest | 1 +
14 dev-php/phing/phing-2.16.4.ebuild | 57 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/dev-php/phing/Manifest b/dev-php/phing/Manifest
18 index ece47f9b322..94f9936900f 100644
19 --- a/dev-php/phing/Manifest
20 +++ b/dev-php/phing/Manifest
21 @@ -1,2 +1,3 @@
22 DIST phing-2.16.1.tgz 4149013 BLAKE2B 266c124237d437361e9e18a42c9358fc18cfacfaa798a3a92a31858b7c1af847cde2cac43e0fcfe3759e8291639de9ec564f977fe00939316dbacdfd266e4e92 SHA512 e0832396dac9fbd43680f01acfa55f3ed2819726ace1db4ec9addf18c9c023c4f63143c6a63bbe1b16c2bd19dba54f503efdc77d772a3239bc8f9efe0ab375bb
23 DIST phing-2.16.3.tgz 858508 BLAKE2B f1125420989af4ec9d1795044d96131a78012d5000eb8adaf9d076f4e2bbceeab0f11b9a24b79425fff179b4ec9dbe5a33aba65dbd4de6b70e64c1cb7c243004 SHA512 b564ddea969bd2a538e09768f6e4d88e9e61ecf6d783db4e328ef9be00099b1fee6ac6dac49b61bab6243e61969131d22869e95b8f063b9c233fd23afa314d30
24 +DIST phing-2.16.4.tgz 860196 BLAKE2B 0db5171e4076ab07de6118fb11daedef27247b785a2f15899d7b24c677edee334df2b2dbb1d7386e546cfa9d81cea942d967531793333d67d70e8898e2472978 SHA512 e3c0aa808e75c1f4ed73bd179261dfa5e6c52ae480567d4503cade939ef4b7430a1ac90097bfb246e0dd29e3bca6a22b200a995e4dd5442b283948aaf26ee311
25
26 diff --git a/dev-php/phing/phing-2.16.4.ebuild b/dev-php/phing/phing-2.16.4.ebuild
27 new file mode 100644
28 index 00000000000..7d5bc50b8c7
29 --- /dev/null
30 +++ b/dev-php/phing/phing-2.16.4.ebuild
31 @@ -0,0 +1,57 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +DESCRIPTION="PHP project build system based on Apache Ant"
38 +HOMEPAGE="https://www.phing.info/"
39 +SRC_URI="https://www.phing.info/get/${P}.tgz"
40 +
41 +LICENSE="FDL-1.3 LGPL-2.1"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="doc examples minimal zip"
45 +
46 +RDEPEND="dev-lang/php:*[cli,xml,xslt,zip?]
47 + dev-php/symfony-yaml
48 + !minimal? (
49 + dev-php/PEAR-HTTP_Request2
50 + dev-php/PEAR-PEAR_PackageFileManager
51 + dev-php/PEAR-VersionControl_SVN
52 + dev-php/PHP_CodeCoverage
53 + dev-php/phpDocumentor
54 + dev-php/phpmd
55 + dev-php/phpunit
56 + dev-php/simpletest
57 + dev-php/xdebug
58 + )"
59 +
60 +S="${WORKDIR}"
61 +
62 +src_install() {
63 + dodoc CHANGELOG.md CREDITS.md README.md
64 + dodoc -r docs/docbook5/en/output/hlhtml
65 + use doc && dodoc -r docs/api
66 + use examples && dodoc -r docs/example
67 +
68 + # Install the executable (and the PHP file it wraps) outside of the
69 + # PHP include directory, since nobody should be including it.
70 + exeinto "/usr/share/${PN}/bin"
71 + doexe "bin/${PN}"
72 + insinto "/usr/share/${PN}/bin"
73 + doins "bin/${PN}.php"
74 + dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
75 +
76 + # Phing tries to get the version number from this file.
77 + insinto "/usr/share/${PN}/etc"
78 + doins etc/VERSION.TXT
79 +
80 + # The executable will only look for autoload.php in one place, so we
81 + # create an (otherwise pointless) vendor directory to house it.
82 + insinto "/usr/share/${PN}/vendor"
83 + doins "${FILESDIR}/autoload.php"
84 +
85 + # But install the library under /usr/share/php.
86 + insinto "/usr/share/php"
87 + doins -r "classes/${PN}"
88 +}