* [gentoo-commits] gentoo-x86 commit in mail-client/alot: metadata.xml ChangeLog alot-0.3.1.ebuild
@ 2012-05-17 21:31 Amadeusz Zolnowski (aidecoe)
0 siblings, 0 replies; only message in thread
From: Amadeusz Zolnowski (aidecoe) @ 2012-05-17 21:31 UTC (permalink / raw
To: gentoo-commits
aidecoe 12/05/17 21:31:57
Modified: metadata.xml ChangeLog alot-0.3.1.ebuild
Log:
Install the user manual and the API documentation if the 'doc' flag is enabled.
(Portage version: 2.1.10.62/cvs/Linux x86_64)
Revision Changes Path
1.2 mail-client/alot/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alot/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alot/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alot/metadata.xml?r1=1.1&r2=1.2
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-client/alot/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml 26 Dec 2011 17:01:42 -0000 1.1
+++ metadata.xml 17 May 2012 21:31:57 -0000 1.2
@@ -5,6 +5,9 @@
<email>aidecoe@gentoo.org</email>
<name>Amadeusz Żołnowski</name>
</maintainer>
+ <use>
+ <flag name="doc">Install user manual and API documentation</flag>
+ </use>
<longdescription lang="en">
Alot is a terminal interface for <pkg>net-mail/notmuch</pkg> mail
written in Python using the <pkg>dev-python/urwid</pkg> toolkit.
1.7 mail-client/alot/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alot/ChangeLog?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alot/ChangeLog?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alot/ChangeLog?r1=1.6&r2=1.7
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-client/alot/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ChangeLog 17 May 2012 21:00:03 -0000 1.6
+++ ChangeLog 17 May 2012 21:31:57 -0000 1.7
@@ -1,6 +1,11 @@
# ChangeLog for mail-client/alot
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/alot/ChangeLog,v 1.6 2012/05/17 21:00:03 aidecoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/alot/ChangeLog,v 1.7 2012/05/17 21:31:57 aidecoe Exp $
+
+ 17 May 2012; Amadeusz Żołnowski <aidecoe@gentoo.org> alot-0.3.1.ebuild,
+ metadata.xml:
+ Install the user manual and the API documentation if the 'doc' flag is
+ enabled.
*alot-0.3.1 (17 May 2012)
1.2 mail-client/alot/alot-0.3.1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alot/alot-0.3.1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alot/alot-0.3.1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/alot/alot-0.3.1.ebuild?r1=1.1&r2=1.2
Index: alot-0.3.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-client/alot/alot-0.3.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- alot-0.3.1.ebuild 17 May 2012 21:00:03 -0000 1.1
+++ alot-0.3.1.ebuild 17 May 2012 21:31:57 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/alot/alot-0.3.1.ebuild,v 1.1 2012/05/17 21:00:03 aidecoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/alot/alot-0.3.1.ebuild,v 1.2 2012/05/17 21:31:57 aidecoe Exp $
EAPI=4
@@ -17,7 +17,7 @@
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="doc"
DEPEND=""
RDEPEND="
@@ -39,6 +39,24 @@
done
}
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ pushd docs || die
+ emake html
+ popd || die
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r docs/build/html/*
+ fi
+}
+
pkg_postinst() {
ewarn "Versioning scheme has been corrected. Previous 0.21 is 0.2.1 now."
echo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-17 21:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17 21:31 [gentoo-commits] gentoo-x86 commit in mail-client/alot: metadata.xml ChangeLog alot-0.3.1.ebuild Amadeusz Zolnowski (aidecoe)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox