diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-11-15 00:48:40 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-11-15 00:48:40 +0000 |
commit | c35631497aa9171d5ebfaa8f65f9806807950baf (patch) | |
tree | 6a1a4bc3d62cc066ad6b0280610a52b03502f11a /dev-python/mako | |
parent | x86 stable per bug 345267 (diff) | |
download | gentoo-2-c35631497aa9171d5ebfaa8f65f9806807950baf.tar.gz gentoo-2-c35631497aa9171d5ebfaa8f65f9806807950baf.tar.bz2 gentoo-2-c35631497aa9171d5ebfaa8f65f9806807950baf.zip |
Version bump.
(Portage version: 2.2.0_alpha4_p23/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/mako')
-rw-r--r-- | dev-python/mako/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/mako/mako-0.3.6.ebuild | 57 |
2 files changed, 64 insertions, 1 deletions
diff --git a/dev-python/mako/ChangeLog b/dev-python/mako/ChangeLog index 6fd2b89f2529..e4c148cfc442 100644 --- a/dev-python/mako/ChangeLog +++ b/dev-python/mako/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/mako # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.26 2010/10/23 20:06:05 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.27 2010/11/15 00:48:40 arfrever Exp $ + +*mako-0.3.6 (15 Nov 2010) + + 15 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +mako-0.3.6.ebuild: + Version bump. *mako-0.3.5 (23 Oct 2010) diff --git a/dev-python/mako/mako-0.3.6.ebuild b/dev-python/mako/mako-0.3.6.ebuild new file mode 100644 index 000000000000..1d5fce730198 --- /dev/null +++ b/dev-python/mako/mako-0.3.6.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/mako-0.3.6.ebuild,v 1.1 2010/11/15 00:48:40 arfrever Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_P="Mako-${PV}" + +DESCRIPTION="A Python templating language" +HOMEPAGE="http://www.makotemplates.org/ http://pypi.python.org/pypi/Mako" +SRC_URI="http://www.makotemplates.org/downloads/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="doc test" + +RDEPEND=">=dev-python/beaker-1.1 + >=dev-python/markupsafe-0.9.2" +DEPEND="${RDEPEND} + dev-python/setuptools + test? ( dev-python/nose )" + +S="${WORKDIR}/${MY_P}" + +DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" + +src_prepare() { + distutils_src_prepare + + 2to3_conversion() { + [[ "${PYTHON_ABI}" == 2.* ]] && return + 2to3-${PYTHON_ABI} -n -w --no-diffs mako + } + python_execute_function -s 2to3_conversion +} + +src_test() { + testing() { + [[ "${PYTHON_ABI}" == 3.* ]] && return + PYTHONPATH="build/lib" nosetests + } + python_execute_function -s testing +} + +src_install() { + distutils_src_install + + if use doc; then + pushd doc > /dev/null + dohtml -r *.html *.js _static || die "Installation of documentation failed" + popd > /dev/null + fi +} |