diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-22 01:20:38 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-22 01:20:38 +0000 |
commit | 17fc44c51028ddacbae96e90b7f857f1852bad4d (patch) | |
tree | 00d09d60e8b99ae2a739db4e4835a0f06ef81154 /dev-python/mako | |
parent | Version bump (diff) | |
download | gentoo-2-17fc44c51028ddacbae96e90b7f857f1852bad4d.tar.gz gentoo-2-17fc44c51028ddacbae96e90b7f857f1852bad4d.tar.bz2 gentoo-2-17fc44c51028ddacbae96e90b7f857f1852bad4d.zip |
Version bump.
(Portage version: 2.2.0_alpha24_p18/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.4.0.ebuild | 55 |
2 files changed, 62 insertions, 1 deletions
diff --git a/dev-python/mako/ChangeLog b/dev-python/mako/ChangeLog index 858585193bd6..2a237df08315 100644 --- a/dev-python/mako/ChangeLog +++ b/dev-python/mako/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/mako # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.34 2011/01/07 17:09:23 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.35 2011/02/22 01:20:38 arfrever Exp $ + +*mako-0.4.0 (22 Feb 2011) + + 22 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +mako-0.4.0.ebuild: + Version bump. 07 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> -mako-0.3.4.ebuild, -mako-0.3.5.ebuild: diff --git a/dev-python/mako/mako-0.4.0.ebuild b/dev-python/mako/mako-0.4.0.ebuild new file mode 100644 index 000000000000..54bf88899538 --- /dev/null +++ b/dev-python/mako/mako-0.4.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/mako-0.4.0.ebuild,v 1.1 2011/02/22 01:20:38 arfrever Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +DISTUTILS_SRC_TEST="nosetests" + +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 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="doc" + +RDEPEND=">=dev-python/beaker-1.1 + >=dev-python/markupsafe-0.9.2" +DEPEND="${RDEPEND} + dev-python/setuptools" + +S="${WORKDIR}/${MY_P}" + +DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" + +src_prepare() { + distutils_src_prepare + + 2to3_conversion() { + [[ "${PYTHON_ABI}" == 2.* ]] && return + 2to3-${PYTHON_ABI} -nw --no-diffs test + } + python_execute_function -s 2to3_conversion +} + +src_test() { + distutils_src_test -P -w test +} + +src_install() { + distutils_src_install + + if use doc; then + pushd doc > /dev/null + rm -fr build + insinto /usr/share/doc/${PF}/html + doins -r [a-z]* _static || die "Installation of documentation failed" + popd > /dev/null + fi +} |