summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-02-08 14:26:56 +0000
committerUlrich Müller <ulm@gentoo.org>2008-02-08 14:26:56 +0000
commit7e4980aa7627695f984fbd50c22c517344559454 (patch)
tree43809cb9ff0290e90e7de04d25b55a0153ace5a5 /app-emacs/pymacs
parentAdd desktop-wm as backup herd (diff)
downloadgentoo-2-7e4980aa7627695f984fbd50c22c517344559454.tar.gz
gentoo-2-7e4980aa7627695f984fbd50c22c517344559454.tar.bz2
gentoo-2-7e4980aa7627695f984fbd50c22c517344559454.zip
Re-add doc USE flag.
(Portage version: 2.1.4.1)
Diffstat (limited to 'app-emacs/pymacs')
-rw-r--r--app-emacs/pymacs/ChangeLog4
-rw-r--r--app-emacs/pymacs/pymacs-0.23_beta5.ebuild15
2 files changed, 15 insertions, 4 deletions
diff --git a/app-emacs/pymacs/ChangeLog b/app-emacs/pymacs/ChangeLog
index 758cc53dad96..e4916d75632e 100644
--- a/app-emacs/pymacs/ChangeLog
+++ b/app-emacs/pymacs/ChangeLog
@@ -1,13 +1,13 @@
# ChangeLog for app-emacs/pymacs
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/pymacs/ChangeLog,v 1.22 2008/02/08 14:01:22 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/pymacs/ChangeLog,v 1.23 2008/02/08 14:26:56 ulm Exp $
*pymacs-0.23_beta5 (08 Feb 2008)
08 Feb 2008; Ulrich Mueller <ulm@gentoo.org>
+files/0.23_beta5-fix-pytest-nonascii.patch, files/50pymacs-gentoo.el,
+pymacs-0.23_beta5.ebuild:
- Version bump. Beta release without manual and doesn't install contribs.
+ Version bump. Beta release, doesn't install contribs.
26 Jul 2007; Markus Rothe <corsair@gentoo.org> pymacs-0.22-r1.ebuild:
Added ~ppc64; bug #186188
diff --git a/app-emacs/pymacs/pymacs-0.23_beta5.ebuild b/app-emacs/pymacs/pymacs-0.23_beta5.ebuild
index 318dfeed9ca6..cdfb9c52d297 100644
--- a/app-emacs/pymacs/pymacs-0.23_beta5.ebuild
+++ b/app-emacs/pymacs/pymacs-0.23_beta5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/pymacs/pymacs-0.23_beta5.ebuild,v 1.1 2008/02/08 14:01:22 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/pymacs/pymacs-0.23_beta5.ebuild,v 1.2 2008/02/08 14:26:56 ulm Exp $
inherit distutils elisp eutils versionator
@@ -12,7 +12,10 @@ SRC_URI="http://pymacs.progiciels-bpi.ca/archives/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd"
-IUSE=""
+IUSE="doc"
+
+DEPEND="doc? ( dev-python/docutils virtual/latex-base )"
+RDEPEND=""
SITEFILE=50${PN}-gentoo.el
@@ -22,15 +25,23 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PV}-fix-pytest-nonascii.patch
+ ln -s . web
}
src_compile() {
emake || die "emake failed"
elisp-compile pymacs.el || die "elisp-compile failed"
+ if use doc; then
+ emake web/pymacs.pdf || die "emake pymacs.pdf failed"
+ fi
}
src_install() {
elisp_src_install
distutils_src_install
dodoc THANKS
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins pymacs.pdf
+ fi
}