--- snakefood-1.4.orig/debian/changelog +++ snakefood-1.4/debian/changelog @@ -0,0 +1,43 @@ +snakefood (1.4-2) unstable; urgency=medium + + [ Jakub Wilk ] + * Use canonical URIs for Vcs-* fields. + + [ Andrey Rahmatullin ] + * Port from python-support to dh-python (Closes: #786114). + * Drop unnecessary XB-Python-Version. + + -- Python Applications Packaging Team Tue, 01 Sep 2015 23:44:54 +0500 + +snakefood (1.4-1) unstable; urgency=low + + * New upstream release + * debian/watch + - updated to use PyPi, new location for tarball releases + * debian/control + - let the package be compatible with Python version from 2.5 on (setting + XS-Python-Version accordingly); thanks to Alessio Treglia for the report + and to Piotr Ożarowski for suggestions; Closes: #527047 + - bump Standards-Version to 3.8.3 (no changes needed) + * debian/{rules, sfood*.1} + - removed manpages: they were merged into upstream tarball + * debian/copyright + - fixed debian copyright notice + * debian/snakefood.doc-base + - added doc-base + + -- Sandro Tosi Wed, 07 Oct 2009 20:58:05 +0200 + +snakefood (1.3.1-2) unstable; urgency=low + + * debian/control + - set PAPT as maintainer + - set me as uploader + + -- Sandro Tosi Sun, 04 Jan 2009 03:24:21 +0100 + +snakefood (1.3.1-1) unstable; urgency=low + + * Initial release (Closes: #510350) + + -- Sandro Tosi Sun, 04 Jan 2009 02:33:07 +0100 --- snakefood-1.4.orig/debian/compat +++ snakefood-1.4/debian/compat @@ -0,0 +1 @@ +7 --- snakefood-1.4.orig/debian/control +++ snakefood-1.4/debian/control @@ -0,0 +1,57 @@ +Source: snakefood +Section: python +Priority: optional +Maintainer: Python Applications Packaging Team +Uploaders: Sandro Tosi +Build-Depends: debhelper (>= 7), python, dh-python +Standards-Version: 3.8.3 +Homepage: http://furius.ca/snakefood/ +Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/snakefood/trunk/ +Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/snakefood/trunk/ +XS-Python-Version: >= 2.5 + +Package: snakefood +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Description: Python dependency grapher + Generate dependency graphs from Python code. This dependency tracker + package has a few distinguishing characteristics: + . + * It uses the AST to parse the Python files. This is very reliable, + it always runs. + * No module is loaded. Loading modules to figure out dependencies is + almost always problem, because a lot of codebases run + initialization code in the global namespace, which often requires + additional setup. Snakefood is guaranteed not to have this problem + (it just runs, no matter what). + * It works on a set of files, i.e. you do not have to specify a + single script, you can select a directory (package or else) or a + set of files. It finds all the Python files recursively + automatically. + * Automatic/no configuration: your PYTHONPATH is automatically + adjusted to include the required package roots. It figures out the + paths that are required from the files/directories given as + input. You should not have to setup ANYTHING. + * It does not have to automatically 'follow' dependencies between + modules, i.e. by default it only considers the files and + directories you specify on the command-line and their immediate + dependencies. It also has an option to automatically include only + the dependencies within the packages of the files you specify. + * It follows the UNIX philosophy of small programs that do one thing + well: it consists of a few simple programs whose outputs you + combine via pipes. + . + This package will install the following programs: + . + * sfood - detect import statements using the AST parser + * sfood-checker - check for superfluous import statements in Python source + code + * sfood-cluster - read snakefood dependencies from stdin and cluster according + to filenames + * sfood-copy - read a snakefood dependencies file and flatten and output the + list of all files + * sfood-flatten - read a snakefood dependencies file and flatten and output + the list of all files + * sfood-graph - read snakefood dependencies and output a visual graph + * sfood-imports - parse Python files and output a unified list of imported + symbols --- snakefood-1.4.orig/debian/copyright +++ snakefood-1.4/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Sandro Tosi on +Wed, 31 Dec 2008 22:05:03 +0100. + +It was downloaded from http://furius.ca/snakefood/ + +Upstream Author: + + Martin Blais + +Copyright: + + Copyright (C) 2001-2007 Martin Blais. All Rights Reserved. + +License: + + GPLv2+ + +On Debian systems, the complete text of the GNU General Public License v2 +can be found in `/usr/share/common-licenses/GPL-2' file. + +The Debian packaging is Copyright (C) 2009 Sandro Tosi and +is licensed under the same license as upstream code (see above). --- snakefood-1.4.orig/debian/docs +++ snakefood-1.4/debian/docs @@ -0,0 +1,6 @@ +README +TODO +doc/snakefood-doc.html +doc/snakefood-doc.txt +doc/*.png +doc/*.dia --- snakefood-1.4.orig/debian/links +++ snakefood-1.4/debian/links @@ -0,0 +1,7 @@ +/usr/share/snakefood/sfood /usr/bin/sfood +/usr/share/snakefood/sfood-checker /usr/bin/sfood-checker +/usr/share/snakefood/sfood-cluster /usr/bin/sfood-cluster +/usr/share/snakefood/sfood-copy /usr/bin/sfood-copy +/usr/share/snakefood/sfood-flatten /usr/bin/sfood-flatten +/usr/share/snakefood/sfood-graph /usr/bin/sfood-graph +/usr/share/snakefood/sfood-imports /usr/bin/sfood-imports --- snakefood-1.4.orig/debian/rules +++ snakefood-1.4/debian/rules @@ -0,0 +1,59 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + python setup.py build + + touch $@ + +clean: + dh_testdir + dh_testroot + + # Add here commands to clean up after the build process. + python setup.py clean + + [ ! -d build ] || rm -rf build + + dh_clean build-stamp + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # we'll install both scripts and module under /usr/share/snakefood + # and scripts will be symlinked into /usr/bin + python setup.py install --root=$(CURDIR)/debian/snakefood --install-lib=/usr/share/snakefood --install-scripts=/usr/share/snakefood + + +# Build architecture-dependent files here. +binary-arch: install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs + dh_python2 + dh_installman doc/manpages/sfood*.1 + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- snakefood-1.4.orig/debian/snakefood.doc-base +++ snakefood-1.4/debian/snakefood.doc-base @@ -0,0 +1,12 @@ +Document: snakefood +Title: Snakefood User Manual +Author: Martin Blais +Abstract: This is the documentation for Snakefood, a dependency graph generator for Python source code (written in Python). +Section: Programming + +Format: HTML +Index: /usr/share/doc/snakefood/snakefood-doc.html +Files: /usr/share/doc/snakefood/*.png + +Format: Text +Files: /usr/share/doc/snakefood/snakefood-doc.txt.gz --- snakefood-1.4.orig/debian/source/format +++ snakefood-1.4/debian/source/format @@ -0,0 +1 @@ +1.0 --- snakefood-1.4.orig/debian/watch +++ snakefood-1.4/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://pypi.python.org/packages/source/s/snakefood/snakefood-(.*)\.tar\.gz