diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-06-14 07:13:30 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-06-14 07:13:30 +0000 |
commit | cee741a0fb0997c946e2957077144d4e9adecf9d (patch) | |
tree | 73f700f8de6f1ed1c024388763a8d9987e1a5b6d /dev-python/flask-mail | |
parent | Initial ebuild based on work by Christopher Friedt & Cody Schafer #426586. (diff) | |
download | gentoo-2-cee741a0fb0997c946e2957077144d4e9adecf9d.tar.gz gentoo-2-cee741a0fb0997c946e2957077144d4e9adecf9d.tar.bz2 gentoo-2-cee741a0fb0997c946e2957077144d4e9adecf9d.zip |
add py3 pypy support, IUSE doc, doc build
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/flask-mail')
-rw-r--r-- | dev-python/flask-mail/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/flask-mail/flask-mail-0.9.0.ebuild | 17 |
2 files changed, 18 insertions, 6 deletions
diff --git a/dev-python/flask-mail/ChangeLog b/dev-python/flask-mail/ChangeLog index 9ca655c3012b..8c231c1ccc14 100644 --- a/dev-python/flask-mail/ChangeLog +++ b/dev-python/flask-mail/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/flask-mail -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-mail/ChangeLog,v 1.1 2013/09/10 06:09:16 patrick Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-mail/ChangeLog,v 1.2 2014/06/14 07:13:30 idella4 Exp $ + + 14 Jun 2014; Ian Delaney <idella4@gentoo.org> flask-mail-0.9.0.ebuild: + add py3 pypy support, IUSE doc, doc build *flask-mail-0.9.0 (10 Sep 2013) diff --git a/dev-python/flask-mail/flask-mail-0.9.0.ebuild b/dev-python/flask-mail/flask-mail-0.9.0.ebuild index 07f80daf69e6..e108d939300b 100644 --- a/dev-python/flask-mail/flask-mail-0.9.0.ebuild +++ b/dev-python/flask-mail/flask-mail-0.9.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-mail/flask-mail-0.9.0.ebuild,v 1.1 2013/09/10 06:09:16 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-mail/flask-mail-0.9.0.ebuild,v 1.2 2014/06/14 07:13:30 idella4 Exp $ EAPI=5 -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) inherit distutils-r1 @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" +IUSE="doc test" RDEPEND="dev-python/flask[${PYTHON_USEDEP}] dev-python/blinker[${PYTHON_USEDEP}]" @@ -29,6 +29,15 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" +python_compile_all() { + use doc && emake -C docs html +} + python_test() { nosetests || die "Testing failed with ${EPYTHON}" } + +python_install_all() { + use doc && HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} |