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/phar-io-manifest/
Date: Mon, 01 Feb 2021 16:38:57
Message-Id: 1612197332.b7f219c7490149a7a0cd5d2d57090df026af25dd.whissi@gentoo
1 commit: b7f219c7490149a7a0cd5d2d57090df026af25dd
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 1 16:32:14 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 1 16:35:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f219c7
7
8 dev-php/phar-io-manifest: bump to v2.0.1
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/phar-io-manifest/Manifest | 1 +
14 .../phar-io-manifest/phar-io-manifest-2.0.1.ebuild | 49 ++++++++++++++++++++++
15 2 files changed, 50 insertions(+)
16
17 diff --git a/dev-php/phar-io-manifest/Manifest b/dev-php/phar-io-manifest/Manifest
18 index cb5837a1cb2..3e0b56dae27 100644
19 --- a/dev-php/phar-io-manifest/Manifest
20 +++ b/dev-php/phar-io-manifest/Manifest
21 @@ -1 +1,2 @@
22 DIST phar-io-manifest-1.0.3.tar.gz 21903 BLAKE2B 48fb8858ea6c89415e78da399e2d3b6660e1857958094bf5e6c42465cfc32e34122ec1ab6e413f36f48e288ef40af7b85f93c80e6a2cfa547a166557de04ec97 SHA512 f8f9a6d4b761b739ec24a9f94ae5d4ac74f7276621675e3f3c7c3085aa7662c73cc703b1c86531d327199cf42074bb19446c14f78a3c8a888b1d236dc59bed94
23 +DIST phar-io-manifest-2.0.1.tar.gz 10146 BLAKE2B dad3a04bf63c53c2cf4c715eb752ca57458f936a0872db481e81452b9efc8f10bb3903248cb834c8e25eb88987b68545903e1f68876e284597f54ceef755dfe8 SHA512 5c9772a5a48f17abab3806bbb8f9c07a2f26f3231385fb7dd7dcdc390f925f0f7de2d07d8b0bb4e966de86c3262bb4900cf81c1bf897fb38425aa8d644c74e95
24
25 diff --git a/dev-php/phar-io-manifest/phar-io-manifest-2.0.1.ebuild b/dev-php/phar-io-manifest/phar-io-manifest-2.0.1.ebuild
26 new file mode 100644
27 index 00000000000..25f65d07e8d
28 --- /dev/null
29 +++ b/dev-php/phar-io-manifest/phar-io-manifest-2.0.1.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="7"
35 +
36 +DESCRIPTION="Reading phar.io manifest information from a PHP Archive (PHAR)"
37 +HOMEPAGE="https://github.com/phar-io/manifest"
38 +SRC_URI="https://github.com/phar-io/manifest/archive/${PV}.tar.gz -> ${P}.tar.gz"
39 +
40 +LICENSE="BSD"
41 +SLOT="0"
42 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
43 +IUSE="examples"
44 +
45 +CDEPEND="dev-php/fedora-autoloader
46 + >=dev-php/phar-io-version-3.0.1
47 + >=dev-lang/php-7.2:*[phar,xml(-),xmlwriter(-)]"
48 +
49 +BDEPEND="dev-php/theseer-Autoload"
50 +
51 +RDEPEND="${CDEPEND}"
52 +
53 +S="${WORKDIR}/manifest-${PV}"
54 +
55 +src_prepare() {
56 + default
57 +
58 + phpab \
59 + --output src/autoload.php \
60 + --template fedora2 \
61 + --basedir src \
62 + src \
63 + || die
64 +
65 + cat >> src/autoload.php <<EOF || die "failed to extend autoload.php"
66 +
67 +// Dependencies
68 +\Fedora\Autoloader\Dependencies::required([
69 + '/usr/share/php/PharIo/Version/autoload.php'
70 +]);
71 +EOF
72 +}
73 +
74 +src_install() {
75 + insinto /usr/share/php/PharIo/Manifest
76 + doins -r src/*
77 + dodoc README.md
78 + use examples && dodoc -r examples
79 +}