From e874b1669def3421c48497039feb4afac6b57101 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 11 Oct 2011 15:18:29 +0000 Subject: [PATCH] Version bump mako to 0.5.0. Package-Manager: portage-2.1.10.24/cvs/Linux x86_64 --- dev-python/mako/ChangeLog | 7 +++- dev-python/mako/Manifest | 10 +++--- dev-python/mako/mako-0.5.0.ebuild | 55 +++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 5 deletions(-) create mode 100644 dev-python/mako/mako-0.5.0.ebuild diff --git a/dev-python/mako/ChangeLog b/dev-python/mako/ChangeLog index 0f877cc1af68..b5742d227244 100644 --- a/dev-python/mako/ChangeLog +++ b/dev-python/mako/ChangeLog @@ -1,6 +1,11 @@ # 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.41 2011/09/09 08:53:07 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.42 2011/10/11 15:18:29 djc Exp $ + +*mako-0.5.0 (11 Oct 2011) + + 11 Oct 2011; Dirkjan Ochtman +mako-0.5.0.ebuild: + Version bump to 0.5.0. *mako-0.4.2 (09 Sep 2011) diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest index 22c741fdaa0e..941be21f1591 100644 --- a/dev-python/mako/Manifest +++ b/dev-python/mako/Manifest @@ -3,14 +3,16 @@ Hash: SHA512 DIST Mako-0.4.1.tar.gz 317306 RMD160 cdd3cb92a86b0fc67346c3ed06ade077d12cbd20 SHA1 a4e30660794aab5224e0c776d03c45f3c8b5fa7e SHA256 c282a6bb1c15571e1bc1612df58e6b5bb8d3d7c57169e641434bb50d303af6e9 DIST Mako-0.4.2.tar.gz 317823 RMD160 a7263ef10a2ee5cf5dc17c16af289759e63733ba SHA1 5d2056553910b033ac50357b94d4dc2d510d0cde SHA256 3751a1a3fde4f3eaaa7037a491cb4f5d40d85ab882e4dabc094085c5deada423 +DIST Mako-0.5.0.tar.gz 318696 RMD160 cf63844bbe64b025c3f26975fad1734bda6155fb SHA1 4bb85b58ccf947ce68418a446a38a753e90ce923 SHA256 c51faaa40f7a03a19c6bdd9bd1fa9495f6dd40141294e082d4267fccb54ea1ad EBUILD mako-0.4.1.ebuild 1273 RMD160 e0b03d4db39e386b1f8afc4363dc8491376c6cba SHA1 c06bb8afd07c926ac578c7750319bc7b9a33312a SHA256 d50b8509c79a4554cf3497f2a0ce38464089114c6862bdcf0fc978bdbcb18a2f EBUILD mako-0.4.2.ebuild 1269 RMD160 7651ccfc373472104fa0c73bffe7a5c4e22280fc SHA1 8c35f95f765be6dcd9d9d7ff733e07d36f1cce39 SHA256 482cfee17577a097b1e57a3894efff1a7297120f76fe55dfc9491a6e682572aa -MISC ChangeLog 5045 RMD160 29c6d38d5c1b1584e1cc33c56060ec2685f296c4 SHA1 5668e29ed71a3544a7a18740e850448b8487824f SHA256 1bbe986cb8de4074f9b3a053ab690d1879f6fe709ccda5d3a10bedfe7637e25a +EBUILD mako-0.5.0.ebuild 1269 RMD160 cda7431e7efaa14c80b5bd064f7201260c8aa1e4 SHA1 4a2c5f28f7d48f7190f7d34548fef7063cec123d SHA256 eb64a4bdaa9a46237dcdf23c93998aaad168bc7b6df1ee1aa5d9cfd3a94504a3 +MISC ChangeLog 5166 RMD160 93c409680250ccf7ea7f3b910ecebd29cc034aa7 SHA1 67aa98eb18adfe31ee52229ab1ac4a0634245dc1 SHA256 f230857cb57f56ff33aa0faa9baead8a3f68637d5a0ea27b21b55c78dbc63f9d MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREKAAYFAk5p1AMACgkQxeMuLWsGW/sc2QCghVr616FW0kRETEHktxYacV// -QhkAnAtpJxr/cuorBsYCrhaGWzkIYnM3 -=l1Kt +iEYEAREKAAYFAk6UXk4ACgkQxeMuLWsGW/seGgCfbPgq7VSD0KjZPX11CtThKeAw +vOoAmwRhXVwRUfJuvtuy7PC0g85KuSgx +=lhfM -----END PGP SIGNATURE----- diff --git a/dev-python/mako/mako-0.5.0.ebuild b/dev-python/mako/mako-0.5.0.ebuild new file mode 100644 index 000000000000..ae6045bfc794 --- /dev/null +++ b/dev-python/mako/mako-0.5.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.5.0.ebuild,v 1.1 2011/10/11 15:18:29 djc 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 +} -- 2.26.2