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 5421E139694 for ; Sun, 28 May 2017 14:35:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 712B7E0C44; Sun, 28 May 2017 14:35:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4CFF3E0C5C for ; Sun, 28 May 2017 14:35:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 02C1E341693 for ; Sun, 28 May 2017 14:35:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C1897441 for ; Sun, 28 May 2017 14:35:40 +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: <1495981911.9ac97b036d17d01aecebf00b71c9762fc861a725.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/phpDocumentor/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/phpDocumentor/phpDocumentor-2.7.0.ebuild X-VCS-Directories: dev-php/phpDocumentor/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 9ac97b036d17d01aecebf00b71c9762fc861a725 X-VCS-Branch: master Date: Sun, 28 May 2017 14:35:40 +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: 234bc608-ff23-4e8a-b662-67d00356771b X-Archives-Hash: 27b9d44bc70b0613228c5f52f9393f8d commit: 9ac97b036d17d01aecebf00b71c9762fc861a725 Author: Brian Evans gentoo org> AuthorDate: Sun May 28 14:31:51 2017 +0000 Commit: Brian Evans gentoo org> CommitDate: Sun May 28 14:31:51 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac97b03 dev-php/phpDocumentor: Move 2.7.0 to new eclass Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-php/phpDocumentor/phpDocumentor-2.7.0.ebuild | 29 +++++++++++++++++------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/dev-php/phpDocumentor/phpDocumentor-2.7.0.ebuild b/dev-php/phpDocumentor/phpDocumentor-2.7.0.ebuild index d86ffa0d17f..5ce8467627e 100644 --- a/dev-php/phpDocumentor/phpDocumentor-2.7.0.ebuild +++ b/dev-php/phpDocumentor/phpDocumentor-2.7.0.ebuild @@ -1,14 +1,15 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -PHP_PEAR_URI="pear.phpdoc.org" +PHP_PEAR_DOMAIN="pear.phpdoc.org" +PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml" -inherit php-pear-r1 +inherit php-pear-r2 DESCRIPTION="The phpDocumentor package provides automatic documenting of php api directly from the source" - +SRC_URI="http://${PHP_PEAR_URI}/get/${PEAR_P}.tgz" LICENSE="MIT" SLOT="0" @@ -18,11 +19,23 @@ IUSE="doc" # block old version that provides the same binary DEPEND="!dev-php/PEAR-PhpDocumentor" RDEPEND="media-gfx/graphviz - dev-lang/php[iconv,intl,xmlreader,xslt]" + dev-lang/php:*[iconv,intl,xmlreader,xslt]" -src_install() { - php-pear-r1_src_install +src_prepare() { + sed -i -e "s~@php_dir@~${EPREFIX}/usr/share/php~" \ + "${S}/bin/phpdoc" || die + eapply_user +} +src_install() { + exeinto /usr/bin + doexe bin/phpdoc + insinto /usr/share/php/${PN} + doins -r vendor src/* phpdoc.dist.xml bin/phpdoc.php + insinto /usr/share/php/data/${PN} + doins -r ansible data features box.json composer.json composer.lock phpmd.xml.dist wercker.yml # install manual, tutorial, reference material use doc && dodoc -r docs/* + php-pear-r2_install_packagexml + einstalldocs }