Control: tags 943217 + patch

Dear maintainer,

I've prepared an NMU for pplpy (versioned as 0.8.4-3). The diff
is attached to this message.

apparently master is protected on git and i cant push to it..

Regards.

diff -Nru pplpy-0.8.4/debian/changelog pplpy-0.8.4/debian/changelog
--- pplpy-0.8.4/debian/changelog	2019-09-03 07:54:50.000000000 -0400
+++ pplpy-0.8.4/debian/changelog	2019-10-26 16:39:43.000000000 -0400
@@ -1,3 +1,10 @@
+pplpy (0.8.4-3) unstable; urgency=medium
+
+  * Team upload.
+  * Drop python2 support; Closes: #943217
+
+ -- Sandro Tosi <mo...@debian.org>  Sat, 26 Oct 2019 16:39:43 -0400
+
 pplpy (0.8.4-2) unstable; urgency=medium
 
   * Add upstream patch to fix doctests on 32 bit architectures.
diff -Nru pplpy-0.8.4/debian/control pplpy-0.8.4/debian/control
--- pplpy-0.8.4/debian/control	2019-09-03 07:54:24.000000000 -0400
+++ pplpy-0.8.4/debian/control	2019-10-26 16:23:58.000000000 -0400
@@ -6,7 +6,6 @@
 Build-Depends:
  debhelper (>= 11),
  dh-python (>= 3.20180313),
- cython (>= 0.26),
  cython3 (>= 0.26),
  libgmp-dev,
  libmpfr-dev,
@@ -14,15 +13,10 @@
  libppl-dev,
  libpari-dev,
  libjs-mathjax,
- python-all-dev,
  python3-all-dev,
- python-cysignals-pari (>= 1.8.1),
  python3-cysignals-pari (>= 1.8.1),
- python-gmpy2,
  python3-gmpy2,
- python-setuptools,
  python3-setuptools,
- python-sphinx,
  python3-sphinx,
 Standards-Version: 4.4.0
 X-Python3-Version: >= 3.7
@@ -30,16 +24,6 @@
 Vcs-Git: https://salsa.debian.org/science-team/pplpy.git
 Vcs-Browser: https://salsa.debian.org/science-team/pplpy
 
-Package: python-ppl
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-cysignals-pari
-Description: Python interface to PPL -- Python 2
- A Python interface to the C++ Parma Polyhedra Library (PPL),
- which allows computations with polyhedra and grids, like mixed
- integer linear programming.
- .
- This package installs the library for Python 2.
-
 Package: python3-ppl
 Architecture: any
 Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, python3-cysignals-pari
diff -Nru pplpy-0.8.4/debian/rules pplpy-0.8.4/debian/rules
--- pplpy-0.8.4/debian/rules	2019-09-03 07:54:24.000000000 -0400
+++ pplpy-0.8.4/debian/rules	2019-10-26 16:24:28.000000000 -0400
@@ -4,7 +4,7 @@
 export PYBUILD_NAME = ppl
 
 %:
-	dh $@ --with autoreconf --with python2,python3,sphinxdoc  --buildsystem=pybuild
+	dh $@ --with autoreconf --with python3,sphinxdoc  --buildsystem=pybuild
 
 override_dh_auto_build: export http_proxy=127.0.0.1:9
 override_dh_auto_build: export https_proxy=127.0.0.1:9
@@ -14,10 +14,6 @@
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
 override_dh_auto_test:
-	export PYTHONPATH=$(CURDIR)/.pybuild/cpython2_2.7_ppl/build && python2 tests/runtests.py
-	export PYTHONPATH=$(CURDIR)/.pybuild/cpython2_2.7_ppl/build && cd tests && python2 setup.py build_ext --inplace
-	export PYTHONPATH=$(CURDIR)/.pybuild/cpython2_2.7_ppl/build && cd tests && python2 setup2.py build_ext --inplace
-	export PYTHONPATH=$(CURDIR)/.pybuild/cpython2_2.7_ppl/build && cd tests && python2 -c "import testpplpy; testpplpy.test(); testpplpy.example(); import testpplpy2; testpplpy2.test(); testpplpy2.example()"
 	export PYTHONPATH=$(CURDIR)/.pybuild/cpython3_3.7_ppl/build && python3 tests/runtests.py
 	export PYTHONPATH=$(CURDIR)/.pybuild/cpython3_3.7_ppl/build && cd tests && python3 setup.py build_ext --inplace
 	export PYTHONPATH=$(CURDIR)/.pybuild/cpython3_3.7_ppl/build && cd tests && python3 setup2.py build_ext --inplace
diff -Nru pplpy-0.8.4/debian/tests/control pplpy-0.8.4/debian/tests/control
--- pplpy-0.8.4/debian/tests/control	2019-07-19 09:34:24.000000000 -0400
+++ pplpy-0.8.4/debian/tests/control	2019-10-26 16:24:40.000000000 -0400
@@ -1,7 +1,3 @@
-Tests: upstreamtestsuite2
-Depends: python-ppl
-Restrictions: allow-stderr
-
 Tests: upstreamtestsuite3
 Depends: python3-ppl
 Restrictions: allow-stderr
diff -Nru pplpy-0.8.4/debian/tests/upstreamtestsuite2 pplpy-0.8.4/debian/tests/upstreamtestsuite2
--- pplpy-0.8.4/debian/tests/upstreamtestsuite2	2019-07-19 09:34:24.000000000 -0400
+++ pplpy-0.8.4/debian/tests/upstreamtestsuite2	1969-12-31 19:00:00.000000000 -0500
@@ -1,3 +0,0 @@
-#!/bin/sh
-set -e
-python2 tests/runtests.py

Reply via email to