From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Text_Figlet/
Date: Sun, 8 Jan 2017 21:23:02 +0000 (UTC) [thread overview]
Message-ID: <1483910364.daa4e363de35674dd6a814ae176799e42d26ee93.mjo@gentoo> (raw)
commit: daa4e363de35674dd6a814ae176799e42d26ee93
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 8 21:19:06 2017 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> 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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>php-bugs@gentoo.org</email>
- <name>PHP</name>
- </maintainer>
+ <maintainer type="project">
+ <email>php-bugs@gentoo.org</email>
+ <name>PHP</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pear/Text_Figlet</remote-id>
+ </upstream>
</pkgmetadata>
next reply other threads:[~2017-01-08 21:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-08 21:23 Michael Orlitzky [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-02-09 14:37 [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Text_Figlet/ Agostino Sarubbo
2017-02-09 18:13 Michael Orlitzky
2017-02-09 18:13 Michael Orlitzky
2019-03-20 20:27 Aaron Bauman
2020-02-08 18:55 David Seifert
2024-07-11 18:47 Viorel Munteanu
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=1483910364.daa4e363de35674dd6a814ae176799e42d26ee93.mjo@gentoo \
--to=mjo@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