diff options
author | 2013-08-16 09:07:57 +0000 | |
---|---|---|
committer | 2013-08-16 09:07:57 +0000 | |
commit | 1787d2cf6803a3095423677a5663c5d39838e993 (patch) | |
tree | 01a6f03b9690306c988db9facd604699220563b4 /dev-python/flask/files | |
parent | Bump (diff) | |
download | historical-1787d2cf6803a3095423677a5663c5d39838e993.tar.gz historical-1787d2cf6803a3095423677a5663c5d39838e993.tar.bz2 historical-1787d2cf6803a3095423677a5663c5d39838e993.zip |
revbump; Re-set test phase, patch from upstream (issues/487) impacting flask-script
Package-Manager: portage-2.1.11.63/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/flask/files')
-rw-r--r-- | dev-python/flask/files/flask-0.10.1-is_package.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/flask/files/flask-0.10.1-is_package.patch b/dev-python/flask/files/flask-0.10.1-is_package.patch new file mode 100644 index 000000000000..611d931d502f --- /dev/null +++ b/dev-python/flask/files/flask-0.10.1-is_package.patch @@ -0,0 +1,13 @@ +https://github.com/mitsuhiko/flask/issues/487 +diff -ur Flask-0.10.1.orig/flask/helpers.py Flask-0.10.1/flask/helpers.py +--- flask/helpers.py 2013-06-14 06:35:43.000000000 +0800 ++++ flask/helpers.py 2013-08-16 16:18:36.194006290 +0800 +@@ -679,7 +679,7 @@ + filename = sys.modules[import_name].__file__ + package_path = os.path.abspath(os.path.dirname(filename)) + # package_path ends with __init__.py for a package +- if loader.is_package(root_mod_name): ++ if package_path.endswith('__init__.py'): + package_path = os.path.dirname(package_path) + + site_parent, site_folder = os.path.split(package_path) |