incubator-heraldry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ket...@apache.org
Subject svn commit: r463041 [7/7] - in /incubator/heraldry/libraries/python/openid/trunk: ./ admin/ doc/ examples/ openid/ openid/consumer/ openid/server/ openid/store/ openid/test/
Date Wed, 11 Oct 2006 23:11:50 GMT
Added: incubator/heraldry/libraries/python/openid/trunk/openid/test/trustroot.txt
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/python/openid/trunk/openid/test/trustroot.txt?view=auto&rev=463041
==============================================================================
--- incubator/heraldry/libraries/python/openid/trunk/openid/test/trustroot.txt (added)
+++ incubator/heraldry/libraries/python/openid/trunk/openid/test/trustroot.txt Wed Oct 11
16:11:47 2006
@@ -0,0 +1,130 @@
+========================================
+Trust root parsing checking
+========================================
+
+----------------------------------------
+14: Does not parse
+----------------------------------------
+baz.org
+*.foo.com
+http://*.schtuff.*/
+ftp://foo.com
+ftp://*.foo.com
+http://*.foo.com:80:90/
+foo.*.com
+http://foo.*.com
+http://www.*
+http://*foo.com/
+
+ 
+ 	
+5
+
+----------------------------------------
+16: Insane
+----------------------------------------
+http:///
+http://*/
+https://*/
+http://*.com
+http://*.com/
+https://*.com/
+http://*.com.au/
+http://*.co.uk/
+http://*.foo.notatld/
+https://*.foo.notatld/
+http://*.museum/
+https://*.museum/
+http://www.schtuffcom/
+http://it/
+http://..it/
+http://.it/
+
+----------------------------------------
+18: Sane
+----------------------------------------
+http://*.schtuff.com./
+http://*.schtuff.com/
+http://*.foo.schtuff.com/
+http://*.schtuff.com
+http://www.schtuff.com/
+http://www.schtuff.com./
+http://www.schutff.com
+http://*.this.that.schtuff.com/
+http://*.foo.com/path
+http://*.foo.com/path?action=foo2
+http://x.foo.com/path?action=foo2
+http://x.foo.com/path?action=%3D
+http://localhost:8081/
+http://localhost:8082/?action=openid
+https://foo.com/
+http://kink.fm/should/be/sane
+http://beta.lingu.no/
+http://goathack.livejournal.org:8020/openid/login.bml
+
+========================================
+return_to matching
+========================================
+
+----------------------------------------
+32: matches
+----------------------------------------
+http://*/                             http://cnn.com/
+http://*/                             http://livejournal.com/
+http://*/                             http://met.museum/
+http://*:8081/                        http://met.museum:8081/
+http://localhost:8081/x?action=openid http://localhost:8081/x?action=openid
+http://*.foo.com                      http://b.foo.com
+http://*.foo.com                      http://b.foo.com/
+http://*.foo.com/                     http://b.foo.com
+http://b.foo.com                      http://b.foo.com
+http://b.foo.com                      http://b.foo.com/
+http://b.foo.com/                     http://b.foo.com
+http://*.b.foo.com                    http://b.foo.com
+http://*.b.foo.com                    http://b.foo.com/
+http://*.b.foo.com/                   http://b.foo.com
+http://*.b.foo.com                    http://x.b.foo.com
+http://*.b.foo.com                    http://w.x.b.foo.com
+http://*.bar.co.uk                    http://www.bar.co.uk
+http://*.uoregon.edu                  http://x.cs.uoregon.edu
+http://x.com/abc                      http://x.com/abc
+http://x.com/abc                      http://x.com/abc/def
+http://*.x.com                        http://x.com/gallery
+http://*.x.com                        http://foo.x.com/gallery
+http://foo.x.com                      http://foo.x.com/gallery/xxx
+http://*.x.com/gallery                http://foo.x.com/gallery
+http://localhost:8082/?action=openid  http://localhost:8082/?action=openid
+http://goathack.livejournal.org:8020/ http://goathack.livejournal.org:8020/openid/login.bml
+https://foo.com                       https://foo.com
+http://Foo.com                        http://foo.com
+http://foo.com                        http://Foo.com
+http://foo.com/?x=y                   http://foo.com/?x=y&a=b
+http://foo.com/x                      http://foo.com/x?y
+http://mylid.net/j3h.                 http://mylid.net/j3h.?x=y
+
+----------------------------------------
+23: does not match
+----------------------------------------
+http://*/                             ftp://foo.com/
+http://*/                             xxx
+http://*.x.com/abc                    http://foo.x.com
+http://*.x.com/abc                    http://*.x.com
+http://*.com/                         http://*.com/
+http://x.com/abc                      http://x.com/
+http://x.com/abc                      http://x.com/a
+http://x.com/abc                      http://x.com/ab
+http://x.com/abc                      http://x.com/abcd
+http://*.cs.uoregon.edu               http://x.uoregon.edu
+http://*.foo.com                      http://bar.com
+http://*.foo.com                      http://www.bar.com
+http://*.bar.co.uk                    http://xxx.co.uk
+https://foo.com                       http://foo.com
+http://foo.com                        https://foo.com
+http://foo.com:80                     http://foo.com
+http://foo.com                        http://foo.com:80
+http://foo.com:81                     http://foo.com:80
+http://*:80                           http://foo.com:81
+http://foo.com/?a=b                   http://foo.com/?x=y
+http://foo.com/?a=b                   http://foo.com/?x=y&a=b
+http://foo.com/?a=b                   http://foo.com/
+http://*.oo.com/                      http://foo.com/

Added: incubator/heraldry/libraries/python/openid/trunk/setup.cfg
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/python/openid/trunk/setup.cfg?view=auto&rev=463041
==============================================================================
--- incubator/heraldry/libraries/python/openid/trunk/setup.cfg (added)
+++ incubator/heraldry/libraries/python/openid/trunk/setup.cfg Wed Oct 11 16:11:47 2006
@@ -0,0 +1,3 @@
+[sdist]
+force_manifest=1
+formats=gztar,zip

Added: incubator/heraldry/libraries/python/openid/trunk/setup.py
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/python/openid/trunk/setup.py?view=auto&rev=463041
==============================================================================
--- incubator/heraldry/libraries/python/openid/trunk/setup.py (added)
+++ incubator/heraldry/libraries/python/openid/trunk/setup.py Wed Oct 11 16:11:47 2006
@@ -0,0 +1,53 @@
+import sys
+import os
+
+from distutils.core import setup
+
+if 'sdist' in sys.argv:
+    os.system('./admin/makedoc')
+
+def getLicense():
+    f = open('COPYING', 'r')
+    return f.read()
+
+# patch distutils if it can't cope with the "classifiers" or
+# "download_url" keywords
+if sys.version < '2.2.3':
+    from distutils.dist import DistributionMetadata
+    DistributionMetadata.classifiers = None
+    DistributionMetadata.download_url = None
+
+version = '[library version:1.1.2-rc1]'[17:-1]
+
+setup(
+    name='python-openid',
+    version=version,
+    description='OpenID support for servers and consumers.',
+    long_description='''This is a set of Python packages to support use of
+the OpenID decentralized identity system in your application.  Want to enable
+single sign-on for your web site?  Use the openid.consumer package.  Want to
+run your own OpenID server? Check out openid.server.  Includes example code
+and support for a variety of storage back-ends.''',
+    url='http://www.openidenabled.com/openid/libraries/python/',
+    packages=['openid',
+              'openid.consumer',
+              'openid.server',
+              'openid.store',
+              ],
+    license=getLicense(),
+    author='JanRain',
+    author_email='openid@janrain.com',
+    download_url="http://www.openidenabled.com/resources/downloads/python-openid/python-openid-%s.tar.gz"
% (version,),
+    classifiers=[
+    "Development Status :: 5 - Production/Stable",
+    "Environment :: Web Environment",
+    "Intended Audience :: Developers",
+    "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
+    "Operating System :: POSIX",
+    "Programming Language :: Python",
+    "Topic :: Internet :: WWW/HTTP",
+    "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
+    "Topic :: Software Development :: Libraries :: Python Modules",
+    "Topic :: System :: Systems Administration :: Authentication/Directory",
+    ],
+    )



Mime
View raw message