summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-04-15 04:47:26 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-04-15 04:47:26 +0000
commit96c315baee6e705720d0a9f818c08f9a0e4e0fa8 (patch)
treea06a30dfe508f484a06c42f120d1a433d8148d14 /dev-python/mako
parentFix building with gtk+-3.4 (bug #411939, thanks to Ingo Gottwald for reporting). (diff)
downloadhistorical-96c315baee6e705720d0a9f818c08f9a0e4e0fa8.tar.gz
historical-96c315baee6e705720d0a9f818c08f9a0e4e0fa8.tar.bz2
historical-96c315baee6e705720d0a9f818c08f9a0e4e0fa8.zip
Bump for #411573
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'dev-python/mako')
-rw-r--r--dev-python/mako/ChangeLog8
-rw-r--r--dev-python/mako/Manifest15
-rw-r--r--dev-python/mako/files/test-fix.patch11
-rw-r--r--dev-python/mako/mako-0.7.0.ebuild56
4 files changed, 78 insertions, 12 deletions
diff --git a/dev-python/mako/ChangeLog b/dev-python/mako/ChangeLog
index 38be38e86500..662535109e87 100644
--- a/dev-python/mako/ChangeLog
+++ b/dev-python/mako/ChangeLog
@@ -1,6 +1,12 @@
# 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.48 2012/02/24 15:14:56 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.49 2012/04/15 04:47:25 patrick Exp $
+
+*mako-0.7.0 (15 Apr 2012)
+
+ 15 Apr 2012; Patrick Lauer <patrick@gentoo.org> +files/test-fix.patch,
+ +mako-0.7.0.ebuild:
+ Bump for #411573
24 Feb 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> mako-0.5.0.ebuild:
x86 stable wrt bug #403887
diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest
index dd5d29257c6f..f364ceeaf203 100644
--- a/dev-python/mako/Manifest
+++ b/dev-python/mako/Manifest
@@ -1,20 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
+AUX test-fix.patch 432 RMD160 2ba0a00eb470cc64bfa78d3afe3b40f785b45f77 SHA1 9b17e46b905fc02c614f30821fde6e8b6100ab11 SHA256 344aee637baf354951849e979ab4e7e61026b34c2ff0510f3944db7fc78ae6f1
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
DIST Mako-0.6.2.tar.gz 384871 RMD160 eae528f09d917258fcd0d32ef4674dba0e348ed2 SHA1 cd915bf1bf2b6c6f49b4303030016bbbae69e66c SHA256 f47db99cb7b1a43e7add94dff944d9d3229823eea91e9956c335ee93df12b3f3
+DIST Mako-0.7.0.tar.gz 398315 RMD160 1428904d236726decd1f9e95205c29d4428977f1 SHA1 9743c8d90048151c234625219c2ddcd6b201a14c SHA256 2a0acef46ab00d355c668addac08b51712e26741c21f7329de6ce8e8fc229f8e
EBUILD mako-0.4.1.ebuild 1273 RMD160 e0b03d4db39e386b1f8afc4363dc8491376c6cba SHA1 c06bb8afd07c926ac578c7750319bc7b9a33312a SHA256 d50b8509c79a4554cf3497f2a0ce38464089114c6862bdcf0fc978bdbcb18a2f
EBUILD mako-0.4.2.ebuild 1269 RMD160 23b747d4066b5e56d0a08551e69598bd36e6c345 SHA1 e09a16819a5a6320511bf07cd706ed2e8ce8b18a SHA256 f4261261ec480ea21701c0833c47934d4b369706325bd1c11e6dc5bab741be08
EBUILD mako-0.5.0.ebuild 1274 RMD160 8ad119f3cb922c5fb57fcfdbe6da9dfbe3be7182 SHA1 c33fe664de98aad0e0c2c92646cd30327709d9f6 SHA256 09d58e5d22c5efa8fa5c71c3068c550141b7380125c7bfd41f26834d00c981ef
EBUILD mako-0.6.2.ebuild 1269 RMD160 b97c2d9f13667629291a2636cfa0188508870a29 SHA1 bbaf585f18a573e700161b806b6e96263c1f99df SHA256 170970b1d9a72f29b58ed3273b19aa5230df81d9a1927049bc238dadd363fe37
-MISC ChangeLog 5821 RMD160 bc65ab9337a80d7ede9ec582b472e7159a79d91e SHA1 fbd3b13831a4bfd49bcb34546ac13b25657cab94 SHA256 9d3a80f0cd3a5dd52549813e6e580733d1d1ced34a62408ffb5f9d230e2f7a9c
+EBUILD mako-0.7.0.ebuild 1317 RMD160 d779c8755fbd62a021cc6e96d3bf12c91b0fed60 SHA1 467f5720a47d9ae7fc545d5d008a22955921743a SHA256 529ec4841d7f30c10b23c066f6e2561402bb1cca43eebc304d8caa53627551c9
+MISC ChangeLog 5960 RMD160 4b1a0399346d85a2e5fe50c7ccdb9e1833d92665 SHA1 51306ecbe2fbc351b3820a4c836827f0c864c3b1 SHA256 affe8d18d702695ebd8faf899e86f201dca6794faadcfffb152c0ae704991e8d
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEAREKAAYFAk9HqXYACgkQuUQtlDBCeQLXwwCeNYmLAmAGbdI89rsgxFopifv1
-SMsAnimflObKyOMKoxsqn4Qagw4C4cua
-=Rw69
------END PGP SIGNATURE-----
diff --git a/dev-python/mako/files/test-fix.patch b/dev-python/mako/files/test-fix.patch
new file mode 100644
index 000000000000..3792e3e30f5b
--- /dev/null
+++ b/dev-python/mako/files/test-fix.patch
@@ -0,0 +1,11 @@
+diff -ur Mako-0.7.0.orig/test/test_template.py Mako-0.7.0/test/test_template.py
+--- test/test_template.py 2012-03-31 07:52:02.000000000 +0800
++++ test/test_template.py 2012-04-11 20:25:23.797168875 +0800
+@@ -1,5 +1,5 @@
+ # -*- coding: utf-8 -*-
+-
++from __future__ import with_statement
+ from mako.template import Template, ModuleTemplate
+ from mako.lookup import TemplateLookup
+ from mako.ext.preprocessors import convert_comments
+
diff --git a/dev-python/mako/mako-0.7.0.ebuild b/dev-python/mako/mako-0.7.0.ebuild
new file mode 100644
index 000000000000..10e8db8f0aed
--- /dev/null
+++ b/dev-python/mako/mako-0.7.0.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.0.ebuild,v 1.1 2012/04/15 04:47:25 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 ~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
+}