summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2012-05-17 21:40:44 +0000
committerAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2012-05-17 21:40:44 +0000
commit5e1bbe65e41a8317ef07c3b76090be526e0701ab (patch)
treed1467c198fe633cd6a2622ddd1cc32e33891a8f3 /mail-client/alot
parentRemoved old version. (diff)
downloadgentoo-2-5e1bbe65e41a8317ef07c3b76090be526e0701ab.tar.gz
gentoo-2-5e1bbe65e41a8317ef07c3b76090be526e0701ab.tar.bz2
gentoo-2-5e1bbe65e41a8317ef07c3b76090be526e0701ab.zip
Synced back changes in 0.3.1 to 0.3.
(Portage version: 2.1.10.62/cvs/Linux x86_64)
Diffstat (limited to 'mail-client/alot')
-rw-r--r--mail-client/alot/ChangeLog5
-rw-r--r--mail-client/alot/alot-0.3.ebuild29
2 files changed, 26 insertions, 8 deletions
diff --git a/mail-client/alot/ChangeLog b/mail-client/alot/ChangeLog
index efdd91c78ac2..48b28a22a492 100644
--- a/mail-client/alot/ChangeLog
+++ b/mail-client/alot/ChangeLog
@@ -1,6 +1,9 @@
# 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.8 2012/05/17 21:36:59 aidecoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/alot/ChangeLog,v 1.9 2012/05/17 21:40:44 aidecoe Exp $
+
+ 17 May 2012; Amadeusz Żołnowski <aidecoe@gentoo.org> alot-0.3.ebuild:
+ Synced back changes in 0.3.1 to 0.3.
17 May 2012; Amadeusz Żołnowski <aidecoe@gentoo.org> -alot-0.2.1-r1.ebuild:
Removed old version.
diff --git a/mail-client/alot/alot-0.3.ebuild b/mail-client/alot/alot-0.3.ebuild
index f0396158babf..90796a84f860 100644
--- a/mail-client/alot/alot-0.3.ebuild
+++ b/mail-client/alot/alot-0.3.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.ebuild,v 1.2 2012/03/25 08:33:46 aidecoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/alot/alot-0.3.ebuild,v 1.3 2012/05/17 21:40:44 aidecoe Exp $
EAPI=4
@@ -8,19 +8,16 @@ PYTHON_DEPEND="2:2.7"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.[456] 3.*"
-inherit distutils vcs-snapshot versionator
-
-MY_PV=$(replace_version_separator 2 '')
-MY_P="${PN}-${MY_PV}"
+inherit distutils vcs-snapshot
DESCRIPTION="Experimental terminal UI for net-mail/notmuch written in Python"
HOMEPAGE="https://github.com/pazz/alot"
-SRC_URI="${HOMEPAGE}/tarball/${MY_PV} -> ${MY_P}.tar.gz"
+SRC_URI="${HOMEPAGE}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="doc"
DEPEND=""
RDEPEND="
@@ -41,6 +38,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