Skip to content

Commit 2fa54fc

Browse files
committed
mdtraj: carry forward riscv64 patches to 1.11.2
Nightly version bump omitted the patches/mdtraj/<version> directory for 1.11.2, so the build's unconditional `git apply .../*.patch` step failed with "No such file or directory" before any build/test ran. Copied forward the same patch set from 1.11.1.post2 (unchanged since then).
1 parent 0054e7e commit 2fa54fc

1 file changed

Lines changed: 216 additions & 0 deletions

File tree

Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Ludovic Henry <git@ludovic.dev>
3+
Date: Fri, 2 Oct 2026 12:00:00 +0200
4+
Subject: [PATCH] Ship the licences of the third-party code compiled into the
5+
extensions
6+
7+
The wheel's extensions compile in code from five other projects under
8+
their own permissive licences, each of which requires its notice to
9+
travel with binary redistributions: the VMD molfile plugin library
10+
(University of Illinois Open Source License; mdtraj.formats.dcd and the
11+
plugin headers of mdtraj.formats.dtr), D. E. Shaw Research's dtrplugin
12+
(BSD-3-Clause; mdtraj.formats.dtr), the xdrfile library (BSD-2-Clause;
13+
mdtraj.formats.xtc and .trr), Jacob Frelinger's Munkres implementation
14+
(BSD; mdtraj._lprmsd) and OpenMM's vectorization headers (MIT; the
15+
mdtraj.geometry extensions). The notices only live in the source file
16+
headers, so every published wheel carries mdtraj's own LGPL LICENSE alone.
17+
18+
Add one LICENSE.<component> file per component at the project root,
19+
reproducing the notice its sources carry (the VMD sources only carry the
20+
copyright line, so the UIUC Open Source License text is taken from the
21+
VMD plugin library's licence page). setuptools' default license_files
22+
glob already matches LICENSE.* at the root, so no setup.py change is
23+
needed and the files land in dist-info/licenses/.
24+
25+
Upstream-Status: To upstream [not submitted from this automated port run; needs a pull request against mdtraj/mdtraj]
26+
---
27+
LICENSE.dtrplugin | 32 ++++++++++++++++++++++++++++++++
28+
LICENSE.munkres | 13 +++++++++++++
29+
LICENSE.openmm | 32 ++++++++++++++++++++++++++++++++
30+
LICENSE.vmd-plugins | 45 +++++++++++++++++++++++++++++++++++++++++++++
31+
LICENSE.xdrfile | 26 ++++++++++++++++++++++++++
32+
5 files changed, 148 insertions(+)
33+
create mode 100644 LICENSE.dtrplugin
34+
create mode 100644 LICENSE.munkres
35+
create mode 100644 LICENSE.openmm
36+
create mode 100644 LICENSE.vmd-plugins
37+
create mode 100644 LICENSE.xdrfile
38+
39+
diff --git a/LICENSE.dtrplugin b/LICENSE.dtrplugin
40+
new file mode 100644
41+
index 0000000..b097e44
42+
--- /dev/null
43+
+++ b/LICENSE.dtrplugin
44+
@@ -0,0 +1,32 @@
45+
+The D. E. Shaw Research dtrplugin compiled into mdtraj.formats.dtr
46+
+(mdtraj/formats/dtr/src/dtrplugin.cxx) carries the following notice:
47+
+
48+
+Copyright 2009, D. E. Shaw Research, LLC
49+
+All rights reserved.
50+
+
51+
+Redistribution and use in source and binary forms, with or without
52+
+modification, are permitted provided that the following conditions are
53+
+met:
54+
+
55+
+* Redistributions of source code must retain the above copyright
56+
+ notice, this list of conditions, and the following disclaimer.
57+
+
58+
+* Redistributions in binary form must reproduce the above copyright
59+
+ notice, this list of conditions, and the following disclaimer in the
60+
+ documentation and/or other materials provided with the distribution.
61+
+
62+
+* Neither the name of D. E. Shaw Research, LLC nor the names of its
63+
+ contributors may be used to endorse or promote products derived from
64+
+ this software without specific prior written permission.
65+
+
66+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
67+
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
68+
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
69+
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
70+
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
71+
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
72+
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
73+
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
74+
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
75+
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
76+
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
77+
diff --git a/LICENSE.munkres b/LICENSE.munkres
78+
new file mode 100644
79+
index 0000000..338c6b7
80+
--- /dev/null
81+
+++ b/LICENSE.munkres
82+
@@ -0,0 +1,13 @@
83+
+The Munkres (Hungarian algorithm) implementation compiled into mdtraj._lprmsd
84+
+(mdtraj/rmsd/src/Munkres.cpp, from https://github.com/jfrelinger/cython-munkres-wrapper)
85+
+carries the following notice, reproduced as it appears in the source:
86+
+
87+
+Copyright (c) 2012, Jacob Frelinger
88+
+All rights reserved.
89+
+
90+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
91+
+
92+
+Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
93+
+Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
94+
+
95+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
96+
diff --git a/LICENSE.openmm b/LICENSE.openmm
97+
new file mode 100644
98+
index 0000000..7604496
99+
--- /dev/null
100+
+++ b/LICENSE.openmm
101+
@@ -0,0 +1,32 @@
102+
+The vectorization headers compiled into the mdtraj.geometry extensions
103+
+(mdtraj/geometry/include/vectorize*.h) are taken from OpenMM and carry the
104+
+following notice:
105+
+
106+
+OpenMM
107+
+--------------------------------------------------------------------------
108+
+This is part of the OpenMM molecular simulation toolkit originating from
109+
+Simbios, the NIH National Center for Physics-Based Simulation of
110+
+Biological Structures at Stanford, funded under the NIH Roadmap for
111+
+Medical Research, grant U54 GM072970. See https://simtk.org.
112+
+
113+
+Portions copyright (c) 2014-2018 Stanford University and the Authors.
114+
+Authors: Peter Eastman
115+
+Contributors:
116+
+
117+
+Permission is hereby granted, free of charge, to any person obtaining a
118+
+copy of this software and associated documentation files (the "Software"),
119+
+to deal in the Software without restriction, including without limitation
120+
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
121+
+and/or sell copies of the Software, and to permit persons to whom the
122+
+Software is furnished to do so, subject to the following conditions:
123+
+
124+
+The above copyright notice and this permission notice shall be included in
125+
+all copies or substantial portions of the Software.
126+
+
127+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
128+
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
129+
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
130+
+THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
131+
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
132+
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
133+
+USE OR OTHER DEALINGS IN THE SOFTWARE.
134+
diff --git a/LICENSE.vmd-plugins b/LICENSE.vmd-plugins
135+
new file mode 100644
136+
index 0000000..c669ca3
137+
--- /dev/null
138+
+++ b/LICENSE.vmd-plugins
139+
@@ -0,0 +1,45 @@
140+
+The DCD reader/writer (mdtraj/formats/dcd) and the molfile plugin headers
141+
+used by mdtraj/formats/dcd and mdtraj/formats/dtr are taken from the VMD
142+
+plugin library and carry the following notice:
143+
+
144+
+(C) Copyright 1995-2016 The Board of Trustees of the
145+
+ University of Illinois
146+
+ All Rights Reserved
147+
+
148+
+The VMD plugin library is distributed under the University of Illinois
149+
+Open Source License (https://www.ks.uiuc.edu/Research/vmd/plugins/pluginlicense.html):
150+
+
151+
+University of Illinois Open Source License
152+
+Copyright 2006 Theoretical and Computational Biophysics Group,
153+
+All rights reserved.
154+
+
155+
+Developed by: Theoretical and Computational Biophysics Group
156+
+ University of Illinois at Urbana-Champaign
157+
+ http://www.ks.uiuc.edu/
158+
+
159+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
160+
+this software and associated documentation files (the Software), to deal with
161+
+the Software without restriction, including without limitation the rights to
162+
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
163+
+of the Software, and to permit persons to whom the Software is furnished to
164+
+do so, subject to the following conditions:
165+
+
166+
+Redistributions of source code must retain the above copyright notice,
167+
+this list of conditions and the following disclaimers.
168+
+
169+
+Redistributions in binary form must reproduce the above copyright notice,
170+
+this list of conditions and the following disclaimers in the documentation
171+
+and/or other materials provided with the distribution.
172+
+
173+
+Neither the names of Theoretical and Computational Biophysics Group,
174+
+University of Illinois at Urbana-Champaign, nor the names of its contributors
175+
+may be used to endorse or promote products derived from this Software without
176+
+specific prior written permission.
177+
+
178+
+THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
179+
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
180+
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
181+
+THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
182+
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
183+
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
184+
+OTHER DEALINGS WITH THE SOFTWARE.
185+
diff --git a/LICENSE.xdrfile b/LICENSE.xdrfile
186+
new file mode 100644
187+
index 0000000..0d0c4a9
188+
--- /dev/null
189+
+++ b/LICENSE.xdrfile
190+
@@ -0,0 +1,26 @@
191+
+The xdrfile library compiled into mdtraj.formats.xtc and mdtraj.formats.trr
192+
+(mdtraj/formats/xtc/src/xdrfile*.c) carries the following notice:
193+
+
194+
+Copyright (c) 2009-2014, Erik Lindahl & David van der Spoel
195+
+All rights reserved.
196+
+
197+
+Redistribution and use in source and binary forms, with or without
198+
+modification, are permitted provided that the following conditions are met:
199+
+
200+
+1. Redistributions of source code must retain the above copyright notice, this
201+
+list of conditions and the following disclaimer.
202+
+
203+
+2. Redistributions in binary form must reproduce the above copyright notice,
204+
+this list of conditions and the following disclaimer in the documentation
205+
+and/or other materials provided with the distribution.
206+
+
207+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
208+
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
209+
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
210+
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
211+
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
212+
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
213+
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
214+
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
215+
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
216+
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)