Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Text_Wiki/
Date: Wed, 14 Feb 2018 18:54:15
Message-Id: 1518634421.e3d639fcef6946b1c57126c77f6894f9d43a2dc0.grknight@gentoo
1 commit: e3d639fcef6946b1c57126c77f6894f9d43a2dc0
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 14 18:28:10 2018 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 14 18:53:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d639fc
7
8 dev-php/PEAR-Text_Wiki: Add upstream patches direct to stable
9
10 The released version no longer works with modern PHP.
11 This snapshot allows the package to continue.
12
13 Package-Manager: Portage-2.3.24, Repoman-2.3.6
14
15 dev-php/PEAR-Text_Wiki/Manifest | 1 +
16 .../PEAR-Text_Wiki-1.2.2_p20170904.ebuild | 27 ++++++++++++++++++++++
17 2 files changed, 28 insertions(+)
18
19 diff --git a/dev-php/PEAR-Text_Wiki/Manifest b/dev-php/PEAR-Text_Wiki/Manifest
20 index ba60722ce1c..a582a428c6f 100644
21 --- a/dev-php/PEAR-Text_Wiki/Manifest
22 +++ b/dev-php/PEAR-Text_Wiki/Manifest
23 @@ -1 +1,2 @@
24 DIST PEAR-Text_Wiki-1.2.2.tar.gz 82036 BLAKE2B 898d62c448352fb7e6d4877852ce45200ac676a5f6fb18987ab602428ef495f23ef37f6f1fb0538a644f3679e0dbbfdceec65698a7282d2ab2807d0f8126d102 SHA512 c799245d297349ed73f81997ce1c38f24b7dde18bd7535089275c467deed284de9daff6b4fbfb5728771b227e05dee42a00366e655715a1cc0baa807fea02320
25 +DIST Text_Wiki-1.2.2_p20170904.tar.gz 86810 BLAKE2B 3277fbfae5683c147c1537a7f789b8b9500bfa39014832ed08d91028882813f60727f9ff503d38dde5f017fd5f1ec69d61775a14094b0d267a1b0019f10090c8 SHA512 8e731a6cc9ec0e964d86de5eb96f285155f61d21e229499132f5b06ef8ff520658a42c9c6fb60d73b9bc8828ec9b616bc11e4f04bdd6e74836d52fc53a92dd71
26
27 diff --git a/dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.2_p20170904.ebuild b/dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.2_p20170904.ebuild
28 new file mode 100644
29 index 00000000000..cf72e330dc7
30 --- /dev/null
31 +++ b/dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.2_p20170904.ebuild
32 @@ -0,0 +1,27 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit php-pear-r2 vcs-snapshot
39 +
40 +DESCRIPTION="Abstracts parsing and rendering rules for Wiki markup in structured plain text"
41 +LICENSE="LGPL-2.1"
42 +SLOT="0"
43 +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
44 +IUSE="test"
45 +# Pull from github as pear.php.net is not updated
46 +SRC_URI="https://github.com/pear/${PHP_PEAR_PKG_NAME}/archive/32fd5f483f34645f4efd96d385d8950ea26d4a2a.tar.gz -> ${PEAR_P}.tar.gz"
47 +
48 +DEPEND="test? ( dev-php/phpunit dev-php/PEAR-PEAR )"
49 +
50 +src_test() {
51 + peardev run-tests tests || die
52 + phpunit tests/*.php || die
53 +}
54 +
55 +src_install() {
56 + php-pear-r2_src_install
57 + insinto /usr/share/php/.packagexml
58 + newins package.xml "${PEAR_P}.xml"
59 +}