From: BW Keller Date: Fri, 14 Dec 2018 11:33:41 +0000 (+0000) Subject: yt (3.5.0-1) unstable; urgency=medium X-Git-Tag: archive/raspbian/3.5.0-1+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2eef50a71e6c2d0aca5a3c7f56c5d302fabc8fdf;p=yt.git yt (3.5.0-1) unstable; urgency=medium * Upgrade to upstream version 3.5.0 [dgit import unpatched yt 3.5.0-1] --- 2eef50a71e6c2d0aca5a3c7f56c5d302fabc8fdf diff --cc debian/changelog index 0000000,0000000..9aa37eb new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,0 +1,87 @@@ ++yt (3.5.0-1) unstable; urgency=medium ++ ++ * Upgrade to upstream version 3.5.0 ++ ++ -- BW Keller Fri, 14 Dec 2018 11:33:41 +0000 ++ ++yt (3.4.1-2) unstable; urgency=medium ++ ++ * Team upload. ++ ++ [ Chris Lamb ] ++ * Make the build reproducible (Closes: #892496) ++ ++ [ Ben Keller ] ++ * Added back testing code to debian/rules to fix FTBFS. Closes: #908683 ++ ++ -- Ole Streicher Mon, 26 Nov 2018 12:46:36 +0100 ++ ++yt (3.4.1-1) unstable; urgency=medium ++ ++ * Upgrade to upstream version 3.4.1 ++ ++ -- BW Keller Tue, 28 Aug 2018 10:07:46 +0000 ++ ++yt (3.4.0-3) unstable; urgency=low ++ ++ * Fix 32 bit FTBF. Closes: #879482 ++ ++ -- BW Keller Tue, 24 Oct 2017 16:11:30 +0000 ++ ++yt (3.4.0-2) unstable; urgency=low ++ ++ * Fix build issue with home directory needed for nose tests. ++ ++ -- BW Keller Sat, 21 Oct 2017 13:55:11 +0000 ++ ++yt (3.4.0-1) unstable; urgency=medium ++ ++ * Upgrade to upstream version 3.4.0 ++ ++ -- BW Keller Fri, 22 Sep 2017 17:14:53 +0000 ++ ++yt (3.3.3-2) unstable; urgency=low ++ ++ * Fixes 32-bit build failures. Closes: #851831 ++ ++ -- BW Keller Thu, 26 Jan 2017 14:19:12 -0500 ++ ++yt (3.3.3-1) unstable; urgency=low ++ ++ * Upgrade to upstream version 3.3.3 ++ ++ -- BW Keller Sun, 08 Jan 2017 18:03:12 -0500 ++ ++yt (3.3.1-1) unstable; urgency=low ++ ++ * Upgrade to upstream version 3.3.1 ++ ++ -- BW Keller Mon, 19 Sep 2016 12:35:29 -0400 ++ ++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 --cc debian/compat index 0000000,0000000..b4de394 new file mode 100644 --- /dev/null +++ b/debian/compat @@@ -1,0 -1,0 +1,1 @@@ ++11 diff --cc debian/control index 0000000,0000000..8c8d53d new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,0 +1,81 @@@ ++Source: yt ++Section: python ++Priority: optional ++Maintainer: Debian Astronomy Team ++Uploaders: BW Keller ++Build-Depends: cython (>= 0.22), ++ cython3 (>= 0.22), ++ debhelper (>= 11), ++ dh-python, ++ libpython-dev, ++ libpython3-dev, ++ python-all-dev, ++ python-h5py, ++ python-matplotlib, ++ python-nose, ++ python-mock, ++ 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, ++ libjs-leaflet, ++ libjs-jquery ++Standards-Version: 4.2.1 ++Homepage: http://yt-project.org/ ++Vcs-Git: https://salsa.debian.org/debian-astro-team/yt.git ++Vcs-Browser: https://salsa.debian.org/debian-astro-team/yt ++ ++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-mock, ++ python-sympy, ++ libjs-leaflet, ++ libjs-jquery ++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, ++ libjs-leaflet, ++ libjs-jquery ++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 --cc debian/copyright index 0000000,0000000..080ef86 new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -1,0 -1,0 +1,151 @@@ ++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Upstream-Name: yt ++Upstream-Contact: Ben Keller ++Source: http://yt-project.org/ ++ ++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. ++ ++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/six.py yt/utilities/poster/* ++Copyright: (c) 2010, Marcel Hellkamp, ++ (c) 2011 Timothy Farrell ++ (c) 2010-2014 Benjamin Peterson ++ (c) 2011 Chris AtLee ++ (c) 2013, Samuel Skillman ++License: MIT ++ ++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/tqdm/* ++Copyright: Copyright (c) 2013 noamraph ++License: MIT diff --cc debian/patches/fix_32bit_ftbfs.patch index 0000000,0000000..9147e49 new file mode 100644 --- /dev/null +++ b/debian/patches/fix_32bit_ftbfs.patch @@@ -1,0 -1,0 +1,39 @@@ ++Author: Ben Keller ++Description: Fix issues with pointer size assumptions on 32-bit systems ++--- a/yt/utilities/lib/alt_ray_tracers.pyx +++++ b/yt/utilities/lib/alt_ray_tracers.pyx ++@@ -101,7 +101,7 @@ ++ rleft, rright, zleft, zright, \ ++ cleft, cright, thetaleft, thetaright, \ ++ tmleft, tpleft, tmright, tpright, tsect ++- cdef np.ndarray[np.int64_t, ndim=1, cast=True] inds, tinds, sinds +++ cdef np.ndarray[np.int_t, ndim=1, cast=True] inds, tinds, sinds ++ cdef np.ndarray[np.float64_t, ndim=2] xyz, rztheta, ptemp, b1, b2, dsect ++ ++ # set up points ++@@ -201,12 +201,12 @@ ++ tsect, dsect = _cart_intersect(p1cart, p2cart, _cyl2cart(b1), _cyl2cart(b2)) ++ tmask = np.logical_and(0.0<=tsect, tsect<=1.0) ++ ret = np.unique(tsect[tmask], return_index=True) ++- tsect, tinds = ret[0], ret[1].astype('int64') +++ tsect, tinds = ret[0], ret[1].astype('int') ++ inds = inds[tmask][tinds] ++ xyz = dsect[tmask][tinds] ++ s = np.sqrt(((xyz - p1cart) * (xyz - p1cart)).sum(axis=1)) ++ ret = np.unique(s, return_index=True) ++- s, sinds = ret[0], ret[1].astype('int64') +++ s, sinds = ret[0], ret[1].astype('int') ++ inds = inds[sinds] ++ xyz = xyz[sinds] ++ t = s/np.sqrt((dpcart*dpcart).sum()) ++--- a/yt/utilities/lib/misc_utilities.pyx +++++ b/yt/utilities/lib/misc_utilities.pyx ++@@ -437,7 +437,7 @@ ++ cdef np.float64_t z0 ++ alpha = np.zeros(4) ++ #the sources must be ordered along z to avoid edges when two overlap ++- idx = np.argsort(zs) +++ idx = np.asarray(np.argsort(zs), dtype='int64') ++ for j in idx: ++ r = radii[j] ++ r2 = int((r+0.3)*(r+0.3)) #0.3 to get nicer shape diff --cc debian/patches/fix_embedded_js_links.patch index 0000000,0000000..d147e33 new file mode 100644 --- /dev/null +++ b/debian/patches/fix_embedded_js_links.patch @@@ -1,0 -1,0 +1,17 @@@ ++Author: BW Keller ++Description: Use debian's built in jquery and leaflet ++--- a/yt/visualization/mapserver/html/map_index.html +++++ b/yt/visualization/mapserver/html/map_index.html ++@@ -2,9 +2,9 @@ ++ ++ ++ ++- ++- ++- +++ +++ +++ ++ ++ ++ diff --cc debian/patches/man-page.patch index 0000000,0000000..784ab12 new file mode 100644 --- /dev/null +++ b/debian/patches/man-page.patch @@@ -1,0 -1,0 +1,207 @@@ ++Author: Kacper Kowalik ++Description: Add man page for commandline utilities ++--- /dev/null +++++ b/doc/yt.1 ++@@ -0,0 +1,99 @@ +++.TH YT "1" "August 2015" "yt 3.2.3-1" "User Commands" +++.SH NAME +++yt \- command-line tool allowing to access some of yt's basic functionality without opening a python interpreter. +++.SH DESCRIPTION +++The tools is a collection of subcommands. These can quickly making plots of +++slices and projections through a dataset, updating yt's codebase, print +++basic statistics about a dataset, launch an IPython notebook session, and more. +++.TP +++usage: yt [\-h] [\-\-config CONFIG] [\-\-paste] [\-\-paste\-detailed] [\-\-detailed] [\-\-rpdb] [\-\-parallel] [\-\-version] subcommand +++.PP +++yt command line arguments +++.SS "optional arguments:" +++.TP +++\fB\-h\fR, \fB\-\-help\fR +++show this help message and exit +++.TP +++\fB\-\-config\fR CONFIG +++Set configuration option, in the form param=value +++.TP +++\fB\-\-paste\fR +++Paste traceback to paste.yt\-project.org +++.TP +++\fB\-\-paste\-detailed\fR +++Paste a detailed traceback with local variables to +++paste.yt\-project.org +++.TP +++\fB\-\-detailed\fR +++Display detailed traceback. +++.TP +++\fB\-\-rpdb\fR +++Enable remote pdb interaction (for parallel +++debugging). +++.TP +++\fB\-\-parallel\fR +++Run in MPI\-parallel mode (must be launched as an MPI +++task) +++.TP +++\fB\-\-version\fR +++show program's version number and exit +++.SS "subcommands:" +++.TP +++help +++Print help message +++.TP +++bugreport +++Report a bug in yt +++.TP +++hub_register +++Register a user on the Hub: http://hub.yt\-project.org/ +++.TP +++instinfo +++Get some information about the yt installation +++.TP +++version +++Get some information about the yt installation +++.TP +++load +++Load a single dataset into an IPython instance +++.TP +++mapserver +++Serve a plot in a GMaps\-style interface +++.TP +++pastebin +++Post a script to an anonymous pastebin +++.TP +++pastebin_grab +++Print an online pastebin to STDOUT for local use. +++.TP +++upload_notebook +++Upload an IPython notebook to hub.yt\-project.org. +++.TP +++plot +++Create a set of images +++.TP +++rpdb +++Connect to a currently running (on localhost) rpd +++session. Commands run with \fB\-\-rpdb\fR will trigger an rpdb +++session with any uncaught exceptions. +++.TP +++notebook +++Run the IPython Notebook +++.TP +++stats +++Print stats and max/min value of a given field (if +++requested), for one or more datasets (default field is +++density) +++.TP +++update +++Update the yt installation to the most recent version +++.TP +++upload_image +++Upload an image to imgur.com. Must be PNG. +++.SH AUTHORS +++.B yt +++was primarily written by yt Development Team. +++.SH "SEE ALSO" +++Full documentation for the +++.B yt +++commandline can be found at http://yt-project.org/doc/ ++--- /dev/null +++++ b/doc/iyt.1 ++@@ -0,0 +1,45 @@ +++.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. +++.TH IYT "1" "April 2016" "iyt 3.2.3-1" "User Commands" +++.SH NAME +++iyt \- iyt - Tools for Interactive Computing with yt and Python +++.SH DESCRIPTION +++usage: iyt [\-h] [\-\-config CONFIG] [\-\-paste] [\-\-paste\-detailed] [\-\-detailed] +++.IP +++[\-\-rpdb] [\-\-parallel] +++.PP +++yt command line arguments +++.SS "optional arguments:" +++.TP +++\fB\-h\fR, \fB\-\-help\fR +++show this help message and exit +++.TP +++\fB\-\-config\fR CONFIG +++Set configuration option, in the form param=value +++.TP +++\fB\-\-paste\fR +++Paste traceback to paste.yt\-project.org +++.TP +++\fB\-\-paste\-detailed\fR +++Paste a detailed traceback with local variables to paste +++\&.yt\-project.org +++.TP +++\fB\-\-detailed\fR +++Display detailed traceback. +++.TP +++\fB\-\-rpdb\fR +++Enable remote pdb interaction (for parallel debugging). +++.TP +++\fB\-\-parallel\fR +++Run in MPI\-parallel mode (must be launched as an MPI task) +++.SH "SEE ALSO" +++The full documentation for +++.B iyt +++is maintained as a Texinfo manual. If the +++.B info +++and +++.B iyt +++programs are properly installed at your site, the command +++.IP +++.B info iyt +++.PP +++should give you access to the complete manual. ++--- /dev/null +++++ b/doc/yt_lodgeit.1 ++@@ -0,0 +1,52 @@ +++.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. +++.TH YT_LODGEIT.PY "1" "April 2016" "yt_lodgeit.py 3.2.3-1" "User Commands" +++.SH NAME +++yt_lodgeit.py \- yt_lodgeit - pastebin tool for yt +++.SH SYNOPSIS +++.B yt_lodgeit.py +++[\fI\,options\/\fR] [\fI\,FILE \/\fR...] +++.SH DESCRIPTION +++Read the files and paste their contents to http://paste.yt\-project.org/. +++If no file is given, read from standard input. +++If multiple files are given, they are put into a single paste. +++.SH OPTIONS +++.TP +++\fB\-h\fR, \fB\-\-help\fR +++show this help message and exit +++.TP +++\fB\-v\fR, \fB\-\-version\fR +++Print script version +++.TP +++\fB\-L\fR, \fB\-\-languages\fR +++Retrieve a list of supported languages +++.TP +++\fB\-l\fR LANGUAGE, \fB\-\-language\fR=\fI\,LANGUAGE\/\fR +++Used syntax highlighter for the file +++.TP +++\fB\-e\fR ENCODING, \fB\-\-encoding\fR=\fI\,ENCODING\/\fR +++Specify the encoding of a file (default is utf\-8 or +++guessing if available) +++.TP +++\fB\-b\fR, \fB\-\-open\-browser\fR +++Open the paste in a web browser +++.TP +++\fB\-p\fR, \fB\-\-private\fR +++Paste as private +++.TP +++\fB\-\-no\-clipboard\fR +++Don't copy the url into the clipboard +++.TP +++\fB\-\-download\fR=\fI\,UID\/\fR +++Download a given paste +++.SH "SEE ALSO" +++The full documentation for +++.B yt_lodgeit.py +++is maintained as a Texinfo manual. If the +++.B info +++and +++.B yt_lodgeit.py +++programs are properly installed at your site, the command +++.IP +++.B info yt_lodgeit.py +++.PP +++should give you access to the complete manual. diff --cc debian/patches/series index 0000000,0000000..f10d105 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,3 @@@ ++fix_embedded_js_links.patch ++fix_32bit_ftbfs.patch ++man-page.patch diff --cc debian/python-yt.lintian-overrides index 0000000,0000000..57762f4 new file mode 100644 --- /dev/null +++ b/debian/python-yt.lintian-overrides @@@ -1,0 -1,0 +1,8 @@@ ++# iyt and yt are helper scripts, this is primarily a library ++python-yt: library-package-name-for-application ++python-yt: application-in-library-section ++ ++# Don't need to worry about this for our fortran libraries ++python-yt: hardening-no-fortify-functions ++python-yt: hardening-no-bindnow ++ diff --cc debian/python-yt.manpages index 0000000,0000000..edc2b9c new file mode 100644 --- /dev/null +++ b/debian/python-yt.manpages @@@ -1,0 -1,0 +1,3 @@@ ++doc/yt2.1 ++doc/iyt2.1 ++doc/yt_lodgeit2.1 diff --cc debian/python3-yt.lintian-overrides index 0000000,0000000..b1bcbc1 new file mode 100644 --- /dev/null +++ b/debian/python3-yt.lintian-overrides @@@ -1,0 -1,0 +1,8 @@@ ++# iyt and yt are helper scripts, this is primarily a library ++python3-yt: library-package-name-for-application ++python3-yt: application-in-library-section ++ ++# Don't need to worry about this for our fortran libraries ++python3-yt: hardening-no-fortify-functions ++python3-yt: hardening-no-bindnow ++ diff --cc debian/python3-yt.manpages index 0000000,0000000..2e3a6d0 new file mode 100644 --- /dev/null +++ b/debian/python3-yt.manpages @@@ -1,0 -1,0 +1,3 @@@ ++doc/yt.1 ++doc/iyt.1 ++doc/yt_lodgeit.1 diff --cc debian/rules index 0000000,0000000..c78ad4d new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,0 +1,40 @@@ ++#!/usr/bin/make -f ++#export DH_VERBOSE=1 ++ ++export PYBUILD_NAME=yt ++export http_proxy=127.0.0.1:9 ++export HOME=$(CURDIR)/debian/home ++ ++%: ++ dh $@ --with python2,python3 --buildsystem=pybuild ++ ++override_dh_clean: ++ dh_clean ++ rm -rf .eggs/ ++ ++override_dh_auto_install: ++ dh_auto_install ++ rm $(CURDIR)/debian/python*-yt/usr/lib/python*/dist-packages/yt/extern/tqdm/LICENSE ++ rm $(CURDIR)/debian/python*-yt/usr/lib/python*/dist-packages/yt/frontends/artio/artio_headers/LICENSE ++ rm $(CURDIR)/debian/python-yt/usr/lib/python*/dist-packages/yt/frontends/artio/_artio_caller.c ++ rm $(CURDIR)/debian/python*-yt/usr/lib/python*/dist-packages/yt/analysis_modules/halo_finding/fof/README ++ rm $(CURDIR)/debian/python*-yt/usr/lib/python*/dist-packages/yt/analysis_modules/halo_finding/hop/README ++ rm $(CURDIR)/debian/python*-yt/usr/lib/python*/dist-packages/yt/utilities/poster/README ++ mv $(CURDIR)/debian/python-yt/usr/bin/yt $(CURDIR)/debian/python-yt/usr/bin/yt2 ++ mv $(CURDIR)/debian/python-yt/usr/bin/iyt $(CURDIR)/debian/python-yt/usr/bin/iyt2 ++ mkdir -p $(CURDIR)/debian/python-yt/usr/share/doc/python-yt/ ++ mkdir -p $(CURDIR)/debian/python3-yt/usr/share/doc/python3-yt/ ++ gzip -9 -c doc/source/reference/changelog.rst > $(CURDIR)/debian/python-yt/usr/share/doc/python-yt/changelog.gz ++ gzip -9 -c doc/source/reference/changelog.rst > $(CURDIR)/debian/python3-yt/usr/share/doc/python3-yt/changelog.gz ++ ++override_dh_installman: ++ cp doc/yt.1 doc/yt2.1 ++ cp doc/iyt.1 doc/iyt2.1 ++ cp doc/yt_lodgeit.1 doc/yt_lodgeit2.1 ++ dh_installman ++ ++ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ++override_dh_auto_test: ++ mkdir -p $(HOME) ++ python setup.py build_ext -i && nosetests ++endif diff --cc debian/source/format index 0000000,0000000..163aaf8 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/tests/control index 0000000,0000000..bff83d3 new file mode 100644 --- /dev/null +++ b/debian/tests/control @@@ -1,0 -1,0 +1,7 @@@ ++Test-Command: cd $ADTTMP && python3 -c "import yt; exit(yt.run_nose())" ++Depends: python3-yt ++Restrictions: allow-stderr ++ ++Test-Command: cd $ADTTMP && python -c "import yt; exit(yt.run_nose())" ++Depends: python-yt ++Restrictions: allow-stderr diff --cc debian/upstream/metadata index 0000000,0000000..b537953 new file mode 100644 --- /dev/null +++ b/debian/upstream/metadata @@@ -1,0 -1,0 +1,16 @@@ ++Bug-Database: https://github.com/yt-project/yt/issues ++Contact: yt-dev@lists.spacepope.org ++Gallery: https://yt-project.org/gallery.html ++Name: yt ++Reference: ++ Author: Turk, M.J. and Smith, B.D. and Oishi, J.S. and Skory, S. and ++ Skillman, S.W. and Abel, T. and Norman, M.L. ++ DOI: 10.1088/0067-0049/192/1/9 ++ Eprint: https://arxiv.org/pdf/1011.3514 ++ Journal: ApJS ++ Pages: 9 ++ Volume: 192 ++ Year: 2011 ++ Title: "yt: A Multi-code Analysis Toolkit for Astrophysical Simulation Data" ++ URL: https://adsabs.harvard.edu/abs/2011ApJS..192....9T ++Repository: https://github.com/yt-project/yt/ diff --cc debian/watch index 0000000,0000000..dcda989 new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,3 @@@ ++version=3 ++opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ ++https://pypi.debian.net/yt/yt-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))