summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2012-05-17 21:31:57 +0000
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2012-05-17 21:31:57 +0000
commit5207b3ccd10b3f9087be97dd66b485f390b89905 (patch)
tree36dd68b33a59d68f5ec1b212abfd62984f4a7aba /mail-client/alot
parentVersion bump. (diff)
downloadhistorical-5207b3ccd10b3f9087be97dd66b485f390b89905.tar.gz
historical-5207b3ccd10b3f9087be97dd66b485f390b89905.tar.bz2
historical-5207b3ccd10b3f9087be97dd66b485f390b89905.zip
Install the user manual and the API documentation if the 'doc' flag is enabled.
Package-Manager: portage-2.1.10.62/cvs/Linux x86_64
Diffstat (limited to 'mail-client/alot')
-rw-r--r--mail-client/alot/ChangeLog7
-rw-r--r--mail-client/alot/Manifest20
-rw-r--r--mail-client/alot/alot-0.3.1.ebuild22
-rw-r--r--mail-client/alot/metadata.xml3
4 files changed, 39 insertions, 13 deletions
diff --git a/mail-client/alot/ChangeLog b/mail-client/alot/ChangeLog
index 443cc759f619..ed8a8a63ae00 100644
--- a/mail-client/alot/ChangeLog
+++ b/mail-client/alot/ChangeLog
@@ -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)
diff --git a/mail-client/alot/Manifest b/mail-client/alot/Manifest
index dde2edefdb9d..092da009a6ab 100644
--- a/mail-client/alot/Manifest
+++ b/mail-client/alot/Manifest
@@ -5,18 +5,18 @@ DIST alot-0.21.tar.gz 926652 RMD160 658cf7db118b4d74b27b172e7bf13fd9b41113ef SHA
DIST alot-0.3.1.tar.gz 108878 RMD160 e07cf52ac3e4cb8a2c8fe4a43055397dee1dad03 SHA1 61c1b13981d79b75402a66fcf6fd2978e4516da2 SHA256 35f43bd7e122929889f07ad7b2bf435da753e8ae25aa46dc381835238ae4d9aa
DIST alot-0.3.tar.gz 102196 RMD160 9e0646e84dcfc2175c42ab8ecaaf37f840991f2d SHA1 af358ef80ae96fdd00756923854363ba0348c082 SHA256 782beb25e12400e8af43ac5b9a72908cf459051ffd54da127d74851e3fbc8abf
EBUILD alot-0.2.1-r1.ebuild 1049 RMD160 e3b64382f3fb381ec24d4482b636fa9ff3d006d9 SHA1 5882fcf69b34532b313bd5b93494193715132f0a SHA256 f15fcae380c4c8cfc345a00fa2b67434f2f801139f477ebb9c56ea3e06079462
-EBUILD alot-0.3.1.ebuild 1182 RMD160 d8cc125053bb9cfdfba96fadb9b2d6510ce54391 SHA1 ec754ed3be3e21b484c43f34203517471627781c SHA256 2ae771d79224748ca670ddf696489d15823d7456e4f2e7b23b7ec663deecbd50
+EBUILD alot-0.3.1.ebuild 1392 RMD160 b61c052dc6cbafa564a9e8c6adca8bcd41a1f29f SHA1 fe2aaf803f96a40c5283db150c384c5a54f5f4c0 SHA256 bb4913e56867e4a642e1fe8a14e11ea318f7d712a5adbc3d250cf381ec319616
EBUILD alot-0.3.ebuild 1236 RMD160 f00a7f13486fd37ca258198f85009f29b49a345c SHA1 55614d46c669df922844f8ee09b508c5f997d5da SHA256 3515a7163d772d8194e0441b07a4476fcd194bc749fbe2cc85c83e2c82bc71c5
-MISC ChangeLog 2563 RMD160 644178d9c9fc8370d6f7533ffa5d33b378ae231b SHA1 a1f0172784556cd1fb76347c4fab8de2fa3061ff SHA256 dcd8f134a2ad4fea979799de7afe55ec55cacb10a931ea73beab802101f3a058
-MISC metadata.xml 425 RMD160 1faf52eb4b6b6751826f7a9b6f2d580d41d61f11 SHA1 6b54540bd375b1a65f3fd1c897c7776303ca3a0b SHA256 a861da9177cee448f0721ad2d523515dd45561e3c4f9c6f034a8e621f23f42f8
+MISC ChangeLog 2740 RMD160 19e66e73c373024649a4ba628be7a544db0db940 SHA1 35fb7258fdf3ff89f6d68c85d434414b46762530 SHA256 c2f4380607134e61bae4d6bfddd53cdcdafadd22fcabc532e69980deb455f20c
+MISC metadata.xml 508 RMD160 e31531de2d3a36fa6ab9059fc28429ec9b1031d8 SHA1 1550cbfc72e8d047d2fdefa6c159111ed65c1e0a SHA256 0ba17706f6bb083a9b3b43447c1df7ee824ee85ab5dd7e333e7750d12b438edc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBAgAGBQJPtWbZAAoJEPATRTHh2/q1HM0H/0C8jvsFbY54UOkoiL/ERBEI
-vp1VgL8+oDC/MeUaBOiPfsEeEGpPORfFBEkfW/ltjkgbxKArZM1Bqehuh3dW1UmG
-DIBV3jYedZG30KCkF5bJBHrDbOiMa9QYgKcFRsdcopL74axrki5hrZmaE+6ZlO1O
-0jB/rOcz5L1M/hvNZxltwkD79Y4ROL+tv++CWBRleOBngvEsdE6LkR7hcudP/pmx
-6KjBjX6tnq0WHR4KdLOgwOBrvvS4o4Ln7lN1tGIwwo8Y4pGlbcFY1B6NIit5P9iE
-uvaYTgU9aXauxYBbC+bZL5sdZR1pjItVjE/LA7fRycPayRiA38tJtA66PXK0j/w=
-=Fn1l
+iQEcBAEBAgAGBQJPtW5TAAoJEPATRTHh2/q1BVMH/3z4J5PXKGJT9Bxh5ZHBUcEy
+0Ylb6mUCgRo020g+05IN3ZCMM5ZWWqDwpkstBe3nDr66Qa9c8Sf5NJO4EovTRD5L
+GuMfFL9QOl5vYdWWdrHloNR0E8nhF7jfFcy1gxMODLrAziMtxN7nFTPw/0AlEHpC
+APIbQzyTPMiVRUa4rwaobBVo96Rt+V8Mvonl6IO01HVorWlJWzlueUT91ptEIbZb
+JKBexQlmepLNUnrBKNI+GBFoZaORUV57MFTCV3X5A/OAtcg0wygAZNnPteJXG4kv
+4JiHyDzlILBgE03DcrATQiqNxr7je2apuGw+4avid7iod+bqwT5Tk7Dzxtk11y8=
+=jmNC
-----END PGP SIGNATURE-----
diff --git a/mail-client/alot/alot-0.3.1.ebuild b/mail-client/alot/alot-0.3.1.ebuild
index 3b8d448e824c..b55a6e3ffb99 100644
--- a/mail-client/alot/alot-0.3.1.ebuild
+++ b/mail-client/alot/alot-0.3.1.ebuild
@@ -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 @@ SRC_URI="${HOMEPAGE}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="doc"
DEPEND=""
RDEPEND="
@@ -39,6 +39,24 @@ src_prepare() {
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
diff --git a/mail-client/alot/metadata.xml b/mail-client/alot/metadata.xml
index f10e8a4e2f3f..ac72fd897f72 100644
--- a/mail-client/alot/metadata.xml
+++ b/mail-client/alot/metadata.xml
@@ -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.