From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 68FBC138331 for ; Wed, 14 Feb 2018 18:54:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 806D7E0C07; Wed, 14 Feb 2018 18:54:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 504C6E0C07 for ; Wed, 14 Feb 2018 18:54:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 181E7335C2A for ; Wed, 14 Feb 2018 18:54:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CCB8211 for ; Wed, 14 Feb 2018 18:54:11 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1518634436.1534f95acbefa0ebfdfa469a3520fb5bf009a7e7.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Text_Wiki_Mediawiki/, dev-php/PEAR-Text_Wiki_Mediawiki/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/PEAR-Text_Wiki_Mediawiki/Manifest dev-php/PEAR-Text_Wiki_Mediawiki/PEAR-Text_Wiki_Mediawiki-0.2.0_p20140604.ebuild dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch X-VCS-Directories: dev-php/PEAR-Text_Wiki_Mediawiki/files/ dev-php/PEAR-Text_Wiki_Mediawiki/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 1534f95acbefa0ebfdfa469a3520fb5bf009a7e7 X-VCS-Branch: master Date: Wed, 14 Feb 2018 18:54:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 832424ce-ad56-4541-babc-065f2ab85dff X-Archives-Hash: 3faae5f8772ab78b9d7811fcc73ba820 commit: 1534f95acbefa0ebfdfa469a3520fb5bf009a7e7 Author: Brian Evans gentoo org> AuthorDate: Wed Feb 14 18:50:43 2018 +0000 Commit: Brian Evans gentoo org> CommitDate: Wed Feb 14 18:53:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1534f95a dev-php/PEAR-Text_Wiki_Mediawiki: New snapshot version compatible with PHP7 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-php/PEAR-Text_Wiki_Mediawiki/Manifest | 1 + ...PEAR-Text_Wiki_Mediawiki-0.2.0_p20140604.ebuild | 26 ++++++++++++++++ .../files/0.2.0-constructor.patch | 36 ++++++++++++++++++++++ 3 files changed, 63 insertions(+) diff --git a/dev-php/PEAR-Text_Wiki_Mediawiki/Manifest b/dev-php/PEAR-Text_Wiki_Mediawiki/Manifest index fe45a7e001e..730da51fc7f 100644 --- a/dev-php/PEAR-Text_Wiki_Mediawiki/Manifest +++ b/dev-php/PEAR-Text_Wiki_Mediawiki/Manifest @@ -1 +1,2 @@ DIST Text_Wiki_Mediawiki-0.2.0.tgz 17022 BLAKE2B e43d7452f28ebd8d730f69d947ed19bc47eeb2a40b5b7a99be1868d0bf8daa57b91fe7bd27adad49334999ce181f4254bfbe3b7f091d6dd34ac603a2108a6582 SHA512 032d1fb229b4e2ab65f60c90cc5a234b441093837c9d7170477f04e591a15c9a891baf9f45171275f152a358616124729db7edc97def2c72cfddf498b48f17a4 +DIST Text_Wiki_Mediawiki-0.2.0_p20140604.tar.gz 22941 BLAKE2B d208b4df7e01a2b28e44ada0226be0f183fe6ffefe742f9b6cb4f2b366f915ae46d950d574a8357cbec273f41792f17a639f5512613628ee60ed137d909be9dd SHA512 aef4d18a4a0b9f41dc4bad701a90a2e7d674851b63206db9dd87cf87d6705991c8221e41cdbb8d2572a950520ce87db96105a009e4189e48b8e7f5df0f460ee5 diff --git a/dev-php/PEAR-Text_Wiki_Mediawiki/PEAR-Text_Wiki_Mediawiki-0.2.0_p20140604.ebuild b/dev-php/PEAR-Text_Wiki_Mediawiki/PEAR-Text_Wiki_Mediawiki-0.2.0_p20140604.ebuild new file mode 100644 index 00000000000..ad7c1611892 --- /dev/null +++ b/dev-php/PEAR-Text_Wiki_Mediawiki/PEAR-Text_Wiki_Mediawiki-0.2.0_p20140604.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 vcs-snapshot + +SRC_URI="https://github.com/pear/Text_Wiki_Mediawiki/archive/11a902741d3f8cc6010fb97b825d66345143e4dc.tar.gz -> ${PEAR_P}.tar.gz" +DESCRIPTION="Mediawiki parser for Text_Wiki" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RDEPEND=">=dev-php/PEAR-Text_Wiki-1.2.2_p20170904" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" +PATCHES=( "${FILESDIR}/0.2.0-constructor.patch" ) + +src_test() { + phpunit tests/Text_Wiki_Parse_Mediawiki_Test.php || die +} + +src_install() { + php-pear-r2_src_install + insinto /usr/share/php/.packagexml + newins package.xml "${PEAR_P}.xml" +} diff --git a/dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch b/dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch new file mode 100644 index 00000000000..edd8e3572de --- /dev/null +++ b/dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch @@ -0,0 +1,36 @@ +diff -aurN a/Text/Wiki/Mediawiki.php b/Text/Wiki/Mediawiki.php +--- a/Text/Wiki/Mediawiki.php 2014-06-04 23:24:45.000000000 -0400 ++++ b/Text/Wiki/Mediawiki.php 2018-02-14 13:36:18.777893414 -0500 +@@ -87,7 +87,7 @@ + * @param array $rules The set of rules to load for this object. + */ + function __construct($rules = null) { +- parent::Text_Wiki($rules); ++ parent::__construct($rules); + $this->addPath('parse', $this->fixPath(dirname(__FILE__)).'Parse/Mediawiki'); + } + } +diff -aurN a/Text/Wiki/Parse/Mediawiki/Url.php b/Text/Wiki/Parse/Mediawiki/Url.php +--- a/Text/Wiki/Parse/Mediawiki/Url.php 2014-06-04 23:24:45.000000000 -0400 ++++ b/Text/Wiki/Parse/Mediawiki/Url.php 2018-02-14 13:40:21.974024459 -0500 +@@ -87,7 +87,7 @@ + */ + function __construct(&$obj) + { +- parent::Text_Wiki_Parse($obj); ++ parent::__construct($obj); + + // convert the list of recognized schemes to a regex-safe string, + // where the pattern delim is a slash +diff -aurN a/Text/Wiki/Parse/Mediawiki/Wikilink.php b/Text/Wiki/Parse/Mediawiki/Wikilink.php +--- a/Text/Wiki/Parse/Mediawiki/Wikilink.php 2014-06-04 23:24:45.000000000 -0400 ++++ b/Text/Wiki/Parse/Mediawiki/Wikilink.php 2018-02-14 13:40:46.030542359 -0500 +@@ -99,7 +99,7 @@ + function __construct(&$obj) + { + $default = $this->conf; +- parent::Text_Wiki_Parse($obj); ++ parent::__construct($obj); + + // override config options for image if specified + if (in_array('Image', $this->wiki->disable)) {