debian/0000755000000000000000000000000012175513167007176 5ustar debian/compat0000644000000000000000000000000212136005551010362 0ustar 8 debian/changelog0000644000000000000000000000114112175513167011045 0ustar python-pyds9 (1.7-1) unstable; urgency=low * New upstream version -- Ole Streicher Mon, 29 Jul 2013 12:05:17 +0200 python-pyds9 (1.6-1) unstable; urgency=low * Change distribution to unstable -- Ole Streicher Wed, 24 Apr 2013 18:35:49 +0200 python-pyds9 (1.6-1~exp1) experimental; urgency=low * New upstream version -- Ole Streicher Mon, 18 Feb 2013 10:05:34 +0100 python-pyds9 (1.4-1) unstable; urgency=low * Initial release. (Closes: #679111) -- Ole Streicher Wed, 27 Jun 2012 09:40:16 +0200 debian/control0000644000000000000000000000173212136005551010572 0ustar Source: python-pyds9 Section: python Priority: optional Maintainer: Debian Science Maintainers Uploaders: Ole Streicher Build-Depends: debhelper (>= 8.0), python (>= 2.6.6-2~) Standards-Version: 3.9.4 Homepage: http://hea-www.harvard.edu/saord/ds9/pyds9/ Vcs-Git: git://anonscm.debian.org/debian-science/packages/python-pyds9.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/python-pyds9.git Package: python-pyds9 Architecture: all Depends: libxpa1, ${misc:Depends}, ${python:Depends} Recommends: saods9, python-numpy, python-astropy, xpa-tools Description: Communication with the ds9 image display program The XPA messaging system provides seamless communication between many kinds of Unix programs, including Tcl/Tk programs such as ds9. The pyds9 module uses a Python interface to XPA to communicate with ds9. It supports communication with all of ds9’s XPA access points. debian/copyright0000644000000000000000000000453712136005551011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pyds9 Upstream-Author: Bill Joye and Eric Mandel Source: http://hea-www.harvard.edu/saord/ds9/ Files: * Copyright: Copyright (c) 1999-2003 Smithsonian Astrophysical Observatory License: LGPLv2.1 On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. Files: xpa-2.1.14/install-sh Copyright: Copyright 1991 by the Massachusetts Institute of Technology License: MIT + advertising clause Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of M.I.T. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. M.I.T. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. Files: xpa-2.1.14/mklib Copyright: Copyright (C) 1999-2006 Brian Paul License: MIT/X11 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 BRIAN PAUL 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: debian/* Copyright: not applicable License: public-domain Debian packaging by Ole Streicher debian/watch0000644000000000000000000000026712136005551010222 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://hea-www.harvard.edu/RD/ds9/site/Download.html \ http://hea-www.harvard.edu/.+/pyds9-(.*)\.tar\.gz \ debian \ uupdate debian/patches/0000755000000000000000000000000012175513167010625 5ustar debian/patches/series0000644000000000000000000000003112136005551012022 0ustar use-default-xpalib.patch debian/patches/use-default-xpalib.patch0000644000000000000000000000332512175513167015344 0ustar Author: Ole Streicher Description: Don't install and use the convienience copy provided in the source, but use the one installed by the "libxpa1" package. --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ # make command for xpa xpadir='xpa-2.1.15' -def make(which): +def _disabled_make(which): curdir=os.getcwd() srcDir=os.path.join(os.path.dirname(os.path.abspath(__file__)),xpadir) os.chdir(srcDir) @@ -80,8 +80,4 @@ author_email='saord@cfa.harvard.edu', url='http://hea-www.harvard.edu/saord/ds9/', py_modules=['ds9', 'xpa'], - data_files=[('', [xpadir+'/'+xpalib, xpadir+'/'+xpans])], - cmdclass = {'build_py': my_build_py, \ - 'install_data': my_install_data, \ - 'clean': my_clean }, ) --- a/xpa.py +++ b/xpa.py @@ -27,7 +27,7 @@ return _fname return None -_libpath=_find_shlib('xpa') +_libpath='libxpa.so.1' if _libpath: libxpa=ctypes.cdll.LoadLibrary(_libpath) _ulist=platform.uname() --- a/ds9.py +++ b/ds9.py @@ -93,18 +93,8 @@ of ds9 is displayed. """ if xpa.xpaaccess("xpans", None, 1) == None: - _cmd = False - # look in install directories for xpans - for _dir in sys.path: - _fname = os.path.join(_dir, ds9Globals["progs"][0]) - if os.path.exists(_fname): - _cmd = True - break - # look in development directory - if not _cmd: - _fname = './xpa/' + ds9Globals["progs"][0] - if os.path.exists(_fname): - _cmd = True + _fname = ds9Globals["progs"][0] + _cmd = True if _cmd: # start up xpans subprocess.Popen([_fname, "-e"]) debian/rules0000755000000000000000000000015412136005551010244 0ustar #!/usr/bin/make -f %: dh $@ --with python2 override_dh_installchangelogs: dh_installchangelogs changelogdebian/source/0000755000000000000000000000000012175513167010476 5ustar debian/source/lintian-overrides0000644000000000000000000000016012175513167014054 0ustar # Don't complain about files in an unused convienience copy python-pyds9 source: outdated-autotools-helper-file debian/source/format0000644000000000000000000000001412136005551011672 0ustar 3.0 (quilt)