diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-08-24 09:03:10 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-08-24 09:03:10 +0000 |
commit | ed5e522eab02b3a091bce9b6894ffac3e4d2190f (patch) | |
tree | 6849a3ea43f478c901fb0cd574d55cdae1557fed /dev-python/mako | |
parent | Version bump. Supports php 5.4 (diff) | |
download | gentoo-2-ed5e522eab02b3a091bce9b6894ffac3e4d2190f.tar.gz gentoo-2-ed5e522eab02b3a091bce9b6894ffac3e4d2190f.tar.bz2 gentoo-2-ed5e522eab02b3a091bce9b6894ffac3e4d2190f.zip |
Bump
(Portage version: 2.2.0_alpha122/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.7.1.ebuild | 56 |
2 files changed, 62 insertions, 2 deletions
diff --git a/dev-python/mako/ChangeLog b/dev-python/mako/ChangeLog index 1348dda3a004..d93ec4d27814 100644 --- a/dev-python/mako/ChangeLog +++ b/dev-python/mako/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/mako # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.54 2012/08/05 19:12:41 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.55 2012/08/24 09:03:10 patrick Exp $ + +*mako-0.7.1 (24 Aug 2012) + + 24 Aug 2012; Patrick Lauer <patrick@gentoo.org> +mako-0.7.1.ebuild: + Bump 05 Aug 2012; Anthony G. Basile <blueness@gentoo.org> mako-0.7.0.ebuild: Stable arm, bug #427546 @@ -211,4 +216,3 @@ 09 Mar 2008; Alec Warner <antarus@gentoo.org> +metadata.xml, +mako-0.1.10.ebuild: Initial import of mako templating thing - diff --git a/dev-python/mako/mako-0.7.1.ebuild b/dev-python/mako/mako-0.7.1.ebuild new file mode 100644 index 000000000000..24a3f7b9edfe --- /dev/null +++ b/dev-python/mako/mako-0.7.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/mako-0.7.1.ebuild,v 1.1 2012/08/24 09:03:10 patrick Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +DISTUTILS_SRC_TEST="nosetests" + +inherit distutils eutils + +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 ~hppa ~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 + epatch "${FILESDIR}/test-fix.patch" + + 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 +} |