debian/0000775000000000000000000000000012316544727007203 5ustar debian/python-memprof.manpages0000664000000000000000000000002112203411720013652 0ustar debian/mp_plot.1 debian/source/0000775000000000000000000000000012234553706010477 5ustar debian/source/format0000664000000000000000000000001412203411720011666 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000202212204165534011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: python-memprof Source: https://github.com/jmdana/memprof Files: * Copyright: 2013 Jose M. Dana License: GPL-3.0 Files: debian/* Copyright: 2013 Javi Merino License: GPL-3.0 License: GPL-3.0 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation (version 3 of the License only). . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/changelog0000664000000000000000000000405212316544727011056 0ustar python-memprof (0.3.3-2build2) trusty; urgency=medium * No change rebuild to drop python3.3 compiled extension. -- Dimitri John Ledkov Tue, 01 Apr 2014 15:14:47 +0100 python-memprof (0.3.3-2build1) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 19:37:33 +0000 python-memprof (0.3.3-2) unstable; urgency=low [ Javi Merino ] * Bump standards-version to 3.9.5 (no change needed) [ Martin Pitt ] * Add missing python3-pkg-resources dependency (spotted by autopkgtest). -- Javi Merino Thu, 31 Oct 2013 22:18:46 +0000 python-memprof (0.3.3-1) unstable; urgency=low * New upstream release * Fix "autopkgtest fails, and does not test installed package" by actually testing the installed package instead of testing a build (Closes: #728083) -- Javi Merino Mon, 28 Oct 2013 21:59:11 +0000 python-memprof (0.3.2-1) unstable; urgency=low * New upstream release * python2-testsuite prints to stderr, so tell autopkgtest * Add python3 autopkgtest * Drop patches from_upstream__no_tornado_nose.patch, from_upstream__run_the_example_when_asked_to_run_tests.patch and from_upstream__testsuite_is_now_independent.patch as they're now included upstream -- Javi Merino Sun, 20 Oct 2013 22:29:06 +0100 python-memprof (0.3.1-1) unstable; urgency=low * New upstream release * Convert to arch: any as memprof now needs cython * Install demo.py in examples/ * Depend on python-pkg-resources * Provide a Python3 version of the package * Drop python-nose and python-tornado dependencies by importing ecb69a2 (use recommended way of getting the version number) from upstream * Run the testsuite when building * Add autopkgtest support -- Javi Merino Sun, 29 Sep 2013 15:26:14 +0100 python-memprof (0.2.4-1) unstable; urgency=low * Initial release (Closes: #714110) -- Javi Merino Thu, 15 Aug 2013 11:55:39 +0200 debian/control0000664000000000000000000000325612316544727010614 0ustar Source: python-memprof Section: python Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Python Applications Packaging Team Uploaders: Javi Merino Build-Depends: debhelper (>= 9), python-dev (>= 2.6.6-3~), python3-all-dev, python-setuptools, python3-setuptools, cython, cython3, python-matplotlib, python3-matplotlib, python-nose, python-tornado, Standards-Version: 3.9.5 Homepage: http://jmdana.github.io/memprof/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-memprof/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-memprof/trunk/ X-Python-Version: >= 2.7 X-Python3-Version: >= 3.3 XS-Testsuite: autopkgtest Package: python-memprof Architecture: any Depends: python-pkg-resources, ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, Description: memory profiler for Python (Python 2) python-memprof logs the memory used by variables during the execution of decorated methods. It creates a report in a text file and you can plot the result using "mp_plot". . This package contains the Python 2 version of memprof. Package: python3-memprof Architecture: any Depends: python3-pkg-resources, ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, Recommends: python-memprof Description: memory profiler for Python (Python 3) python-memprof logs the memory used by variables during the execution of decorated methods. It creates a report in a text file and you can plot the result using "mp_plot", which is part of the python-memprof package. . This package contains the Python 3 version of memprof. debian/python3-memprof.install0000664000000000000000000000002112221127427013620 0ustar usr/lib/python3* debian/rules0000775000000000000000000000135612222017651010253 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PYTHON2=$(shell pyversions -vr) PYTHON3=$(shell py3versions -vr) # Prevent setuptools/distribute from accessing the internet. export http_proxy = http://127.0.0.1:9 %: dh $@ --with python2,python3 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) test-python%: python$* setup.py test -vv override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%) endif build-python%: python$* setup.py build override_dh_auto_build: $(PYTHON3:%=build-python%) dh_auto_build install-python%: python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb override_dh_auto_install: $(PYTHON3:%=install-python%) dh_auto_install debian/watch0000664000000000000000000000036512203411720010215 0ustar # Compulsory line, this is a version 3 file version=3 # rune for GitHub from https://wiki.debian.org/debian/watch/ opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/memprof-$1.tar.gz/ \ https://github.com/jmdana/memprof/tags .*/v?(\d\S*)\.tar\.gz debian/python-memprof.install0000664000000000000000000000004112221133216013530 0ustar usr/lib/python2* usr/bin/mp_plot debian/python-memprof.examples0000664000000000000000000000004212220763052013707 0ustar examples/demo.py examples/foo.png debian/mp_plot.10000664000000000000000000000073012203411720010714 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3. .TH MP_PLOT.PY "1" "August 2013" "mp_plot.py 0.2.3" "User Commands" .SH NAME mp_plot \- mp_plot .SH DESCRIPTION usage: mp_plot [\-h] [\-t THRESHOLD] logfiles [logfiles ...] .SS "positional arguments:" .TP logfiles the logfiles .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-t\fR THRESHOLD, \fB\-\-threshold\fR THRESHOLD threshold (default: 1048576 bytes) debian/patches/0000775000000000000000000000000012234553706010626 5ustar debian/patches/deb_specific__dont_require_argparse.patch0000664000000000000000000000117412231004733021040 0ustar Author: Javi Merino Description: don't require argparse It's included in python by default in >= 2.7 and >= 3.2 . It confuses dh_python3 and it's not really needed for Debian, so just drop the requiremenet. --- a/setup.py +++ b/setup.py @@ -84,8 +84,8 @@ setup( "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", ], ext_modules=[getsize], - requires=['argparse','matplotlib','cython'], - install_requires=['argparse','matplotlib','cython'], + requires=['matplotlib','cython'], + install_requires=['matplotlib','cython'], provides=['memprof'], test_suite = "testsuite", ) debian/patches/series0000664000000000000000000000005212231005022012014 0ustar deb_specific__dont_require_argparse.patch debian/compat0000664000000000000000000000000212203411720010356 0ustar 9 debian/python-memprof.docs0000664000000000000000000000001212203411720013007 0ustar README.md debian/tests/0000775000000000000000000000000012234553706010341 5ustar debian/tests/python2-testsuite0000664000000000000000000000007112233550222013701 0ustar #!/bin/sh exec python -m unittest discover -s testsuite debian/tests/control0000664000000000000000000000023212222370254011731 0ustar Tests: python2-testsuite Depends: python-memprof Restrictions: allow-stderr Tests: python3-testsuite Depends: python3-memprof Restrictions: allow-stderr debian/tests/python3-testsuite0000775000000000000000000000007212233550220013704 0ustar #!/bin/sh exec python3 -m unittest discover -s testsuite