--- nwsclient-1.6.4.orig/debian/changelog +++ nwsclient-1.6.4/debian/changelog @@ -0,0 +1,102 @@ +nwsclient (1.6.4-8build1) precise; urgency=low + + * Rebuild to drop python2.6 dependencies. + + -- Matthias Klose Sat, 31 Dec 2011 02:05:53 +0000 + +nwsclient (1.6.4-8) unstable; urgency=low + + * debian/*: Updated to use new dh_python2 scheme (Closes: #616918) + * debian/control: Remove Build-Depends: on python-central + + * debian/control: Set (Build-)Depends: to current R version + * debian/control: Set Standards-Version: to current version + + -- Dirk Eddelbuettel Wed, 08 Jun 2011 20:37:33 -0500 + +nwsclient (1.6.4-7) unstable; urgency=low + + * nws/babelfish, examples/*.py: Convert from string exception + (Closes: #585310) + + -- Dirk Eddelbuettel Fri, 08 Oct 2010 16:53:33 -0500 + +nwsclient (1.6.4-6) unstable; urgency=low + + * debian/control: Trying this one more time ... (Closes: #598221) + Thanks to Cyril Brulebois for catching the issue and non-fix. + + -- Dirk Eddelbuettel Mon, 27 Sep 2010 12:37:09 -0500 + +nwsclient (1.6.4-5) unstable; urgency=low + + * debian/control: Revert thinko from yesterday and return package to + 'Architecture: all' as it was before (Closes: #598221) + + -- Dirk Eddelbuettel Mon, 27 Sep 2010 11:02:43 -0500 + +nwsclient (1.6.4-4) unstable; urgency=low + + * Rebuilt using current Python to skip Python 2.5 + * debian/rules: Hard-wired python2.6 as Python version + + -- Dirk Eddelbuettel Sun, 26 Sep 2010 17:36:47 -0500 + +nwsclient (1.6.4-3) unstable; urgency=low + + * Rebuilt using current Python to skip Python 2.4 (Closes: #562419) + + -- Dirk Eddelbuettel Thu, 24 Dec 2009 09:57:23 -0600 + +nwsclient (1.6.4-2) unstable; urgency=low + + * debian/rules: Applied patch by Kumar Appaiah to build with Python 2.6 + (Closes: #556148) + + -- Dirk Eddelbuettel Sat, 14 Nov 2009 13:23:54 -0600 + +nwsclient (1.6.4-1) unstable; urgency=low + + * New upstream release + + * debian/watch: Corrected based on uscan(1) suggested sf.net redirect + + * debian/control: Updated Standards-Version: to current version + + -- Dirk Eddelbuettel Tue, 20 Oct 2009 10:51:59 -0500 + +nwsclient (1.6.3-1) unstable; urgency=low + + * New upstream release + + * debian/control: Updated Standards-Version: to current version + * debian/watch: Added Dehs.alioth.org version as package watch file + + * scripts/PythonNWSSleighWorker: Corrected Bashism (Closes: #480612) + + -- Dirk Eddelbuettel Sun, 11 May 2008 09:39:48 -0500 + +nwsclient (1.6.2-1) unstable; urgency=low + + * New upstream release, and initial Debian upload + + -- Dirk Eddelbuettel Fri, 02 Nov 2007 12:22:09 -0500 + +nwsclient (1.6.1-0.2) unstable; urgency=low + + * debian/control: Don't depend on python-nwsserver + + -- Dirk Eddelbuettel Thu, 18 Oct 2007 11:32:07 -0500 + +nwsclient (1.6.1-0.1) unstable; urgency=low + + * Second (local) packaging round, based on new release-candidate sources + from Stephen B. Weston + + -- Dirk Eddelbuettel Fri, 12 Oct 2007 21:51:48 -0500 + +nwsclient (1.4.3.1-0.local.1) unstable; urgency=low + + * Initial (local) packaging + + -- Dirk Eddelbuettel Thu, 12 Apr 2007 10:23:34 -0500 --- nwsclient-1.6.4.orig/debian/rules +++ nwsclient-1.6.4/debian/rules @@ -0,0 +1,101 @@ +#!/usr/bin/make -f +# debian/rules file for the Debian GNU/Linux nwsclient package +# Copyright 2004 - 2011 by Dirk Eddelbuettel + +package := python-nwsclient +debbase := $(CURDIR)/debian +debtmp := $(debbase)/$(package) + +pyvers = $(shell pyversions -r debian/control) + +compilerflags = -O2 -Wall + +include /usr/share/python/python.mk + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +get-orig-source: upstream +upstream: + links http://prdownloads.sourceforge.net/nws-py + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + for python in $(pyvers); \ + do CFLAGS="$(compilerflags)" $$python setup.py build ; \ + done + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) clean + for python in $(pyvers); \ + do $$python setup.py clean; \ + done + -rm -f `find . -name "*~"` + -rm -rf debian/tmp debian/files* core debian/substvars + -rm -f config.cache config.status + -rm -rf build/* + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + for python in $(pyvers); \ + do $$python setup.py install \ + --root=debian/$(package) \ + --prefix=/usr $(py_setup_install_args) \ + --install-layout=deb; \ + done + + rm -vf debian/$(package)/usr/bin/*.py + rm -rf debian/$(package)/usr/share/doc/nws-python/ + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs README README.Sleigh doc/* + dh_installexamples examples/* +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installcatalogs +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_undocumented + dh_installman + dh_link + dh_compress + dh_fixperms + dh_perl +# dh_pycentral +# dh_pysupport + dh_python2 + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- nwsclient-1.6.4.orig/debian/control +++ nwsclient-1.6.4/debian/control @@ -0,0 +1,22 @@ +Source: nwsclient +Section: python +Priority: optional +Maintainer: Dirk Eddelbuettel +Standards-Version: 3.9.1 +XS-Python-Version: all +Build-Depends: debhelper (>= 7.0.0), python, python-all (>= 2.3.5-10) + +Package: python-nwsclient +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} +Provides: ${python:Provides} +Suggests: python-nwsserver +Description: NetWorkSpaces client for distributed Python applications + This Debian package provides the NetWorkSpaces client which makes it easy to + use computing clusters from within Python. + . + See http://www.ddj.com/web-development/200001971 for a recent overview + article on NetWorkSpaces. + . + The python-nwsserver package provides the corresponding server. + --- nwsclient-1.6.4.orig/debian/copyright +++ nwsclient-1.6.4/debian/copyright @@ -0,0 +1,16 @@ +This is the Debian GNU/Linux nwsclient package of NetWorkSpaces, a +package providing an client to the NetWorkSpaces Server for +distributed applications written in Python or R. NetWorkSpaces was +written by REvolution Computing, Inc (formerly Scientific Computing +Associates, Inc) with contributions by Gregory R. Warnes. + +This package was created by Dirk Eddelbuettel . +The sources where downloaded from a sourceforge mirror website at + http://sourceforge.net/project/showfiles.php?group_id=157211 + +Copyright (C) 2005 - 2008 REvolution Computing, Inc. + +License: GPL + +On a Debian GNU/Linux system, the GPL license is included in the +directory /usr/share/common-licenses/ . --- nwsclient-1.6.4.orig/debian/pycompat +++ nwsclient-1.6.4/debian/pycompat @@ -0,0 +1 @@ +2 --- nwsclient-1.6.4.orig/debian/watch +++ nwsclient-1.6.4/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \ +http://sf.net/nws-py/nwsclient-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate --- nwsclient-1.6.4.orig/debian/compat +++ nwsclient-1.6.4/debian/compat @@ -0,0 +1 @@ +5 --- nwsclient-1.6.4.orig/examples/longvalue.py +++ nwsclient-1.6.4/examples/longvalue.py @@ -46,7 +46,7 @@ elif opt == '-v': skw['verbose'] = 1 else: - raise 'internal error: out-of-sync with getopt' + raise Exception('internal error: out-of-sync with getopt') if not fname: print >> sys.stderr, 'error: must use -f option to specify a file' --- nwsclient-1.6.4.orig/examples/batchqueueing.py +++ nwsclient-1.6.4/examples/batchqueueing.py @@ -43,7 +43,7 @@ elif opt == '-v': verbose = 1 else: - raise 'internal error: out-of-sync with getopt' + raise Exception('internal error: out-of-sync with getopt') if not host: print >> sys.stderr, 'the -h option is required' --- nwsclient-1.6.4.orig/examples/store.py +++ nwsclient-1.6.4/examples/store.py @@ -28,7 +28,7 @@ elif opt == '-v': skw['verbose'] = 1 else: - raise 'internal error: out-of-sync with getopt' + raise Exception('internal error: out-of-sync with getopt') if len(args) > 0: skw['launch'] = sshcmd --- nwsclient-1.6.4.orig/examples/sleighdemo.py +++ nwsclient-1.6.4/examples/sleighdemo.py @@ -63,7 +63,7 @@ elif opt == '-c': skw['workerCount'] = int(arg) else: - raise 'internal error: out-of-sync with getopt' + raise Exception('internal error: out-of-sync with getopt') # if no nodes are specified, start three on the local machine if len(args) > 0: --- nwsclient-1.6.4.orig/examples/nonblocking.py +++ nwsclient-1.6.4/examples/nonblocking.py @@ -31,7 +31,7 @@ elif opt == '-v': skw['verbose'] = 1 else: - raise 'internal error: out-of-sync with getopt' + raise Exception('internal error: out-of-sync with getopt') if not skw.get('launch'): if len(args) > 0: --- nwsclient-1.6.4.orig/examples/ring.py +++ nwsclient-1.6.4/examples/ring.py @@ -42,7 +42,7 @@ elif opt == '-v': skw['verbose'] = 1 else: - raise 'internal error: out-of-sync with getopt' + raise Exception('internal error: out-of-sync with getopt') if not skw.get('launch'): if len(args) > 0: --- nwsclient-1.6.4.orig/examples/pping.py +++ nwsclient-1.6.4/examples/pping.py @@ -68,7 +68,7 @@ elif opt == '-u': skw['user'] = arg else: - raise 'internal error: out-of-sync with getopt' + raise Exception('internal error: out-of-sync with getopt') if skw.get('launch') and skw.get('workerCount'): print >> sys.stderr, 'warning: workerCount is ignored when not using local launch' --- nwsclient-1.6.4.orig/examples/bcmd.py +++ nwsclient-1.6.4/examples/bcmd.py @@ -20,7 +20,7 @@ elif opt == '-v': verbose = 1 else: - raise 'internal error: out-of-sync with getopt' + raise Exception('internal error: out-of-sync with getopt') if len(args) == 0: print >> sys.stderr, 'no workers specified' --- nwsclient-1.6.4.orig/examples/chat3.py +++ nwsclient-1.6.4/examples/chat3.py @@ -59,7 +59,7 @@ elif opt == '-u': user = arg else: - raise 'internal error: out-of-sync with getopt' + raise Exception('internal error: out-of-sync with getopt') if args: print >> sys.stderr, "illegal argument(s) specified:", " ".join(args) --- nwsclient-1.6.4.orig/examples/ncp.py +++ nwsclient-1.6.4/examples/ncp.py @@ -28,7 +28,7 @@ elif opt == '-p': nkw['serverPort'] = int(arg) else: - raise 'internal error: out-of-sync with getopt' + raise Exception('internal error: out-of-sync with getopt') if len(args) < 1: op = 'ls' # default operation --- nwsclient-1.6.4.orig/nws/babelfish.py +++ nwsclient-1.6.4/nws/babelfish.py @@ -52,7 +52,7 @@ elif opt == '-p': port = int(arg) else: - raise 'internal error: out-of-sync with getopt' + raise Exception('internal error: out-of-sync with getopt') if len(args) > 0: print >> sys.stderr, 'ignoring unused arguments:', args