Control: tags 938097 + patch
Control: tags 938097 + pending

Dear maintainer,

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

Regards.

diff -Nru python-pysolr-3.8.1/debian/changelog python-pysolr-3.8.1/debian/changelog
--- python-pysolr-3.8.1/debian/changelog	2018-12-31 18:02:00.000000000 -0500
+++ python-pysolr-3.8.1/debian/changelog	2019-10-24 20:20:51.000000000 -0400
@@ -1,3 +1,10 @@
+python-pysolr (3.8.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #938097
+
+ -- Sandro Tosi <mo...@debian.org>  Thu, 24 Oct 2019 20:20:51 -0400
+
 python-pysolr (3.8.1-1) unstable; urgency=medium
 
    * New upstream release.
diff -Nru python-pysolr-3.8.1/debian/control python-pysolr-3.8.1/debian/control
--- python-pysolr-3.8.1/debian/control	2018-12-31 18:02:00.000000000 -0500
+++ python-pysolr-3.8.1/debian/control	2019-10-24 20:20:21.000000000 -0400
@@ -4,30 +4,11 @@
 Maintainer: Ulises Vitulli <der...@debian.org>
 Build-Depends: debhelper (>= 11),
  dh-python,
- python (>= 2.7),
- python-setuptools-scm,
  python3-all,
  python3-setuptools-scm,
 Standards-Version: 4.3.0
 Homepage: https://github.com/toastdriven/pysolr
 
-Package: python-pysolr
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends},
- python-simplejson
-Recommends: python-httplib2
-Suggests: python-beautifulsoup
-Description: lightweight Python wrapper for querying Apache Solr
- This module provides an interface that queries the Apache Solr server using
- a pure Python implementation and returns the results based on the query
- .
- Features:
-  * Basic operations such as selecting, updating & deleting.
-  * Index optimization.
-  * "More Like This" support (if setup in Solr).
-  * Spelling correction (if setup in Solr).
-  * Timeout support.
-
 Package: python3-pysolr
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}
diff -Nru python-pysolr-3.8.1/debian/rules python-pysolr-3.8.1/debian/rules
--- python-pysolr-3.8.1/debian/rules	2018-12-31 18:02:00.000000000 -0500
+++ python-pysolr-3.8.1/debian/rules	2019-10-24 20:20:47.000000000 -0400
@@ -4,13 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PYVERS :=  $(shell pyversions -s)
-PY3VERS := $(shell py3versions -s)
-
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
-
-override_dh_auto_build:
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean
@@ -19,16 +14,4 @@
 	rm -f .hgignore
 	rm -f .hgtags
 
-override_dh_auto_install:
-	set -ex; \
-	for py in $(PYVERS); do \
-		$$py setup.py install --root debian/python-pysolr \
-				      --install-layout=deb; \
-	done
-	set -ex; \
-	for py in $(PY3VERS); do \
-		$$py setup.py install --root debian/python3-pysolr \
-				      --install-layout=deb; \
-	done
-
 override_dh_auto_test:

Reply via email to