Hi folks, since it worked out pretty well with my more simple question I'm impudent enough to come up with a more tricky question: I need to tackle
git://anonscm.debian.org/debian-med/pysam.git as a predependency of another package but it seems I need to tweek the build process initially says: dh_auto_clean Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.34.tar.gz Traceback (most recent call last): File "setup.py", line 131, in <module> use_setuptools() File "/home/tillea/debian-maintain/alioth/debian-med_git/build-area/pysam-0.7.5/distribute_setup.py", line 152, in use_setuptools return _do_download(version, download_base, to_dir, download_delay) File "/home/tillea/debian-maintain/alioth/debian-med_git/build-area/pysam-0.7.5/distribute_setup.py", line 131, in _do_download to_dir, download_delay) File "/home/tillea/debian-maintain/alioth/debian-med_git/build-area/pysam-0.7.5/distribute_setup.py", line 201, in download_setuptools src = urlopen(url) File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 442, in error result = self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 404, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 422, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 111] Connection refused> dh_auto_clean: python setup.py clean -a returned exit code 1 How can I prevent the build process from trying to download something and start straightly using Debian packaged setup tools? Once this probably simple question is solved I'd like to come up with a more tricky one: The Python modules are using libraries which are just packaged (samtools + tabix). I wonder how I could tweak the build process to use the Debian packaged versions in favour of the code copies here? Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140207161218.gb10...@an3as.eu