summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2011-10-08 19:13:50 +0000
committerMike Gilbert <floppym@gentoo.org>2011-10-08 19:13:50 +0000
commitd22ac133a27a798229439665cf0de595f6b0ac44 (patch)
tree353b9bf0341d22b8f7f42595335b7b4c4081ca6f /dev-python/flask
parentpngcrush use bundled libpng 1.4, because it doesn't compile against (diff)
downloadhistorical-d22ac133a27a798229439665cf0de595f6b0ac44.tar.gz
historical-d22ac133a27a798229439665cf0de595f6b0ac44.tar.bz2
historical-d22ac133a27a798229439665cf0de595f6b0ac44.zip
Fix compilation with py2.5; thanks to Arfrever catching this.
Package-Manager: portage-2.2.0_alpha64/cvs/Linux x86_64
Diffstat (limited to 'dev-python/flask')
-rw-r--r--dev-python/flask/ChangeLog5
-rw-r--r--dev-python/flask/Manifest10
-rw-r--r--dev-python/flask/flask-0.8.ebuild10
3 files changed, 18 insertions, 7 deletions
diff --git a/dev-python/flask/ChangeLog b/dev-python/flask/ChangeLog
index b0507f0cbe94..48e1d09eb26b 100644
--- a/dev-python/flask/ChangeLog
+++ b/dev-python/flask/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/flask
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.10 2011/10/08 17:37:12 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.11 2011/10/08 19:13:50 floppym Exp $
+
+ 08 Oct 2011; Mike Gilbert <floppym@gentoo.org> flask-0.8.ebuild:
+ Fix compilation with py2.5; thanks to Arfrever catching this.
08 Oct 2011; Mike Gilbert <floppym@gentoo.org> flask-0.7.2.ebuild,
flask-0.8.ebuild:
diff --git a/dev-python/flask/Manifest b/dev-python/flask/Manifest
index 181db201a53e..4c3ae01c6e6b 100644
--- a/dev-python/flask/Manifest
+++ b/dev-python/flask/Manifest
@@ -6,13 +6,13 @@ DIST Flask-0.7.2.tar.gz 469996 RMD160 60dd15a45e4d8a3ba49564c0a5acc02877dafa6f S
DIST Flask-0.8.tar.gz 494211 RMD160 efd18f0b3bcbb577bc1ba9a10bfbcdce3588f558 SHA1 c524c43be96e439029e483a1fcc7dcca60917301 SHA256 937504fc2ae59c44f2181be139733190ed98c51a00adbb6013873692e90b06c9
EBUILD flask-0.6.1.ebuild 1486 RMD160 6ebbf88905e5472fe8f09c46c8d26e7c5e42126f SHA1 908b281d493cd9e3a26dd75586c2b71dcf4e86b8 SHA256 632487d635a2c16d616061b1f87d2cf8c8534ea185e4e3a42aeea029cb8d0729
EBUILD flask-0.7.2.ebuild 1493 RMD160 e7779361ef18c533cab8c8a0640a65e8c0ef86eb SHA1 d23ede1eedbe6758aba9ecaa26d11fbbc71667e1 SHA256 b5213a54051d4305e9e27b2c859a9b583628c815c9cc1bf4ed1f8b4cd4804f14
-EBUILD flask-0.8.ebuild 1483 RMD160 cb45f3be634051ce34501808a372a03e8eb1f1d2 SHA1 e49d2a47482c53b6ad2661f696247b8ea1eb812b SHA256 de35e3ebc9103d68e654341124c9824fd8897b5f961751becf268c491c9cdca5
-MISC ChangeLog 1679 RMD160 a182be1f6345c638a2f1202c3a775fc73b22ae26 SHA1 2a4ed0968fe0f5376d1c89aef53b0136feb850ae SHA256 0ca115c98cb9024bff9fbcec063f137f1879090860fa0c779e82a0af1643ec80
+EBUILD flask-0.8.ebuild 1787 RMD160 e60cd9d4cdf09ba6f2fb8b08cfc62cd42cd0b2d0 SHA1 8f17fd528054e6b308f0ccb11ed6b6aae083b657 SHA256 35a8907c25abb51f16963f443898c049f8e712eff28f2ae5281265e2b6c19321
+MISC ChangeLog 1811 RMD160 33affc389bc477b1c0a52ed909408f0fcf6aed78 SHA1 d9cab8f5e2eb0287de0024cfdc5c9a9459f52fc6 SHA256 f175e91ee396e3972cd845bb5b37e72fa34c007bb8d0467544a116ab640bf698
MISC metadata.xml 161 RMD160 295dca78d1e997a333dcf54b6084afa5298b28fa SHA1 01db574d7072c1e555e182f88e889d11d3ae49bc SHA256 54c4e6d783f2571466c7b03622195c255b95cf06209e59ab6653a6366cdfde6e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk6QilIACgkQC77qH+pIQ6SLMwD/QyzXcM5zW25hLf3cby6WNXf7
-fg5rwFrgLSsAqhkEodsA/3U6Ao73Bdz9nSQ63+Jt10Y6bNPf3SEN69cyRPFUlq81
-=MUv7
+iF4EAREIAAYFAk6QoPYACgkQC77qH+pIQ6SNVAD6Aybg+CMEQjMLedvpQEe9Ejss
+NHN0anr12KflTPI+P6ABALy5BKJVeO+f+ZVapGptH4iZSms0SRVbK8uIpDVUN/a7
+=xJMS
-----END PGP SIGNATURE-----
diff --git a/dev-python/flask/flask-0.8.ebuild b/dev-python/flask/flask-0.8.ebuild
index 8c39975fa74b..04219ce629ae 100644
--- a/dev-python/flask/flask-0.8.ebuild
+++ b/dev-python/flask/flask-0.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.8.ebuild,v 1.2 2011/10/08 17:37:12 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.8.ebuild,v 1.3 2011/10/08 19:13:50 floppym Exp $
EAPI="3"
PYTHON_DEPEND="2:2.5"
@@ -30,6 +30,14 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
+src_prepare() {
+ distutils_src_prepare
+
+ # Fixed an issue with an unused module for Python 2.5 (flask.session)
+ # https://github.com/mitsuhiko/flask/commit/0dd9dc37b6618b8091c2a0f849f5f3143dc6eafc
+ sed -e "s/\(from .sessions import\).*/\1 SecureCookieSession, NullSession/" -i flask/session.py || die
+}
+
src_compile() {
distutils_src_compile