[Python-modules-commits] [routes] 01/08: Import routes_2.4.1.orig.tar.gz

Piotr Ożarowski piotr at moszumanska.debian.org
Thu Jul 20 18:42:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

piotr pushed a commit to branch master
in repository routes.

commit c7c6c1dfaf242d990aebdabc58586d54e5b444b9
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Thu Jul 20 20:34:34 2017 +0200

    Import routes_2.4.1.orig.tar.gz
---
 CHANGELOG.rst                |  7 +++++++
 PKG-INFO                     | 11 +++++++++--
 Routes.egg-info/PKG-INFO     | 11 +++++++++--
 Routes.egg-info/requires.txt |  2 +-
 docs/conf.py                 |  6 +++---
 routes/mapper.py             |  2 +-
 routes/middleware.py         |  4 ++--
 routes/route.py              |  1 -
 setup.cfg                    |  7 +++++++
 setup.py                     |  4 ++--
 10 files changed, 41 insertions(+), 14 deletions(-)

diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index bde71f9..c6271cd 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,6 +1,13 @@
 Routes Changelog
 %%%%%%%%%%%%%%%%
 
+Release 2.4.0 (January 1, 2017)
+===============================
+
+* Release as a universal wheel. PR #75.
+* Convert readthedocs links for their .org -> .io migration for hosted projects. PR #67.
+
+
 Release 2.3.1 (March 30, 2016)
 ==============================
 * Backwards compatability fix - connect should work with mandatory
diff --git a/PKG-INFO b/PKG-INFO
index 8f24e00..35d4435 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,8 +1,8 @@
 Metadata-Version: 1.1
 Name: Routes
-Version: 2.3.1
+Version: 2.4.1
 Summary: Routing Recognition and Generation Tools
-Home-page: http://routes.readthedocs.org/
+Home-page: https://routes.readthedocs.io/
 Author: Ben Bangert
 Author-email: ben at groovie.org
 License: MIT
@@ -24,6 +24,13 @@ Description: Routes is a Python re-implementation of the Rails routes system for
         Routes Changelog
         %%%%%%%%%%%%%%%%
         
+        Release 2.4.0 (January 1, 2017)
+        ===============================
+        
+        * Release as a universal wheel. PR #75.
+        * Convert readthedocs links for their .org -> .io migration for hosted projects. PR #67.
+        
+        
         Release 2.3.1 (March 30, 2016)
         ==============================
         * Backwards compatability fix - connect should work with mandatory
diff --git a/Routes.egg-info/PKG-INFO b/Routes.egg-info/PKG-INFO
index 8f24e00..35d4435 100644
--- a/Routes.egg-info/PKG-INFO
+++ b/Routes.egg-info/PKG-INFO
@@ -1,8 +1,8 @@
 Metadata-Version: 1.1
 Name: Routes
-Version: 2.3.1
+Version: 2.4.1
 Summary: Routing Recognition and Generation Tools
-Home-page: http://routes.readthedocs.org/
+Home-page: https://routes.readthedocs.io/
 Author: Ben Bangert
 Author-email: ben at groovie.org
 License: MIT
@@ -24,6 +24,13 @@ Description: Routes is a Python re-implementation of the Rails routes system for
         Routes Changelog
         %%%%%%%%%%%%%%%%
         
+        Release 2.4.0 (January 1, 2017)
+        ===============================
+        
+        * Release as a universal wheel. PR #75.
+        * Convert readthedocs links for their .org -> .io migration for hosted projects. PR #67.
+        
+        
         Release 2.3.1 (March 30, 2016)
         ==============================
         * Backwards compatability fix - connect should work with mandatory
diff --git a/Routes.egg-info/requires.txt b/Routes.egg-info/requires.txt
index d0f9970..6189657 100644
--- a/Routes.egg-info/requires.txt
+++ b/Routes.egg-info/requires.txt
@@ -2,4 +2,4 @@ six
 repoze.lru>=0.3
 
 [middleware]
-webob
\ No newline at end of file
+webob
diff --git a/docs/conf.py b/docs/conf.py
index 467a6be..0419479 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -36,15 +36,15 @@ master_doc = 'index'
 
 # General substitutions.
 project = 'Routes'
-copyright = '2005-2016, Ben Bangert, Mike Orr, and numerous contributers'
+copyright = '2005-2017, Ben Bangert, Mike Orr, and numerous contributers'
 
 # The default replacements for |version| and |release|, also used in various
 # other places throughout the built documents.
 #
 # The short X.Y version.
-version = '2.3'
+version = '2.4'
 # The full version, including alpha/beta/rc tags.
-release = '2.3.1'
+release = '2.4.1'
 
 # There are two options for replacing |today|: either, you set today to some
 # non-false value, then it is used:
diff --git a/routes/mapper.py b/routes/mapper.py
index 48bba45..eb4060a 100644
--- a/routes/mapper.py
+++ b/routes/mapper.py
@@ -1230,7 +1230,7 @@ class Mapper(SubMapperParent):
         Example::
 
             map = Mapper()
-            map.redirect('/legacyapp/archives/{url:.*}, '/archives/{url})
+            map.redirect('/legacyapp/archives/{url:.*}', '/archives/{url}')
             map.redirect('/home/index', '/',
                          _redirect_code='301 Moved Permanently')
 
diff --git a/routes/middleware.py b/routes/middleware.py
index 885b9d9..ba51ae3 100644
--- a/routes/middleware.py
+++ b/routes/middleware.py
@@ -5,7 +5,7 @@ import logging
 from webob import Request
 
 from routes.base import request_config
-from routes.util import URLGenerator, url_for
+from routes.util import URLGenerator
 
 log = logging.getLogger('routes.middleware')
 
@@ -13,7 +13,7 @@ log = logging.getLogger('routes.middleware')
 class RoutesMiddleware(object):
     """Routing middleware that handles resolving the PATH_INFO in
     addition to optionally recognizing method overriding.
-    
+
     .. Note::
         This module requires webob to be installed. To depend on it, you may
         list routes[middleware] in your ``requirements.txt``
diff --git a/routes/route.py b/routes/route.py
index ef8810c..860a911 100644
--- a/routes/route.py
+++ b/routes/route.py
@@ -1,6 +1,5 @@
 import re
 import sys
-from six.moves import urllib
 if sys.version < '2.4':
     from sets import ImmutableSet as frozenset
 
diff --git a/setup.cfg b/setup.cfg
index 21f996d..1e00d59 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,3 +1,10 @@
+[aliases]
+clean_egg_info = egg_info -RDb ''
+release = clean_egg_info sdist bdist_wheel
+
+[bdist_wheel]
+universal = 1
+
 [egg_info]
 tag_build = 
 tag_date = 0
diff --git a/setup.py b/setup.py
index c20dd4d..4255f6d 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-__version__ = '2.3.1'
+__version__ = '2.4.1'
 
 import io
 import os
@@ -47,7 +47,7 @@ setup(name="Routes",
       keywords='routes webob dispatch',
       author="Ben Bangert",
       author_email="ben at groovie.org",
-      url='http://routes.readthedocs.org/',
+      url='https://routes.readthedocs.io/',
       license="MIT",
       test_suite="nose.collector",
       include_package_data=True,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/routes.git



More information about the Python-modules-commits mailing list