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 C4FEE139085 for ; Sun, 8 Jan 2017 21:23:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 152DEE0C45; Sun, 8 Jan 2017 21:23:06 +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 D8BA3E0C45 for ; Sun, 8 Jan 2017 21:23:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 65EEB340EE8 for ; Sun, 8 Jan 2017 21:23:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8759324EE for ; Sun, 8 Jan 2017 21:23:02 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1483910364.daa4e363de35674dd6a814ae176799e42d26ee93.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Text_Figlet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/PEAR-Text_Figlet/PEAR-Text_Figlet-1.0.2-r1.ebuild dev-php/PEAR-Text_Figlet/metadata.xml X-VCS-Directories: dev-php/PEAR-Text_Figlet/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: daa4e363de35674dd6a814ae176799e42d26ee93 X-VCS-Branch: master Date: Sun, 8 Jan 2017 21:23:02 +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: 5be5d4af-1aaf-4acf-947f-fc50109dac26 X-Archives-Hash: cec665480bc8fa67f63e85e7435e17b6 commit: daa4e363de35674dd6a814ae176799e42d26ee93 Author: Michael Orlitzky gentoo org> AuthorDate: Sun Jan 8 21:19:06 2017 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sun Jan 8 21:19:24 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daa4e363 dev-php/PEAR-Text_Figlet: new EAPI=6 revision sans the php-pear-r1 eclass. This new revision updates to EAPI=6, and drops the php-pear-r1 eclass. Dropping an eclass is motivation in itself, but along with that reduction in complexity comes a fix: we now install the documentation and examples in the correct place. Package-Manager: portage-2.3.0 .../PEAR-Text_Figlet-1.0.2-r1.ebuild | 45 ++++++++++++++++++++++ dev-php/PEAR-Text_Figlet/metadata.xml | 11 ++++-- 2 files changed, 52 insertions(+), 4 deletions(-) diff --git a/dev-php/PEAR-Text_Figlet/PEAR-Text_Figlet-1.0.2-r1.ebuild b/dev-php/PEAR-Text_Figlet/PEAR-Text_Figlet-1.0.2-r1.ebuild new file mode 100644 index 00000000..0e720f2 --- /dev/null +++ b/dev-php/PEAR-Text_Figlet/PEAR-Text_Figlet-1.0.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Render text using FIGlet fonts" +HOMEPAGE="http://pear.php.net/package/${MY_PN}" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01 + examples? ( GPL-2+ OFL-1.1 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR" + +S="${WORKDIR}/${MY_P}" + +src_install() { + dodoc docs/README.TXT + + if use examples; then + dodoc -r docs/examples + + # Earlier versions of this ebuild installed this font under + # /usr/share/php/data, which is obviously the wrong place for + # them, but is where we have configured PEAR's data_dir. The + # fonts can be referenced by absolute path, however, and not + # just by name. Since this font is used in the example -- and as + # long as no one expects this *particular* font to work out of + # the box -- installing it with the docs will suffice. + # + # The one consumer of this in the tree is PEAR-Text_CAPTCHA, and + # it loads its fonts using an absolute path. + dodoc fonts/makisupa.flf + fi + + insinto /usr/share/php + doins -r Text +} diff --git a/dev-php/PEAR-Text_Figlet/metadata.xml b/dev-php/PEAR-Text_Figlet/metadata.xml index b86acf6..2a5655b 100644 --- a/dev-php/PEAR-Text_Figlet/metadata.xml +++ b/dev-php/PEAR-Text_Figlet/metadata.xml @@ -1,8 +1,11 @@ - - php-bugs@gentoo.org - PHP - + + php-bugs@gentoo.org + PHP + + + pear/Text_Figlet +