--- bicyclerepair-0.9.orig/README.vim +++ bicyclerepair-0.9/README.vim @@ -1,2 +1,5 @@ -Instructions for installing bike.vim are in the file itself. -See ide-integration/bike.vim \ No newline at end of file +The vim plugin is installed automatically on Debian. + +Instructions for debugging it, and installing it from source are in the +vim plugin, installed as /usr/share/vim/vim62/plugin/bike.vim, and present +in the source as ide-integration/bike.vim --- bicyclerepair-0.9.orig/bike/query/getPackageDependencies.py +++ bicyclerepair-0.9/bike/query/getPackageDependencies.py @@ -2,5 +2,4 @@ # fileInPackage is the filename of a file in the package hierarchy def getPackageDependencies(fileInPackage): - - + pass --- bicyclerepair-0.9.orig/debian/README.Debian +++ bicyclerepair-0.9/debian/README.Debian @@ -0,0 +1,12 @@ +bicyclerepair for Debian +------------------------ + +To start using bicyclerepair, see the upstream README. documentation in +/usr/share/doc/bicyclerepair. + +The vim plugin requires enabling via vim-addons install python_bike, and having +'filetype plugin on' set in your ~/.vimrc or similar configuration file. +Without that setting, ftplugins are not loaded and the BicycleRepair functions +will not be available. + + -- Robert Collins --- bicyclerepair-0.9.orig/debian/changelog +++ bicyclerepair-0.9/debian/changelog @@ -0,0 +1,95 @@ +bicyclerepair (0.9-6.2) unstable; urgency=medium + + * Non-maintainer upload. + * Bumped DH level to 10. (Closes: #817376) + * debian/control: + - Added the ${misc:Depends} variable to Depends field. + - Bumped Standards-Version to 3.9.8. + + -- Joao Eriberto Mota Filho Mon, 19 Dec 2016 00:23:08 -0200 + +bicyclerepair (0.9-6.1) unstable; urgency=low + + * Non-maintainer upload. + * Convert to dh_python2 (Closes: #616746). + + -- Luca Falavigna Sun, 26 May 2013 21:38:16 +0200 + +bicyclerepair (0.9-6) unstable; urgency=low + + * Add binary-arch rules target. Closes:395580 + * Change emacs loader code to use python-mode-map rather than py-mode-map. + Closes: 380590 + + + -- Robert Collins Sun, 20 Sep 2009 15:40:53 +1000 + +bicyclerepair (0.9-5) unstable; urgency=low + + * Conform with Vim addon policy. Closes: #464817 + * Move debhelper depends to B-D, to fix + clean-should-be-satisfied-by-build-depends. + * Improve documentation in README.Debian. + + -- Robert Collins Sun, 20 Sep 2009 14:42:43 +1000 + +bicyclerepair (0.9-4.3) unstable; urgency=low + + * NMU. Rebuild to move files to /usr/share/pyshared. Closes: #490451. + + -- Matthias Klose Fri, 18 Jul 2008 17:37:17 +0000 + +bicyclerepair (0.9-4.2) unstable; urgency=low + + * Fix uscan file to work with new silly sf.net stuff. (Closes: #449743) + + -- Robert Collins Wed, 07 Nov 2007 15:49:19 +1100 + +bicyclerepair (0.9-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Update to new Python policy (Closes: #378664) + * Bump standards version to 3.7.2 + + -- Torsten Marek Wed, 19 Jul 2006 11:22:29 +0200 + +bicyclerepair (0.9-4ubuntu1) dapper; urgency=low + + * debian/dirs, debian/rules: + - Install vim module as ftplugin to only get bicyclerepair menu for python + files. Closes: LP#26296 + - Drop the obsolete vim62 and vim63 folders. + + -- Martin Pitt Mon, 3 Apr 2006 18:40:09 +0200 + +bicyclerepair (0.9-4) unstable; urgency=low + + * Update standards-version. + * Add a suggests to pymacs. Closes: #262275 + * Move plugin bike.vim to new vim-common location. Closes: #322743 + + -- Robert Collins Thu, 24 Nov 2005 11:48:36 +1100 + +bicyclerepair (0.9-3) unstable; urgency=low + + * build-depend on python-dev. Closes: #257938 + + -- Robert Collins Sat, 17 Jul 2004 15:05:23 +1000 + +bicyclerepair (0.9-2) unstable; urgency=low + + * Loosened the suggests: to include vim 6.3. + * Add a vim 6.3 copy of the vim ide integration. closes: #257804 + + -- Robert Collins Tue, 6 Jul 2004 17:28:00 +1000 + +bicyclerepair (0.9-1) unstable; urgency=low + + * Initial package upload. closes: #251862 + * Bugfixed ide-integration/BicycleRepairMan_Idle.py which had non-breaking + spaces in it. + * Bugfixed invalid syntax in bike/query/getPackageDependencies.py. + + + -- Robert Collins Sun, 30 May 2004 01:06:47 +1000 + --- bicyclerepair-0.9.orig/debian/compat +++ bicyclerepair-0.9/debian/compat @@ -0,0 +1 @@ +10 --- bicyclerepair-0.9.orig/debian/control +++ bicyclerepair-0.9/debian/control @@ -0,0 +1,19 @@ +Source: bicyclerepair +Section: devel +Priority: optional +Maintainer: Robert Collins +Build-Depends: debhelper (>= 10) +Build-Depends-Indep: python-all-dev (>= 2.6.6-3~) +Homepage: http://bicyclerepair.sourceforge.net/ +Standards-Version: 3.9.8 + +Package: bicyclerepair +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Provides: ${python:Provides} +Suggests: vim-python (>= 1:6.2) | idle | pymacs +Recommends: vim-addon-manager +Description: A refactoring tool for python + A framework and refactoring tool for Python. IDE Plugins are included for + Pymacs, IDLE and Vim. Using Bicycle Repair Man you can rename classes, methods + and variables, and all users of them are found and adjusted appropriately. --- bicyclerepair-0.9.orig/debian/copyright +++ bicyclerepair-0.9/debian/copyright @@ -0,0 +1,41 @@ +This package was debianized by Robert Collins on +Sun, 30 May 2004 00:22:34 +1000. + +It was downloaded from http://umn.dl.sourceforge.net/sourceforge/bicyclerepair/bicyclerepair-0.9.tar.gz + +Upstream Authors: Shae Erisson , Phil Dawes + +Copyright: + +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) 2000 by Shae Erisson +Copyright (c) 2001 by Phil Dawes + +All rights reserved. + +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, and/or sell copies of the Software, and to permit persons +to whom the Software is furnished to do so, provided that the above +copyright notice(s) and this permission notice appear in all copies of +the Software and that both the above copyright notice(s) and this +permission notice appear in supporting documentation. + +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 +OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL +INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING +FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION +WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, use +or other dealings in this Software without prior written authorization +of the copyright holder. + --- bicyclerepair-0.9.orig/debian/debuild-command.ex +++ bicyclerepair-0.9/debian/debuild-command.ex @@ -0,0 +1 @@ +debuild -i"\{arch\}|.arch-ids|,,.*" --- bicyclerepair-0.9.orig/debian/dirs +++ bicyclerepair-0.9/debian/dirs @@ -0,0 +1,2 @@ +usr/share/vim/addons/ftplugin +usr/share/vim/registry --- bicyclerepair-0.9.orig/debian/docs +++ bicyclerepair-0.9/debian/docs @@ -0,0 +1,5 @@ +NEWS +README +README.emacs +README.idle +README.vim --- bicyclerepair-0.9.orig/debian/rules +++ bicyclerepair-0.9/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +PYTHONS=$(shell pyversions -vr debian/control) + +build: build-stamp + +build-stamp: + dh_testdir + + # Add here commands to compile the package. + #/usr/bin/docbook-to-man debian/bicyclerepair.sgml > bicyclerepair.1 + #python setup.py build -b build + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -rf build + find . -name "*.pyc" | xargs -r rm + #rm -rf debian/pbicyclerepair + dh_clean + +install: build + dh_testdir + dh_testroot + dh_installdirs + for version in ${PYTHONS};\ + do\ + python$$version setup.py install --no-compile --root=debian/bicyclerepair --install-layout=deb;\ + done + cp ide-integration/bike.vim debian/bicyclerepair/usr/share/vim/addons/ftplugin/python_bike.vim + cp debian/vim-python_bike.yaml debian/bicyclerepair/usr/share/vim/registry/ + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install + dh_installman + dh_compress + dh_fixperms + dh_python2 + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep +.PHONY: build clean binary-indep binary-arch binary install configure --- bicyclerepair-0.9.orig/debian/vim-python_bike.yaml +++ bicyclerepair-0.9/debian/vim-python_bike.yaml @@ -0,0 +1,4 @@ +addon: python_bike +description: Python refactoring tool +files: + - ftplugin/python_bike.vim --- bicyclerepair-0.9.orig/debian/watch +++ bicyclerepair-0.9/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=3 +http://sf.net/bicyclerepair/bicyclerepair-([\d\.]*)\.tar\.gz debian update --- bicyclerepair-0.9.orig/ide-integration/BicycleRepairMan_Idle.py +++ bicyclerepair-0.9/ide-integration/BicycleRepairMan_Idle.py @@ -300,21 +300,21 @@ return 1 -    def confirm_buffer_is_saved(self, editwin): -        if not editwin.get_saved(): -            name = (editwin.short_title()or -            editwin.long_title()or -            "Untitled") -            reply = tkMessageBox.askokcancel("Bicycle Repair Man", -                "The buffer for %s is not saved.\n\n"%name+ -                "Save it and continue?", -                master = self.editwin.text) -          &nbs p; self.editwin.text.focus_set() -            if reply: -                editwin.io.save(None) -            else: -                return 0 -        return 1 + def confirm_buffer_is_saved(self, editwin): + if not editwin.get_saved(): + name = (editwin.short_title()or + editwin.long_title()or + "Untitled") + reply = tkMessageBox.askokcancel("Bicycle Repair Man", + "The buffer for %s is not saved.\n\n"%name+ + "Save it and continue?", + master = self.editwin.text) + self.editwin.text.focus_set() + if reply: + editwin.io.save(None) + else: + return 0 + return 1 def errorbox(self, title, message): tkMessageBox.showerror(title, message, master = self.editwin.text) --- bicyclerepair-0.9.orig/ide-integration/bikeemacs.py +++ bicyclerepair-0.9/ide-integration/bikeemacs.py @@ -64,7 +64,7 @@ lisp(""" (defvar brm-menu nil "Menu for Bicycle Repair Man") (easy-menu-define - brm-menu py-mode-map "Bicycle Repair Man" + brm-menu python-mode-map "Bicycle Repair Man" '("BicycleRepairMan" "Queries" ["Find-References" brm-find-references]