From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/phpDocumentor/
Date: Sun, 28 May 2017 14:35:40 +0000 (UTC) [thread overview]
Message-ID: <1495981911.9ac97b036d17d01aecebf00b71c9762fc861a725.grknight@gentoo> (raw)
commit: 9ac97b036d17d01aecebf00b71c9762fc861a725
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Sun May 28 14:31:51 2017 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> 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
}
next reply other threads:[~2017-05-28 14:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-28 14:35 Brian Evans [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-08 16:29 [gentoo-commits] repo/gentoo:master commit in: dev-php/phpDocumentor/ Arthur Zamarin
2018-02-20 19:29 Brian Evans
2017-05-28 14:35 Brian Evans
2017-05-28 14:35 Brian Evans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1495981911.9ac97b036d17d01aecebf00b71c9762fc861a725.grknight@gentoo \
--to=grknight@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox