From: BW Keller Date: Tue, 13 Sep 2016 02:50:04 +0000 (+0100) Subject: Import yt_3.2.3-2.debian.tar.xz X-Git-Tag: archive/raspbian/3.4.0-3+rpi1~1^2^2~6^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ca55fcebb1030f04de913fcf16fac5071d984eb0;p=yt.git Import yt_3.2.3-2.debian.tar.xz [dgit import tarball yt 3.2.3-2 yt_3.2.3-2.debian.tar.xz] --- ca55fcebb1030f04de913fcf16fac5071d984eb0 diff --git a/changelog b/changelog new file mode 100644 index 0000000..ad68067 --- /dev/null +++ b/changelog @@ -0,0 +1,27 @@ +yt (3.2.3-2) unstable; urgency=medium + + * ACTUALLY fixes build failures on i386. Closes: #803275 + + -- BW Keller Mon, 12 Sep 2016 22:50:04 -0400 + +yt (3.2.3-1) unstable; urgency=medium + + * Upgrade to upstream version 3.2.3 + * Remove dependence on libpng. Closes: #810709 + * Fixes build failures. Closes: #810209, #803275 + * Maintainer has changed. Closes: #817200 + + -- BW Keller Tue, 6 Sep 2016 16:35:35 -0400 + +yt (3.2.1-2) unstable; urgency=low + + * Backport fix for mpl-1.5. + * Correct Python dependencies to fix FTBS. Closes: #802428 + + -- Kacper Kowalik Thu, 22 Oct 2015 19:57:35 +0000 + +yt (3.2.1-1) unstable; urgency=low + + * Initial release. (Closes: #789976) + + -- Kacper Kowalik Tue, 28 Jul 2015 20:08:18 +0000 diff --git a/compat b/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +9 diff --git a/control b/control new file mode 100644 index 0000000..93eecc5 --- /dev/null +++ b/control @@ -0,0 +1,75 @@ +Source: yt +Section: python +Priority: optional +Maintainer: Debian Astronomy Team +Uploaders: BW Keller +Build-Depends: cython (>= 0.22), + cython3 (>= 0.22), + debhelper (>= 9), + dh-python, + libpython-dev, + libpython3-dev, + python-all-dev, + python-h5py, + python-matplotlib, + python-nose, + python-numpy, + python-setuptools, + python-sympy, + python-tk, + python3-all-dev, + python3-h5py, + python3-matplotlib, + python3-nose, + python3-numpy, + python3-setuptools, + python3-sympy, + python3-tk +Standards-Version: 3.9.8 +Homepage: http://yt-project.org/ +Vcs-Git: https://anonscm.debian.org/cgit/debian-astro/packages/yt.git +Vcs-Browser: https://anonscm.debian.org/cgit/debian-astro/packages/yt.git +X-Python-Version: >= 2.7 +X-Python3-Version: >= 3.3 + +Package: python-yt +Architecture: any +Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, + python-h5py, + python-matplotlib, + python-numpy (>= 1:1.6.1), + python-numpy-abi9, + python-sympy +Suggests: python-astropy, + python-scipy, + python-pyx +Description: Framework for analyzing and visualizing simulation data (Python 2) + The yt project aims to produce an integrated science environment for + collaboratively asking and answering astrophysical questions. To do so, it will + encompass the creation of initial conditions, the execution of simulations, and + the detailed exploration and visualization of the resultant data. It will also + provide a standard framework based on physical quantities interoperability + between codes. + . + This package contains the Python 2 version of the package. + +Package: python3-yt +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-h5py, + python3-matplotlib, + python3-numpy (>= 1:1.6.1), + python3-numpy-abi9, + python3-sympy +Suggests: python3-astropy, + python3-scipy, + python3-pyx +Description: Framework for analyzing and visualizing simulation data (Python 3) + The yt project aims to produce an integrated science environment for + collaboratively asking and answering astrophysical questions. To do so, it will + encompass the creation of initial conditions, the execution of simulations, and + the detailed exploration and visualization of the resultant data. It will also + provide a standard framework based on physical quantities interoperability + between codes. + . + This package contains the Python 3 version of the package. diff --git a/copyright b/copyright new file mode 100644 index 0000000..85e4326 --- /dev/null +++ b/copyright @@ -0,0 +1,212 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: yt +Upstream-Contact: Ben Keller +Source: http://yt-project.org/ + +Files: yt/utilities/answer_testing/xunit.py +Copyright: Jason Pellerin, + (c) 2005 Nilton Volpato +License: LGPL-2.1 + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + On Debian systems, the full text of the GNU Lesser General Public + License version 2.1 can be found in the file + `/usr/share/common-licenses/LGPL-2.1'. + + +Files: yt/pmods.py +Copyright: (c) 2011, Lawrence Livermore National Security, LLC. +License: LNLL-BSD + The modifications to this code are copyright (c) 2011, Lawrence + Livermore National Security, LLC. Produced at the Lawrence Livermore + National Laboratory. Written by Tim Kadich and Asher Langton + . Released as LLNL-CODE-522751 under the name + SmartImport.py, version 1.0. All rights reserved. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the disclaimer below. + . + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the disclaimer (as noted below) + in the documentation and/or other materials provided with the + distribution. + . + - Neither the name of the LLNS/LLNL nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE + LIVERMORE NATIONAL SECURITY, LLC, THE U.S. DEPARTMENT OF ENERGY OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + . + Additional BSD Notice + . + 1. This notice is required to be provided under our contract with the + U.S. Department of Energy (DOE). This work was produced at Lawrence + Livermore National Laboratory under Contract No. DE-AC52-07NA27344 + with the DOE. + . + 2. Neither the United States Government nor Lawrence Livermore + National Security, LLC nor any of their employees, makes any warranty, + express or implied, or assumes any liability or responsibility for the + accuracy, completeness, or usefulness of any information, apparatus, + product, or process disclosed, or represents that its use would not + infringe privately-owned rights. + . + 3. Also, reference herein to any specific commercial products, + process, or services by trade name, trademark, manufacturer or + otherwise does not necessarily constitute or imply its endorsement, + recommendation, or favoring by the United States Government or + Lawrence Livermore National Security, LLC. The views and opinions of + authors expressed herein do not necessarily state or reflect those of + the United States Government or Lawrence Livermore National Security, + LLC, and shall not be used for advertising or product endorsement + purposes. + +Files: yt/frontends/artio/artio_headers/* +Copyright: (c) 2012-2013, Douglas H. Rudd +License: LGPL-3 + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + On Debian systems, the full text of the GNU Lesser General Public + License version 3 can be found in the file + `/usr/share/common-licenses/LGPL-3'. +Comment: This code is derived from knee.py, which was included in the Python + 2.6 distribution. + +Files: yt/extern/bottle.py yt/extern/rocket.py yt/extern/six.py yt/utilities/poster/* yt/utilities/pyparselibconfig/libconfig.py +Copyright: (c) 2010, Marcel Hellkamp, + (c) 2011 Timothy Farrell + (c) 2010-2014 Benjamin Peterson + (c) 2011 Chris AtLee + (c) 2013, Samuel Skillman +License: MIT + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Files: yt/extern/functools32.py +Copyright: (C) 2006-2010 Python Software Foundation +License: PSF + 1. This LICENSE AGREEMENT is between the Python Software Foundation + ("PSF"), and the Individual or Organization ("Licensee") accessing and + otherwise using this software ("Python") in source or binary form and + its associated documentation. + . + 2. Subject to the terms and conditions of this License Agreement, PSF hereby + grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, + analyze, test, perform and/or display publicly, prepare derivative works, + distribute, and otherwise use Python alone or in any derivative version, + provided, however, that PSF's License Agreement and PSF's notice of copyright, + i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, + 2011, 2012 Python Software Foundation; All Rights Reserved" are retained in Python + alone or in any derivative version prepared by Licensee. + . + 3. In the event Licensee prepares a derivative work that is based on + or incorporates Python or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief summary of + the changes made to Python. + . + 4. PSF is making Python available to Licensee on an "AS IS" + basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + . + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS + A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, + OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + . + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + . + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between PSF and + Licensee. This License Agreement does not grant permission to use PSF + trademarks or trade name in a trademark sense to endorse or promote + products or services of Licensee, or any third party. + . + 8. By copying, installing or otherwise using Python, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + +Files: * +Copyright: Anne M. Archibald 2008, + (c) Damian Eads, 2007-2008, + (c) 2007-2011 John Tsiombikas , + (c) 2006-2013, Matthew Turk , + (c) 2013-, yt Development Team, + 2015 Kacper Kowalik (Debian files) +License: BSD-3-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + . + * 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. + . + * Neither the name of the Astropy Team nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. diff --git a/patches/fix-ftbfs-32bit.patch b/patches/fix-ftbfs-32bit.patch new file mode 100644 index 0000000..81d07da --- /dev/null +++ b/patches/fix-ftbfs-32bit.patch @@ -0,0 +1,14 @@ +Description: Fix remaining 32-bit FTBFS cause +Author: Ole Streicher +--- a/yt/geometry/particle_smooth.pyx ++++ b/yt/geometry/particle_smooth.pyx +@@ -349,8 +349,7 @@ + # Note that what we will be providing to our processing functions will + # actually be indirectly-sorted fields. This preserves memory at the + # expense of additional pointer lookups. +- pind = np.argsort(pdoms) +- pind = np.asarray(pind, dtype='int64', order='C') ++ pind = np.asarray(np.argsort(pdoms), dtype='int64', order='C') + # So what this means is that we now have all the oct-0 particle indices + # in order, then the oct-1, etc etc. + # This now gives us the indices to the particles for each domain. diff --git a/patches/fix-ftbfs-i386.patch b/patches/fix-ftbfs-i386.patch new file mode 100644 index 0000000..6bb8131 --- /dev/null +++ b/patches/fix-ftbfs-i386.patch @@ -0,0 +1,13 @@ +Description: Fix remaining i386 FTBFS +Author: Ole Streicher +--- a/yt/utilities/tests/test_interpolators.py ++++ b/yt/utilities/tests/test_interpolators.py +@@ -49,7 +49,7 @@ + np.mgrid[0.0:1.0:64j, 0.0:1.0:64j, 0.0:1.0:64j])) + tfi = lin.TrilinearFieldInterpolator(random_data, + (0.0, 1.0, 0.0, 1.0, 0.0, 1.0), "xyz", True) +- yield assert_array_equal, tfi(fv), random_data ++ yield assert_array_almost_equal, tfi(fv), random_data + + # randomly spaced bins + size = 64 diff --git a/patches/fix_reason_py3.patch b/patches/fix_reason_py3.patch new file mode 100644 index 0000000..b7abfa6 --- /dev/null +++ b/patches/fix_reason_py3.patch @@ -0,0 +1,13 @@ +Author: Ben Keller +Description: use python 3 compatible syntax with reason +--- a/yt/gui/reason/basic_repl.py ++++ b/yt/gui/reason/basic_repl.py +@@ -78,7 +78,7 @@ + sys.stdout = sys.stderr = out + try: + try: +- exec code in self.locals ++ exec(code in self.locals) + except: + result = traceback.format_exc() + else: diff --git a/patches/jquery_reason.patch b/patches/jquery_reason.patch new file mode 100644 index 0000000..61d5ede --- /dev/null +++ b/patches/jquery_reason.patch @@ -0,0 +1,13 @@ +Author: Ben Keller +Description: use libjs-jquery for reason GUI +--- a/yt/gui/reason/html/map_index.html ++++ b/yt/gui/reason/html/map_index.html +@@ -4,7 +4,7 @@ + + + +- ++ +