Control: tags 896358 + patch
Control: tags 896385 + patch
Control: tags 937760 + patch


Dear maintainer,

I've prepared an NMU for python-flask-rdf (versioned as 0.2.1-1.1). The diff
is attached to this message.

I've uploaded directly to unstable as it fixes 2 RC bugs opened for more than a
year.

Regards.

diff -Nru python-flask-rdf-0.2.1/debian/changelog python-flask-rdf-0.2.1/debian/changelog
--- python-flask-rdf-0.2.1/debian/changelog	2018-07-08 12:12:13.000000000 -0400
+++ python-flask-rdf-0.2.1/debian/changelog	2019-10-12 23:34:58.000000000 -0400
@@ -1,3 +1,11 @@
+python-flask-rdf (0.2.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937760, #896385
+  * add python3-rdflib to Depends; Closes: #896358
+
+ -- Sandro Tosi <mo...@debian.org>  Sat, 12 Oct 2019 23:34:58 -0400
+
 python-flask-rdf (0.2.1-1) unstable; urgency=medium
 
   * New upstream version 0.2.1
diff -Nru python-flask-rdf-0.2.1/debian/control python-flask-rdf-0.2.1/debian/control
--- python-flask-rdf-0.2.1/debian/control	2018-07-08 12:00:19.000000000 -0400
+++ python-flask-rdf-0.2.1/debian/control	2019-10-12 23:34:01.000000000 -0400
@@ -4,42 +4,21 @@
 Priority: optional
 Build-Depends: debhelper (>= 11),
                dh-python,
-               python-all,
                python3-all,
-               python-setuptools,
                python3-setuptools,
-               python-mimeparse (>= 0.1.4),
                python3-mimeparse,
-               python-rdflib,
                python3-rdflib
 Standards-Version: 4.1.4
 Vcs-Browser: https://salsa.debian.org/irl/python-flask-rdf
 Vcs-Git: https://salsa.debian.org/irl/python-flask-rdf.git
 Homepage: https://pypi.python.org/pypi/flask_rdf
 
-Package: python-flask-rdf
-Architecture: all
-Depends: ${python:Depends},
-         ${misc:Depends},
-         python-mimeparse (>= 0.1.4)
-Description: Flask decorator to output RDF using content negotiation (Python 2)
- Apply the @flask_rdf decorator to a view function and return an rdflib
- Graph object. Flask_rdf will automatically format it into an RDF output
- format, depending on what the request’s Accept header says. If the view
- function returns something besides an rdflib graph, it will be passed
- through without modification.
- .
- Custom formats can be registered easily. After registering the new
- serializer with rdflib’s plugin support, use the decide_format method to
- register a new mimetype request to use the new formatter.
- .
- This package works with Python versions 2.x.
-
 Package: python3-flask-rdf
 Architecture: all
 Depends: ${python3:Depends},
          ${misc:Depends},
-         python3-mimeparse
+         python3-mimeparse,
+         python3-rdflib
 Description: Flask decorator to output RDF using content negotiation (Python 3)
  Apply the @flask_rdf decorator to a view function and return an rdflib
  Graph object. Flask_rdf will automatically format it into an RDF output
diff -Nru python-flask-rdf-0.2.1/debian/rules python-flask-rdf-0.2.1/debian/rules
--- python-flask-rdf-0.2.1/debian/rules	2018-07-08 11:49:24.000000000 -0400
+++ python-flask-rdf-0.2.1/debian/rules	2019-10-12 23:30:59.000000000 -0400
@@ -1,20 +1,4 @@
 #!/usr/bin/make -f
 
-PYVERS=$(shell pyversions -sv)
-PY3VERS=$(shell py3versions -sv)
-
 %:
-	dh $@ --with python2,python3
-
-override_dh_auto_install:
-	dh_auto_install
-
-	set -e && for pyvers in $(PYVERS); do \
-		python$$pyvers setup.py install --install-layout=deb \
-		--root $(CURDIR)/debian/python-flask-rdf; \
-		done
-
-	set -e && for pyvers in $(PY3VERS); do \
-		python$$pyvers setup.py install --install-layout=deb \
-		--root $(CURDIR)/debian/python3-flask-rdf; \
-		done
+	dh $@ --with python3 --buildsystem=pybuild

Reply via email to