components/python/eventlet/eventlet.license
branchs11-update
changeset 2785 b6f5c5d1d0b7
child 5405 66fd59fecd68
equal deleted inserted replaced
2784:d03ec2773121 2785:b6f5c5d1d0b7
       
     1 Copyright (c) 2005-2006, Bob Ippolito
       
     2 Copyright (c) 2007-2010, Linden Research, Inc.
       
     3 Copyright (c) 2008-2010, Eventlet Contributors (see AUTHORS)
       
     4 
       
     5 Permission is hereby granted, free of charge, to any person obtaining a copy
       
     6 of this software and associated documentation files (the "Software"), to deal
       
     7 in the Software without restriction, including without limitation the rights
       
     8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
       
     9 copies of the Software, and to permit persons to whom the Software is
       
    10 furnished to do so, subject to the following conditions:
       
    11 
       
    12 The above copyright notice and this permission notice shall be included in
       
    13 all copies or substantial portions of the Software.
       
    14 
       
    15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
       
    16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
       
    17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
       
    18 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
       
    19 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
       
    20 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
       
    21 THE SOFTWARE.
       
    22 
       
    23 --------------------------------------------------------------------------
       
    24 
       
    25 # Copyright (c) 2010, CCP Games
       
    26 # All rights reserved.
       
    27 #
       
    28 # Redistribution and use in source and binary forms, with or without
       
    29 # modification, are permitted provided that the following conditions are met:
       
    30 #     * Redistributions of source code must retain the above copyright
       
    31 #       notice, this list of conditions and the following disclaimer.
       
    32 #     * Redistributions in binary form must reproduce the above copyright
       
    33 #       notice, this list of conditions and the following disclaimer in the
       
    34 #       documentation and/or other materials provided with the distribution.
       
    35 #     * Neither the name of CCP Games nor the
       
    36 #       names of its contributors may be used to endorse or promote products
       
    37 #       derived from this software without specific prior written permission.
       
    38 #
       
    39 # THIS SOFTWARE IS PROVIDED BY CCP GAMES ``AS IS'' AND ANY
       
    40 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
       
    41 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
       
    42 # DISCLAIMED. IN NO EVENT SHALL CCP GAMES BE LIABLE FOR ANY
       
    43 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
       
    44 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
       
    45 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
       
    46 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
       
    47 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
       
    48 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
       
    49 
       
    50 --------------------------------------------------------------------------
       
    51 
       
    52 # Copyright (c) 2009 Denis Bilenko, denis.bilenko at gmail com
       
    53 # Copyright (c) 2010 Eventlet Contributors (see AUTHORS)
       
    54 # and licensed under the MIT license:
       
    55 # 
       
    56 # Permission is hereby granted, free of charge, to any person obtaining a copy
       
    57 # of this software and associated documentation files (the "Software"), to deal
       
    58 # in the Software without restriction, including without limitation the rights
       
    59 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
       
    60 # copies of the Software, and to permit persons to whom the Software is
       
    61 # furnished to do so, subject to the following conditions:
       
    62 # 
       
    63 # The above copyright notice and this permission notice shall be included in
       
    64 # all copies or substantial portions of the Software.
       
    65 # 
       
    66 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
       
    67 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
       
    68 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
       
    69 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
       
    70 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
       
    71 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
       
    72 # THE SOFTWARE.
       
    73 
       
    74 
       
    75 --------------------------------------------------------------------------
       
    76 
       
    77 # Portions of this code taken from the gogreen project:
       
    78 #   http://github.com/slideinc/gogreen
       
    79 #
       
    80 # Copyright (c) 2005-2010 Slide, Inc.
       
    81 # All rights reserved.
       
    82 #
       
    83 # Redistribution and use in source and binary forms, with or without
       
    84 # modification, are permitted provided that the following conditions are
       
    85 # met:
       
    86 #
       
    87 #     * Redistributions of source code must retain the above copyright
       
    88 #       notice, this list of conditions and the following disclaimer.
       
    89 #     * Redistributions in binary form must reproduce the above
       
    90 #       copyright notice, this list of conditions and the following
       
    91 #       disclaimer in the documentation and/or other materials provided
       
    92 #       with the distribution.
       
    93 #     * Neither the name of the author nor the names of other
       
    94 #       contributors may be used to endorse or promote products derived
       
    95 #       from this software without specific prior written permission.
       
    96 #
       
    97 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
       
    98 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
       
    99 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
       
   100 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
       
   101 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
       
   102 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
       
   103 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
       
   104 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
       
   105 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
       
   106 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
       
   107 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
       
   108 
       
   109 --------------------------------------------------------------------------
       
   110 
       
   111 # Copyright (C) 2010 Daniele Varrazzo <[email protected]>
       
   112 # and licensed under the MIT license:
       
   113 # 
       
   114 # Permission is hereby granted, free of charge, to any person obtaining a copy
       
   115 # of this software and associated documentation files (the "Software"), to deal
       
   116 # in the Software without restriction, including without limitation the rights
       
   117 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
       
   118 # copies of the Software, and to permit persons to whom the Software is
       
   119 # furnished to do so, subject to the following conditions:
       
   120 # 
       
   121 # The above copyright notice and this permission notice shall be included in
       
   122 # all copies or substantial portions of the Software.
       
   123 # 
       
   124 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
       
   125 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
       
   126 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
       
   127 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
       
   128 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
       
   129 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
       
   130 # THE SOFTWARE.
       
   131 
       
   132 --------------------------------------------------------------------------
       
   133 
       
   134 # Copyright (c) 2007-2009, Linden Research, Inc.
       
   135 # Copyright (c) 2007, IBM Corp.
       
   136 
       
   137                                  Apache License
       
   138                            Version 2.0, January 2004
       
   139                         http://www.apache.org/licenses/
       
   140 
       
   141    TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
       
   142 
       
   143    1. Definitions.
       
   144 
       
   145       "License" shall mean the terms and conditions for use, reproduction,
       
   146       and distribution as defined by Sections 1 through 9 of this document.
       
   147 
       
   148       "Licensor" shall mean the copyright owner or entity authorized by
       
   149       the copyright owner that is granting the License.
       
   150 
       
   151       "Legal Entity" shall mean the union of the acting entity and all
       
   152       other entities that control, are controlled by, or are under common
       
   153       control with that entity. For the purposes of this definition,
       
   154       "control" means (i) the power, direct or indirect, to cause the
       
   155       direction or management of such entity, whether by contract or
       
   156       otherwise, or (ii) ownership of fifty percent (50%) or more of the
       
   157       outstanding shares, or (iii) beneficial ownership of such entity.
       
   158 
       
   159       "You" (or "Your") shall mean an individual or Legal Entity
       
   160       exercising permissions granted by this License.
       
   161 
       
   162       "Source" form shall mean the preferred form for making modifications,
       
   163       including but not limited to software source code, documentation
       
   164       source, and configuration files.
       
   165 
       
   166       "Object" form shall mean any form resulting from mechanical
       
   167       transformation or translation of a Source form, including but
       
   168       not limited to compiled object code, generated documentation,
       
   169       and conversions to other media types.
       
   170 
       
   171       "Work" shall mean the work of authorship, whether in Source or
       
   172       Object form, made available under the License, as indicated by a
       
   173       copyright notice that is included in or attached to the work
       
   174       (an example is provided in the Appendix below).
       
   175 
       
   176       "Derivative Works" shall mean any work, whether in Source or Object
       
   177       form, that is based on (or derived from) the Work and for which the
       
   178       editorial revisions, annotations, elaborations, or other modifications
       
   179       represent, as a whole, an original work of authorship. For the purposes
       
   180       of this License, Derivative Works shall not include works that remain
       
   181       separable from, or merely link (or bind by name) to the interfaces of,
       
   182       the Work and Derivative Works thereof.
       
   183 
       
   184       "Contribution" shall mean any work of authorship, including
       
   185       the original version of the Work and any modifications or additions
       
   186       to that Work or Derivative Works thereof, that is intentionally
       
   187       submitted to Licensor for inclusion in the Work by the copyright owner
       
   188       or by an individual or Legal Entity authorized to submit on behalf of
       
   189       the copyright owner. For the purposes of this definition, "submitted"
       
   190       means any form of electronic, verbal, or written communication sent
       
   191       to the Licensor or its representatives, including but not limited to
       
   192       communication on electronic mailing lists, source code control systems,
       
   193       and issue tracking systems that are managed by, or on behalf of, the
       
   194       Licensor for the purpose of discussing and improving the Work, but
       
   195       excluding communication that is conspicuously marked or otherwise
       
   196       designated in writing by the copyright owner as "Not a Contribution."
       
   197 
       
   198       "Contributor" shall mean Licensor and any individual or Legal Entity
       
   199       on behalf of whom a Contribution has been received by Licensor and
       
   200       subsequently incorporated within the Work.
       
   201 
       
   202    2. Grant of Copyright License. Subject to the terms and conditions of
       
   203       this License, each Contributor hereby grants to You a perpetual,
       
   204       worldwide, non-exclusive, no-charge, royalty-free, irrevocable
       
   205       copyright license to reproduce, prepare Derivative Works of,
       
   206       publicly display, publicly perform, sublicense, and distribute the
       
   207       Work and such Derivative Works in Source or Object form.
       
   208 
       
   209    3. Grant of Patent License. Subject to the terms and conditions of
       
   210       this License, each Contributor hereby grants to You a perpetual,
       
   211       worldwide, non-exclusive, no-charge, royalty-free, irrevocable
       
   212       (except as stated in this section) patent license to make, have made,
       
   213       use, offer to sell, sell, import, and otherwise transfer the Work,
       
   214       where such license applies only to those patent claims licensable
       
   215       by such Contributor that are necessarily infringed by their
       
   216       Contribution(s) alone or by combination of their Contribution(s)
       
   217       with the Work to which such Contribution(s) was submitted. If You
       
   218       institute patent litigation against any entity (including a
       
   219       cross-claim or counterclaim in a lawsuit) alleging that the Work
       
   220       or a Contribution incorporated within the Work constitutes direct
       
   221       or contributory patent infringement, then any patent licenses
       
   222       granted to You under this License for that Work shall terminate
       
   223       as of the date such litigation is filed.
       
   224 
       
   225    4. Redistribution. You may reproduce and distribute copies of the
       
   226       Work or Derivative Works thereof in any medium, with or without
       
   227       modifications, and in Source or Object form, provided that You
       
   228       meet the following conditions:
       
   229 
       
   230       (a) You must give any other recipients of the Work or
       
   231           Derivative Works a copy of this License; and
       
   232 
       
   233       (b) You must cause any modified files to carry prominent notices
       
   234           stating that You changed the files; and
       
   235 
       
   236       (c) You must retain, in the Source form of any Derivative Works
       
   237           that You distribute, all copyright, patent, trademark, and
       
   238           attribution notices from the Source form of the Work,
       
   239           excluding those notices that do not pertain to any part of
       
   240           the Derivative Works; and
       
   241 
       
   242       (d) If the Work includes a "NOTICE" text file as part of its
       
   243           distribution, then any Derivative Works that You distribute must
       
   244           include a readable copy of the attribution notices contained
       
   245           within such NOTICE file, excluding those notices that do not
       
   246           pertain to any part of the Derivative Works, in at least one
       
   247           of the following places: within a NOTICE text file distributed
       
   248           as part of the Derivative Works; within the Source form or
       
   249           documentation, if provided along with the Derivative Works; or,
       
   250           within a display generated by the Derivative Works, if and
       
   251           wherever such third-party notices normally appear. The contents
       
   252           of the NOTICE file are for informational purposes only and
       
   253           do not modify the License. You may add Your own attribution
       
   254           notices within Derivative Works that You distribute, alongside
       
   255           or as an addendum to the NOTICE text from the Work, provided
       
   256           that such additional attribution notices cannot be construed
       
   257           as modifying the License.
       
   258 
       
   259       You may add Your own copyright statement to Your modifications and
       
   260       may provide additional or different license terms and conditions
       
   261       for use, reproduction, or distribution of Your modifications, or
       
   262       for any such Derivative Works as a whole, provided Your use,
       
   263       reproduction, and distribution of the Work otherwise complies with
       
   264       the conditions stated in this License.
       
   265 
       
   266    5. Submission of Contributions. Unless You explicitly state otherwise,
       
   267       any Contribution intentionally submitted for inclusion in the Work
       
   268       by You to the Licensor shall be under the terms and conditions of
       
   269       this License, without any additional terms or conditions.
       
   270       Notwithstanding the above, nothing herein shall supersede or modify
       
   271       the terms of any separate license agreement you may have executed
       
   272       with Licensor regarding such Contributions.
       
   273 
       
   274    6. Trademarks. This License does not grant permission to use the trade
       
   275       names, trademarks, service marks, or product names of the Licensor,
       
   276       except as required for reasonable and customary use in describing the
       
   277       origin of the Work and reproducing the content of the NOTICE file.
       
   278 
       
   279    7. Disclaimer of Warranty. Unless required by applicable law or
       
   280       agreed to in writing, Licensor provides the Work (and each
       
   281       Contributor provides its Contributions) on an "AS IS" BASIS,
       
   282       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
       
   283       implied, including, without limitation, any warranties or conditions
       
   284       of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
       
   285       PARTICULAR PURPOSE. You are solely responsible for determining the
       
   286       appropriateness of using or redistributing the Work and assume any
       
   287       risks associated with Your exercise of permissions under this License.
       
   288 
       
   289    8. Limitation of Liability. In no event and under no legal theory,
       
   290       whether in tort (including negligence), contract, or otherwise,
       
   291       unless required by applicable law (such as deliberate and grossly
       
   292       negligent acts) or agreed to in writing, shall any Contributor be
       
   293       liable to You for damages, including any direct, indirect, special,
       
   294       incidental, or consequential damages of any character arising as a
       
   295       result of this License or out of the use or inability to use the
       
   296       Work (including but not limited to damages for loss of goodwill,
       
   297       work stoppage, computer failure or malfunction, or any and all
       
   298       other commercial damages or losses), even if such Contributor
       
   299       has been advised of the possibility of such damages.
       
   300 
       
   301    9. Accepting Warranty or Additional Liability. While redistributing
       
   302       the Work or Derivative Works thereof, You may choose to offer,
       
   303       and charge a fee for, acceptance of support, warranty, indemnity,
       
   304       or other liability obligations and/or rights consistent with this
       
   305       License. However, in accepting such obligations, You may act only
       
   306       on Your own behalf and on Your sole responsibility, not on behalf
       
   307       of any other Contributor, and only if You agree to indemnify,
       
   308       defend, and hold each Contributor harmless for any liability
       
   309       incurred by, or claims asserted against, such Contributor by reason
       
   310       of your accepting any such warranty or additional liability.
       
   311 
       
   312    END OF TERMS AND CONDITIONS
       
   313 
       
   314    APPENDIX: How to apply the Apache License to your work.
       
   315 
       
   316       To apply the Apache License to your work, attach the following
       
   317       boilerplate notice, with the fields enclosed by brackets "[]"
       
   318       replaced with your own identifying information. (Don't include
       
   319       the brackets!)  The text should be enclosed in the appropriate
       
   320       comment syntax for the file format. We also recommend that a
       
   321       file or class name and description of purpose be included on the
       
   322       same "printed page" as the copyright notice for easier
       
   323       identification within third-party archives.
       
   324 
       
   325    Copyright [yyyy] [name of copyright owner]
       
   326 
       
   327    Licensed under the Apache License, Version 2.0 (the "License");
       
   328    you may not use this file except in compliance with the License.
       
   329    You may obtain a copy of the License at
       
   330 
       
   331        http://www.apache.org/licenses/LICENSE-2.0
       
   332 
       
   333    Unless required by applicable law or agreed to in writing, software
       
   334    distributed under the License is distributed on an "AS IS" BASIS,
       
   335    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
   336    See the License for the specific language governing permissions and
       
   337    limitations under the License.
       
   338 
       
   339 
       
   340 --------------------------------------------------------------------------
       
   341 
       
   342 eventlet-0.13.0/tests/mock.py
       
   343 
       
   344 # Copyright (C) 2007-2009 Michael Foord
       
   345 # E-mail: fuzzyman AT voidspace DOT org DOT uk
       
   346 
       
   347 # mock 0.6.0
       
   348 # http://www.voidspace.org.uk/python/mock/
       
   349 
       
   350 # Released subject to the BSD License
       
   351 # Please see http://www.voidspace.org.uk/python/license.shtml
       
   352 
       
   353 All rights reserved.
       
   354 
       
   355 Redistribution and use in source and binary forms, with or without 
       
   356 modification, are permitted provided that the following conditions are met:
       
   357 
       
   358     Redistributions of source code must retain the above copyright notice, this 
       
   359     list of conditions and the following disclaimer.
       
   360 
       
   361     Redistributions in binary form must reproduce the above copyright notice, 
       
   362     this list of conditions and the following disclaimer in the documentation 
       
   363     and/or other materials provided with the distribution.
       
   364 
       
   365 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
       
   366 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
       
   367 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
       
   368 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 
       
   369 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
       
   370 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
       
   371 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
       
   372 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
       
   373 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
       
   374 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.