X Tutup
Skip to content

Commit 04536db

Browse files
committed
externals: add functools32 for new jsonschema
Updating `jsonschema` to 3.2.0 requires `functools32`, just for Python 2.
1 parent e470131 commit 04536db

File tree

7 files changed

+1036
-2
lines changed

7 files changed

+1036
-2
lines changed

COPYRIGHT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ PackageName: distro
4646
PackageHomePage: https://pypi.python.org/pypi/distro
4747
PackageLicenseDeclared: Apache-2.0
4848

49-
PackageName: functools
50-
PackageHomePage: https://github.com/python/cpython/blob/2.7/Lib/functools.py
49+
PackageName: functools32
50+
PackageHomePage: https://github.com/MiCHiLU/python-functools32
5151
PackageLicenseDeclared: Python-2.0
5252

5353
PackageName: jinja2

lib/spack/external/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
* Version: 1.6.0 (64946a1e2a9ff529047070657728600e006c99ff)
4141
* Note: Last version supporting Python 2.7
4242
43+
functools32
44+
-----------
45+
* Homepage: https://github.com/MiCHiLU/python-functools32
46+
* Usage: Needed by jsonschema when using Python 2.7.
47+
* Version: 3.2.3-2
48+
4349
jinja2
4450
------
4551
Lines changed: 289 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,289 @@
1+
A. HISTORY OF THE SOFTWARE
2+
==========================
3+
4+
Python was created in the early 1990s by Guido van Rossum at Stichting
5+
Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
6+
as a successor of a language called ABC. Guido remains Python's
7+
principal author, although it includes many contributions from others.
8+
9+
In 1995, Guido continued his work on Python at the Corporation for
10+
National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
11+
in Reston, Virginia where he released several versions of the
12+
software.
13+
14+
In May 2000, Guido and the Python core development team moved to
15+
BeOpen.com to form the BeOpen PythonLabs team. In October of the same
16+
year, the PythonLabs team moved to Digital Creations (now Zope
17+
Corporation, see http://www.zope.com). In 2001, the Python Software
18+
Foundation (PSF, see http://www.python.org/psf/) was formed, a
19+
non-profit organization created specifically to own Python-related
20+
Intellectual Property. Zope Corporation is a sponsoring member of
21+
the PSF.
22+
23+
All Python releases are Open Source (see http://www.opensource.org for
24+
the Open Source Definition). Historically, most, but not all, Python
25+
releases have also been GPL-compatible; the table below summarizes
26+
the various releases.
27+
28+
Release Derived Year Owner GPL-
29+
from compatible? (1)
30+
31+
0.9.0 thru 1.2 1991-1995 CWI yes
32+
1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
33+
1.6 1.5.2 2000 CNRI no
34+
2.0 1.6 2000 BeOpen.com no
35+
1.6.1 1.6 2001 CNRI yes (2)
36+
2.1 2.0+1.6.1 2001 PSF no
37+
2.0.1 2.0+1.6.1 2001 PSF yes
38+
2.1.1 2.1+2.0.1 2001 PSF yes
39+
2.2 2.1.1 2001 PSF yes
40+
2.1.2 2.1.1 2002 PSF yes
41+
2.1.3 2.1.2 2002 PSF yes
42+
2.2.1 2.2 2002 PSF yes
43+
2.2.2 2.2.1 2002 PSF yes
44+
2.2.3 2.2.2 2003 PSF yes
45+
2.3 2.2.2 2002-2003 PSF yes
46+
2.3.1 2.3 2002-2003 PSF yes
47+
2.3.2 2.3.1 2002-2003 PSF yes
48+
2.3.3 2.3.2 2002-2003 PSF yes
49+
2.3.4 2.3.3 2004 PSF yes
50+
2.3.5 2.3.4 2005 PSF yes
51+
2.4 2.3 2004 PSF yes
52+
2.4.1 2.4 2005 PSF yes
53+
2.4.2 2.4.1 2005 PSF yes
54+
2.4.3 2.4.2 2006 PSF yes
55+
2.4.4 2.4.3 2006 PSF yes
56+
2.5 2.4 2006 PSF yes
57+
2.5.1 2.5 2007 PSF yes
58+
2.5.2 2.5.1 2008 PSF yes
59+
2.5.3 2.5.2 2008 PSF yes
60+
2.6 2.5 2008 PSF yes
61+
2.6.1 2.6 2008 PSF yes
62+
2.6.2 2.6.1 2009 PSF yes
63+
2.6.3 2.6.2 2009 PSF yes
64+
2.6.4 2.6.3 2009 PSF yes
65+
2.6.5 2.6.4 2010 PSF yes
66+
3.0 2.6 2008 PSF yes
67+
3.0.1 3.0 2009 PSF yes
68+
3.1 3.0.1 2009 PSF yes
69+
3.1.1 3.1 2009 PSF yes
70+
3.1.2 3.1.1 2010 PSF yes
71+
3.1.3 3.1.2 2010 PSF yes
72+
3.1.4 3.1.3 2011 PSF yes
73+
3.2 3.1 2011 PSF yes
74+
3.2.1 3.2 2011 PSF yes
75+
3.2.2 3.2.1 2011 PSF yes
76+
3.2.3 3.2.2 2012 PSF yes
77+
78+
Footnotes:
79+
80+
(1) GPL-compatible doesn't mean that we're distributing Python under
81+
the GPL. All Python licenses, unlike the GPL, let you distribute
82+
a modified version without making your changes open source. The
83+
GPL-compatible licenses make it possible to combine Python with
84+
other software that is released under the GPL; the others don't.
85+
86+
(2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
87+
because its license has a choice of law clause. According to
88+
CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
89+
is "not incompatible" with the GPL.
90+
91+
Thanks to the many outside volunteers who have worked under Guido's
92+
direction to make these releases possible.
93+
94+
95+
B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
96+
===============================================================
97+
98+
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
99+
--------------------------------------------
100+
101+
1. This LICENSE AGREEMENT is between the Python Software Foundation
102+
("PSF"), and the Individual or Organization ("Licensee") accessing and
103+
otherwise using this software ("Python") in source or binary form and
104+
its associated documentation.
105+
106+
2. Subject to the terms and conditions of this License Agreement, PSF hereby
107+
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
108+
analyze, test, perform and/or display publicly, prepare derivative works,
109+
distribute, and otherwise use Python alone or in any derivative version,
110+
provided, however, that PSF's License Agreement and PSF's notice of copyright,
111+
i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
112+
2011, 2012 Python Software Foundation; All Rights Reserved" are retained in Python
113+
alone or in any derivative version prepared by Licensee.
114+
115+
3. In the event Licensee prepares a derivative work that is based on
116+
or incorporates Python or any part thereof, and wants to make
117+
the derivative work available to others as provided herein, then
118+
Licensee hereby agrees to include in any such work a brief summary of
119+
the changes made to Python.
120+
121+
4. PSF is making Python available to Licensee on an "AS IS"
122+
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
123+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
124+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
125+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
126+
INFRINGE ANY THIRD PARTY RIGHTS.
127+
128+
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
129+
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
130+
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
131+
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
132+
133+
6. This License Agreement will automatically terminate upon a material
134+
breach of its terms and conditions.
135+
136+
7. Nothing in this License Agreement shall be deemed to create any
137+
relationship of agency, partnership, or joint venture between PSF and
138+
Licensee. This License Agreement does not grant permission to use PSF
139+
trademarks or trade name in a trademark sense to endorse or promote
140+
products or services of Licensee, or any third party.
141+
142+
8. By copying, installing or otherwise using Python, Licensee
143+
agrees to be bound by the terms and conditions of this License
144+
Agreement.
145+
146+
147+
BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
148+
-------------------------------------------
149+
150+
BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
151+
152+
1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
153+
office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
154+
Individual or Organization ("Licensee") accessing and otherwise using
155+
this software in source or binary form and its associated
156+
documentation ("the Software").
157+
158+
2. Subject to the terms and conditions of this BeOpen Python License
159+
Agreement, BeOpen hereby grants Licensee a non-exclusive,
160+
royalty-free, world-wide license to reproduce, analyze, test, perform
161+
and/or display publicly, prepare derivative works, distribute, and
162+
otherwise use the Software alone or in any derivative version,
163+
provided, however, that the BeOpen Python License is retained in the
164+
Software, alone or in any derivative version prepared by Licensee.
165+
166+
3. BeOpen is making the Software available to Licensee on an "AS IS"
167+
basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
168+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
169+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
170+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
171+
INFRINGE ANY THIRD PARTY RIGHTS.
172+
173+
4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
174+
SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
175+
AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
176+
DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
177+
178+
5. This License Agreement will automatically terminate upon a material
179+
breach of its terms and conditions.
180+
181+
6. This License Agreement shall be governed by and interpreted in all
182+
respects by the law of the State of California, excluding conflict of
183+
law provisions. Nothing in this License Agreement shall be deemed to
184+
create any relationship of agency, partnership, or joint venture
185+
between BeOpen and Licensee. This License Agreement does not grant
186+
permission to use BeOpen trademarks or trade names in a trademark
187+
sense to endorse or promote products or services of Licensee, or any
188+
third party. As an exception, the "BeOpen Python" logos available at
189+
http://www.pythonlabs.com/logos.html may be used according to the
190+
permissions granted on that web page.
191+
192+
7. By copying, installing or otherwise using the software, Licensee
193+
agrees to be bound by the terms and conditions of this License
194+
Agreement.
195+
196+
197+
CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
198+
---------------------------------------
199+
200+
1. This LICENSE AGREEMENT is between the Corporation for National
201+
Research Initiatives, having an office at 1895 Preston White Drive,
202+
Reston, VA 20191 ("CNRI"), and the Individual or Organization
203+
("Licensee") accessing and otherwise using Python 1.6.1 software in
204+
source or binary form and its associated documentation.
205+
206+
2. Subject to the terms and conditions of this License Agreement, CNRI
207+
hereby grants Licensee a nonexclusive, royalty-free, world-wide
208+
license to reproduce, analyze, test, perform and/or display publicly,
209+
prepare derivative works, distribute, and otherwise use Python 1.6.1
210+
alone or in any derivative version, provided, however, that CNRI's
211+
License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
212+
1995-2001 Corporation for National Research Initiatives; All Rights
213+
Reserved" are retained in Python 1.6.1 alone or in any derivative
214+
version prepared by Licensee. Alternately, in lieu of CNRI's License
215+
Agreement, Licensee may substitute the following text (omitting the
216+
quotes): "Python 1.6.1 is made available subject to the terms and
217+
conditions in CNRI's License Agreement. This Agreement together with
218+
Python 1.6.1 may be located on the Internet using the following
219+
unique, persistent identifier (known as a handle): 1895.22/1013. This
220+
Agreement may also be obtained from a proxy server on the Internet
221+
using the following URL: http://hdl.handle.net/1895.22/1013".
222+
223+
3. In the event Licensee prepares a derivative work that is based on
224+
or incorporates Python 1.6.1 or any part thereof, and wants to make
225+
the derivative work available to others as provided herein, then
226+
Licensee hereby agrees to include in any such work a brief summary of
227+
the changes made to Python 1.6.1.
228+
229+
4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
230+
basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
231+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
232+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
233+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
234+
INFRINGE ANY THIRD PARTY RIGHTS.
235+
236+
5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
237+
1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
238+
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
239+
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
240+
241+
6. This License Agreement will automatically terminate upon a material
242+
breach of its terms and conditions.
243+
244+
7. This License Agreement shall be governed by the federal
245+
intellectual property law of the United States, including without
246+
limitation the federal copyright law, and, to the extent such
247+
U.S. federal law does not apply, by the law of the Commonwealth of
248+
Virginia, excluding Virginia's conflict of law provisions.
249+
Notwithstanding the foregoing, with regard to derivative works based
250+
on Python 1.6.1 that incorporate non-separable material that was
251+
previously distributed under the GNU General Public License (GPL), the
252+
law of the Commonwealth of Virginia shall govern this License
253+
Agreement only as to issues arising under or with respect to
254+
Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
255+
License Agreement shall be deemed to create any relationship of
256+
agency, partnership, or joint venture between CNRI and Licensee. This
257+
License Agreement does not grant permission to use CNRI trademarks or
258+
trade name in a trademark sense to endorse or promote products or
259+
services of Licensee, or any third party.
260+
261+
8. By clicking on the "ACCEPT" button where indicated, or by copying,
262+
installing or otherwise using Python 1.6.1, Licensee agrees to be
263+
bound by the terms and conditions of this License Agreement.
264+
265+
ACCEPT
266+
267+
268+
CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
269+
--------------------------------------------------
270+
271+
Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
272+
The Netherlands. All rights reserved.
273+
274+
Permission to use, copy, modify, and distribute this software and its
275+
documentation for any purpose and without fee is hereby granted,
276+
provided that the above copyright notice appear in all copies and that
277+
both that copyright notice and this permission notice appear in
278+
supporting documentation, and that the name of Stichting Mathematisch
279+
Centrum or CWI not be used in advertising or publicity pertaining to
280+
distribution of the software without specific, written prior
281+
permission.
282+
283+
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
284+
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
285+
FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
286+
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
287+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
288+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
289+
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .functools32 import *

0 commit comments

Comments
 (0)
X Tutup