Control: tags 937914 + patch
Control: tags 937914 + pending

Dear maintainer,

I've prepared an NMU for python-memcache (versioned as 1.59-1.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru python-memcache-1.59/debian/changelog python-memcache-1.59/debian/changelog
--- python-memcache-1.59/debian/changelog	2018-09-05 19:18:05.000000000 -0400
+++ python-memcache-1.59/debian/changelog	2019-10-25 15:52:36.000000000 -0400
@@ -1,3 +1,10 @@
+python-memcache (1.59-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937914
+
+ -- Sandro Tosi <mo...@debian.org>  Fri, 25 Oct 2019 15:52:36 -0400
+
 python-memcache (1.59-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru python-memcache-1.59/debian/control python-memcache-1.59/debian/control
--- python-memcache-1.59/debian/control	2018-09-05 19:18:05.000000000 -0400
+++ python-memcache-1.59/debian/control	2019-10-25 15:51:44.000000000 -0400
@@ -8,15 +8,10 @@
 Build-Depends:
  debhelper (>= 9),
  dh-python,
- python-all,
- python-setuptools,
  python3-all,
  python3-setuptools,
 Build-Depends-Indep:
  memcached,
- python-mock,
- python-nose,
- python-six,
  python3-mock,
  python3-nose,
  python3-six,
@@ -25,21 +20,6 @@
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-memcache
 Homepage: https://github.com/linsomniac/python-memcached
 
-Package: python-memcache
-Architecture: all
-Depends:
- python-six,
- ${misc:Depends},
- ${python:Depends},
-Suggests:
- memcached,
-Description: pure Python memcached client
- This software is a 100% Python interface to the memcached memory cache
- daemon. It is the client side software which allows storing values in
- one or more, possibly remote, memcached servers.
- .
- This package contains the Python 2.x module.
-
 Package: python3-memcache
 Architecture: all
 Depends:
diff -Nru python-memcache-1.59/debian/rules python-memcache-1.59/debian/rules
--- python-memcache-1.59/debian/rules	2018-09-05 19:18:05.000000000 -0400
+++ python-memcache-1.59/debian/rules	2019-10-25 15:52:36.000000000 -0400
@@ -1,19 +1,14 @@
 #!/usr/bin/make -f
 
-PYTHONS:=$(shell pyversions -vr)
 PYTHON3S:=$(shell py3versions -vr)
 
 UPSTREAM_GIT := https://github.com/linsomniac/python-memcached.git
 -include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python2,python3
+	dh $@ --buildsystem=pybuild --with python3
 
 override_dh_install:
-	set -e && for pyvers in $(PYTHONS); do \
-		python$$pyvers setup.py install --install-layout=deb \
-			--root $(CURDIR)/debian/python-memcache; \
-	done
 	set -e && for pyvers in $(PYTHON3S); do \
 		python$$pyvers setup.py install --install-layout=deb \
 			--root $(CURDIR)/debian/python3-memcache; \
@@ -23,7 +18,7 @@
 override_dh_auto_test:
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 	chmod +x debian/setup-test-env-memcached.sh
-	set -e ; set -x ; for i in 2.7 $(PYTHON3S) ; do \
+	set -e ; set -x ; for i in $(PYTHON3S) ; do \
 		PYMAJOR=`echo $$i | cut -d'.' -f1` ; \
 		echo "===> Testing with python$$i (python$$PYMAJOR)" ; \
 		debian/setup-test-env-memcached.sh python$$i -m nose -v ; \
diff -Nru python-memcache-1.59/debian/tests/control python-memcache-1.59/debian/tests/control
--- python-memcache-1.59/debian/tests/control	2018-09-05 19:18:05.000000000 -0400
+++ python-memcache-1.59/debian/tests/control	2019-10-25 15:52:28.000000000 -0400
@@ -1,3 +1 @@
-Test-Command: python -c "import memcache; print memcache.__version__"
-
 Test-Command: python3 -c "import memcache; print(memcache.__version__)"

Reply via email to