Skip to content
Snippets Groups Projects
Commit 58966f1b authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

few minor fixes

parent 6d63d2ad
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ install-dev: ...@@ -19,7 +19,7 @@ install-dev:
install-runtime: install-runtime:
$(INSTALL) -m 755 -d $(DESTDIR)$(PREFIX)/share/python/debpython $(DESTDIR)$(PREFIX)/bin $(INSTALL) -m 755 -d $(DESTDIR)$(PREFIX)/share/python/debpython $(DESTDIR)$(PREFIX)/bin
$(INSTALL) -m 644 debpython/*py $(DESTDIR)$(PREFIX)/share/python/debpython/ $(INSTALL) -m 644 debpython/*.py $(DESTDIR)$(PREFIX)/share/python/debpython/
$(INSTALL) -m 755 pycompile $(DESTDIR)$(PREFIX)/bin/ $(INSTALL) -m 755 pycompile $(DESTDIR)$(PREFIX)/bin/
$(INSTALL) -m 755 pyclean $(DESTDIR)$(PREFIX)/bin/ $(INSTALL) -m 755 pyclean $(DESTDIR)$(PREFIX)/bin/
......
python-defaults (2.6.5-9) UNRELEASED; urgency=low python-defaults (2.6.5-9) unstable; urgency=low
[ Piotr Ożarowski ] [ Piotr Ożarowski ]
* pyclean, pycompile: use .communicate() instead of .wait() to avoid hanging * pyclean, pycompile: use .communicate() instead of .wait() to avoid hanging
...@@ -10,7 +10,7 @@ python-defaults (2.6.5-9) UNRELEASED; urgency=low ...@@ -10,7 +10,7 @@ python-defaults (2.6.5-9) UNRELEASED; urgency=low
* Require python (>= 2.6.5-9~) in generated dependencies to use the fixed * Require python (>= 2.6.5-9~) in generated dependencies to use the fixed
pycompile. pycompile.
-- Piotr Ożarowski <piotr@debian.org> Sat, 17 Jul 2010 18:58:23 +0200 -- Piotr Ożarowski <piotr@debian.org> Mon, 19 Jul 2010 20:27:50 +0200
python-defaults (2.6.5-8) unstable; urgency=low python-defaults (2.6.5-8) unstable; urgency=low
......
...@@ -59,9 +59,6 @@ Description: header files and a static library for Python (default) ...@@ -59,9 +59,6 @@ Description: header files and a static library for Python (default)
Python modules, extending the Python interpreter or embedding Python Python modules, extending the Python interpreter or embedding Python
in applications. in applications.
. .
Includes the Python distutils, which were in a separate package up to
version 1.5.2.
.
This package is a dependency package, which depends on Debian's default This package is a dependency package, which depends on Debian's default
Python version (currently v2.6). Python version (currently v2.6).
......
...@@ -59,9 +59,6 @@ Description: header files and a static library for Python (default) ...@@ -59,9 +59,6 @@ Description: header files and a static library for Python (default)
Python modules, extending the Python interpreter or embedding Python Python modules, extending the Python interpreter or embedding Python
in applications. in applications.
. .
Includes the Python distutils, which were in a separate package up to
version 1.5.2.
.
This package is a dependency package, which depends on Debian's default This package is a dependency package, which depends on Debian's default
Python version (currently v@VER@). Python version (currently v@VER@).
......
...@@ -103,6 +103,7 @@ clean: control-file ...@@ -103,6 +103,7 @@ clean: control-file
fi; \ fi; \
done done
rm -f debian/*.py[co] rm -f debian/*.py[co]
make clean
dh_clean dh_clean
stamp-control: stamp-control:
......
...@@ -139,7 +139,7 @@ class Dependencies(object): ...@@ -139,7 +139,7 @@ class Dependencies(object):
vr = options.vrange vr = options.vrange
if vr: if vr:
args += "-V %s" % vrange_str(vr) args += "-V %s" % vrange_str(vr)
if vr[0]: # minumum version specified if vr[0]: # minimum version specified
self.depend("python (>= %s)" % vrepr(vr[0])) self.depend("python (>= %s)" % vrepr(vr[0]))
if vr[1]: # maximum version specified if vr[1]: # maximum version specified
self.depend("python (<< %s)" % vrepr(vr[1])) self.depend("python (<< %s)" % vrepr(vr[1]))
......
...@@ -112,7 +112,7 @@ def guess_dependency(req, version=None): ...@@ -112,7 +112,7 @@ def guess_dependency(req, version=None):
data = load() data = load()
req_dict = REQUIRES_RE.match(req) req_dict = REQUIRES_RE.match(req)
if not req: if not req_dict:
log.warning('requirement is not valid: %s', req) log.warning('requirement is not valid: %s', req)
log.info('please ask dh_python2 author to fix REQUIRES_RE ' log.info('please ask dh_python2 author to fix REQUIRES_RE '
'or your upstream author to fix requires.txt') 'or your upstream author to fix requires.txt')
......
...@@ -444,9 +444,7 @@ def main(): ...@@ -444,9 +444,7 @@ def main():
if options.skip_private: if options.skip_private:
private_dir = False private_dir = False
if options.verbose: if options.verbose or os.environ.get('DH_VERBOSE') == '1':
log.setLevel(logging.INFO)
if os.environ.get('DH_VERBOSE') == '1':
log.setLevel(logging.DEBUG) log.setLevel(logging.DEBUG)
log.debug('argv: %s', sys.argv) log.debug('argv: %s', sys.argv)
log.debug('options: %s', options) log.debug('options: %s', options)
......
...@@ -7,7 +7,7 @@ test%: ...@@ -7,7 +7,7 @@ test%:
clean: clean:
rm -f *\.dsc *\.tar\.gz *\.build *\.changes *\.deb rm -f *\.dsc *\.tar\.gz *\.build *\.changes *\.deb
(cd t1; fakeroot ./debian/rules clean) (cd t1; ./debian/rules clean)
@find . -name '*\.egg-info' -exec rm -rf "{}" \; || true @find . -name '*\.egg-info' -exec rm -rf "{}" \; || true
.PHONY: clean .PHONY: clean
#! /usr/bin/python #! /usr/bin/python
# -*- coding: UTF-8 -*- # -*- coding: UTF-8 -*-
from setuptools import setup, find_packages try:
from setuptools import setup, find_packages
except ImportError:
exit()
setup(name='Foo', setup(name='Foo',
version=0.1, version=0.1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment