Package: autodocktools Version: 1.5.4.cvs.20090603-1 Severity: serious Tags: patch User: debian-pyt...@lists.debian.org Usertags: python2.6
autodocktools package is uninstallable due to hardcoded Python version, attached patch fixes it. PS consider using priveate directory for AutoDockTools module (--install-lib=/usr/share/autodocktools/)
diff -u autodocktools-1.5.4.cvs.20090603/debian/control autodocktools-1.5.4.cvs.20090603/debian/control --- autodocktools-1.5.4.cvs.20090603/debian/control +++ autodocktools-1.5.4.cvs.20090603/debian/control @@ -5,9 +5,9 @@ DM-Upload-Allowed: yes XS-Autobuild: yes Uploaders: Steffen Moeller <moel...@debian.org>, Sargis Dallakyan <sar...@scripps.edu> -Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6), cdbs (>= 0.4), python2.5-dev +Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6), cdbs (>= 0.4), python, quilt Standards-Version: 3.8.1 -XS-Python-Version: 2.5 +XS-Python-Version: >= 2.5 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/autodocktools/trunk/?rev=0&sc=0 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mgltools/autodocktools/trunk/ Homepage: http://autodock.scripps.edu/ diff -u autodocktools-1.5.4.cvs.20090603/debian/rules autodocktools-1.5.4.cvs.20090603/debian/rules --- autodocktools-1.5.4.cvs.20090603/debian/rules +++ autodocktools-1.5.4.cvs.20090603/debian/rules @@ -8,7 +8,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk -#include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk install:: find . -name runAdt | xargs -r chmod +x diff -u autodocktools-1.5.4.cvs.20090603/debian/changelog autodocktools-1.5.4.cvs.20090603/debian/changelog --- autodocktools-1.5.4.cvs.20090603/debian/changelog +++ autodocktools-1.5.4.cvs.20090603/debian/changelog @@ -1,3 +1,14 @@ +autodocktools (1.5.4.cvs.20090603-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Change XS-Python-Version from "2.5" to ">= 2.5" to enable byte-compilation + for other Python versions + * Replace python2.5-dev with python in Build-Depends + * Add fix_shebangs.patch to fix wrong dependencies generated by pycentral + (quilt added to build dependencies) + + -- Piotr Ożarowski <pi...@debian.org> Tue, 22 Jun 2010 23:01:28 +0200 + autodocktools (1.5.4.cvs.20090603-1) unstable; urgency=low * New upstream version. only in patch2: unchanged: --- autodocktools-1.5.4.cvs.20090603.orig/debian/patches/fix_shebangs.patch +++ autodocktools-1.5.4.cvs.20090603/debian/patches/fix_shebangs.patch @@ -0,0 +1,30 @@ +Index: autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt +=================================================================== +--- autodocktools-1.5.4.cvs.20090603.orig/AutoDockTools/bin/adt ++++ autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python2.5 ++#!/usr/bin/env python + # + + import sys +Index: autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt3 +=================================================================== +--- autodocktools-1.5.4.cvs.20090603.orig/AutoDockTools/bin/adt3 ++++ autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt3 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python2.5 ++#!/usr/bin/env python + # + import sys, getopt + +Index: autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt4 +=================================================================== +--- autodocktools-1.5.4.cvs.20090603.orig/AutoDockTools/bin/adt4 ++++ autodocktools-1.5.4.cvs.20090603/AutoDockTools/bin/adt4 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python2.5 ++#!/usr/bin/env python + # + import sys, getopt + only in patch2: unchanged: --- autodocktools-1.5.4.cvs.20090603.orig/debian/patches/series +++ autodocktools-1.5.4.cvs.20090603/debian/patches/series @@ -0,0 +1 @@ +fix_shebangs.patch