Package: python-memory-profiler
Version: 0.52-1
Severity: normal
Tags: patch  pending


Dear maintainer,

I've prepared an upload for python-memory-profiler (versioned as 0.52-2) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

This removes python 2 support (I have the changes in git, but i cant upload as i
dont have access to debian-science repos yet, i've just requested access).

Regards.

diff -Nru python-memory-profiler-0.52/debian/changelog python-memory-profiler-0.52/debian/changelog
--- python-memory-profiler-0.52/debian/changelog	2018-02-22 09:47:15.000000000 -0500
+++ python-memory-profiler-0.52/debian/changelog	2019-08-22 19:30:48.000000000 -0400
@@ -1,3 +1,13 @@
+python-memory-profiler (0.52-2) unstable; urgency=medium
+
+  * Team upload.
+  * Drop python 2 support
+  * debian/control
+    - drop obsolete X-P-V fields
+    - bump Standards-Version to 4.4.0 (no changes needed)
+
+ -- Sandro Tosi <mo...@debian.org>  Thu, 22 Aug 2019 19:30:48 -0400
+
 python-memory-profiler (0.52-1) unstable; urgency=medium
 
   * New upstream version 0.52
diff -Nru python-memory-profiler-0.52/debian/control python-memory-profiler-0.52/debian/control
--- python-memory-profiler-0.52/debian/control	2018-02-22 09:47:15.000000000 -0500
+++ python-memory-profiler-0.52/debian/control	2019-08-22 19:30:48.000000000 -0400
@@ -6,30 +6,13 @@
 Build-Depends: debhelper (>= 11),
                dh-python (>= 2.20160818),
                dpkg-dev (>= 1.17.14),
-               python-all,
-               python-psutil <!nocheck>,
-               python-setuptools,
                python3-all,
                python3-psutil <!nocheck>,
                python3-setuptools
-Standards-Version: 4.1.3
+Standards-Version: 4.4.0
 Vcs-Browser: https://salsa.debian.org/science-team/python-memory-profiler
 Vcs-Git: https://salsa.debian.org/science-team/python-memory-profiler.git
 Homepage: https://github.com/fabianp/memory_profiler
-X-Python-Version: >= 2.6
-X-Python3-Version: >= 3.2
-
-Package: python-memory-profiler
-Architecture: all
-Depends: ${misc:Depends},
-         ${python:Depends},
-         python-psutil
-Description: memory consumption analysis for Python programs (Python 2)
- This is a Python module for monitoring memory consumption of a process
- as well as line-by-line analysis of memory consumption for Python
- programs.
- .
- This package provides the modules for Python 2.
 
 Package: python3-memory-profiler
 Architecture: all
diff -Nru python-memory-profiler-0.52/debian/python-memory-profiler.docs python-memory-profiler-0.52/debian/python-memory-profiler.docs
--- python-memory-profiler-0.52/debian/python-memory-profiler.docs	2018-02-22 09:47:15.000000000 -0500
+++ python-memory-profiler-0.52/debian/python-memory-profiler.docs	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-README.rst
diff -Nru python-memory-profiler-0.52/debian/python-memory-profiler.examples python-memory-profiler-0.52/debian/python-memory-profiler.examples
--- python-memory-profiler-0.52/debian/python-memory-profiler.examples	2018-02-22 09:47:15.000000000 -0500
+++ python-memory-profiler-0.52/debian/python-memory-profiler.examples	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-examples/*
diff -Nru python-memory-profiler-0.52/debian/rules python-memory-profiler-0.52/debian/rules
--- python-memory-profiler-0.52/debian/rules	2018-02-22 09:47:15.000000000 -0500
+++ python-memory-profiler-0.52/debian/rules	2019-08-22 19:30:48.000000000 -0400
@@ -2,10 +2,10 @@
 #export DH_VERBOSE=1
 export PYBUILD_NAME=memory-profiler
 
-export PYBUILD_DISABLE_python2=test
+export PYBUILD_DISABLE_python3=test
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom PYBUILD_BEFORE_TEST="cp -rf test/ Makefile {build_dir}" \
@@ -15,7 +15,5 @@
 
 override_dh_auto_install:
 	dh_auto_install
-	mv $(CURDIR)/debian/python-memory-profiler/usr/bin/mprof \
-	    $(CURDIR)/debian/python-memory-profiler/usr/bin/python-mprof
 	mv $(CURDIR)/debian/python3-memory-profiler/usr/bin/mprof \
 	    $(CURDIR)/debian/python3-memory-profiler/usr/bin/python3-mprof

Reply via email to