control: tags -1 patch

I prepared an NMU which drops the python-iptcdata binary package. Then, 
libiptcdata does not require python2 anymore. Debdiff is attached. 
diff -Nru libiptcdata-1.0.5/debian/changelog libiptcdata-1.0.5/debian/changelog
--- libiptcdata-1.0.5/debian/changelog  2020-08-08 22:18:23.000000000 +0200
+++ libiptcdata-1.0.5/debian/changelog  2020-08-20 16:36:58.000000000 +0200
@@ -1,3 +1,10 @@
+libiptcdata (1.0.5-2.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop binary package python-iptcdata. Closes: #936880.
+
+ -- Jann Haber <ja...@selfnet.de>  Thu, 20 Aug 2020 16:36:58 +0200
+
 libiptcdata (1.0.5-2.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libiptcdata-1.0.5/debian/control libiptcdata-1.0.5/debian/control
--- libiptcdata-1.0.5/debian/control    2019-02-24 17:12:43.000000000 +0100
+++ libiptcdata-1.0.5/debian/control    2020-08-20 16:30:26.000000000 +0200
@@ -8,7 +8,7 @@
  debhelper (>= 10~),
  dh-buildinfo,
  dh-autoreconf,
- licensecheck, dpkg-dev (>= 1.13.19), gtk-doc-tools, pkg-config, 
python-all-dev (>= 2.6.6-3~), dh-python
+ licensecheck, dpkg-dev (>= 1.13.19), gtk-doc-tools, pkg-config
 Standards-Version: 4.2.1.1
 Vcs-Browser: https://salsa.debian.org/debian/libiptcdata
 Vcs-Git: https://salsa.debian.org/debian/libiptcdata.git
@@ -66,16 +66,3 @@
  Telecommunications Council (IPTC) metadata stored within multimedia
  files such as images. The library provides routines for parsing,
  viewing, modifying, and saving this metadata.
-
-Package: python-iptcdata
-Architecture: any
-Section: python
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Provides: ${python:Provides}
-Description: Python bindings for the iptcdata library
- libiptcdata is a library, for manipulating the International Press
- Telecommunications Council (IPTC) metadata stored within multimedia
- files such as images. The library provides routines for parsing,
- viewing, modifying, and saving this metadata.
- .
- This package contains the python bindings for libiptcdata.
diff -Nru libiptcdata-1.0.5/debian/control.in 
libiptcdata-1.0.5/debian/control.in
--- libiptcdata-1.0.5/debian/control.in 2019-02-24 17:12:43.000000000 +0100
+++ libiptcdata-1.0.5/debian/control.in 2020-08-20 16:30:45.000000000 +0200
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Ian Wienand <i...@debian.org>
-Build-Depends: @cdbs@, dpkg-dev (>= 1.13.19), gtk-doc-tools, pkg-config, 
python-all-dev (>= 2.6.6-3~), dh-python
+Build-Depends: @cdbs@, dpkg-dev (>= 1.13.19), gtk-doc-tools, pkg-config
 Standards-Version: 4.2.1.1
 Vcs-Browser: https://salsa.debian.org/debian/libiptcdata
 Vcs-Git: https://salsa.debian.org/debian/libiptcdata.git
@@ -61,16 +61,3 @@
  Telecommunications Council (IPTC) metadata stored within multimedia
  files such as images. The library provides routines for parsing,
  viewing, modifying, and saving this metadata.
-
-Package: python-iptcdata
-Architecture: any
-Section: python
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Provides: ${python:Provides}
-Description: Python bindings for the iptcdata library
- libiptcdata is a library, for manipulating the International Press
- Telecommunications Council (IPTC) metadata stored within multimedia
- files such as images. The library provides routines for parsing,
- viewing, modifying, and saving this metadata.
- .
- This package contains the python bindings for libiptcdata.
diff -Nru libiptcdata-1.0.5/debian/rules libiptcdata-1.0.5/debian/rules
--- libiptcdata-1.0.5/debian/rules      2020-08-08 22:18:23.000000000 +0200
+++ libiptcdata-1.0.5/debian/rules      2020-08-20 16:36:58.000000000 +0200
@@ -32,15 +32,13 @@
 include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/rules/utils.mk
 
-PY_VERSIONS = $(shell pyversions --requested debian/control)
-
 DEB_BUILDDIR := build
 
-DEB_CONFIGURE_EXTRA_FLAGS := --enable-python --enable-gtk-doc 
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc 
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
 
 configure-stamp-%:
        mkdir build-$*
-       cd build-$* && PYTHON=`which $*` $(DEB_CONFIGURE_SCRIPT_ENV) \
+       cd build-$* && $(DEB_CONFIGURE_SCRIPT_ENV) \
            $(DEB_CONFIGURE_SCRIPT) \
                $(DEB_CONFIGURE_NORMAL_ARGS) \
                --disable-maintainer-mode \
@@ -50,31 +48,18 @@
        touch $@
 
 
-configure/python-iptcdata:: $(addprefix configure-stamp-, $(PY_VERSIONS))
-
 build-stamp-%:
        make -C build-$*
        touch $@
 
-build/python-iptcdata:: $(addprefix build-stamp-, $(PY_VERSIONS))
-
 build/libiptcdata-bin::
 
 install-stamp-%:
        make -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
        touch $@
 
-install/python-iptcdata:: $(addprefix install-stamp-, $(PY_VERSIONS))
-
-binary-install/python-iptcdata::
-       dh_python2
-
 DEB_INSTALL_MANPAGES_libiptcdata-bin := debian/iptc.1
 
 clean::
        -$(RM) -r $(DEB_BUILDDIR)
-       -$(RM) -r $(addprefix $(CURDIR)/build-, $(PY_VERSIONS))
-       -$(RM) -r $(addprefix $(CURDIR)/configure-stamp-, $(PY_VERSIONS))
-       -$(RM) -r $(addprefix $(CURDIR)/build-stamp-, $(PY_VERSIONS))
-       -$(RM) -r $(addprefix $(CURDIR)/install-stamp-, $(PY_VERSIONS))
 

Reply via email to