summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2019-10-18 22:29:51 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2019-10-18 22:30:16 +0200
commit7a8e2f74bf4c1e45e0df2d265c3605595c4ea780 (patch)
treebb0fb0364f8418bbff1c4a2fae25c47ca5a8b14a
parentbcf5c1618a1e9d4feb8eaff682e52bde67f3ea03 (diff)
Drop Python 2 package
-rw-r--r--debian/changelog12
-rw-r--r--debian/control19
-rw-r--r--debian/docs (renamed from debian/python-zeroconf.docs)0
-rw-r--r--debian/install (renamed from debian/python3-zeroconf.install)0
-rw-r--r--debian/python-zeroconf.install2
-rw-r--r--debian/python3-zeroconf.docs1
-rwxr-xr-xdebian/rules15
7 files changed, 13 insertions, 36 deletions
diff --git a/debian/changelog b/debian/changelog
index a881a60..6d8ee99 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,16 @@
-python-zeroconf (0.21.3-2) UNRELEASED; urgency=medium
+python-zeroconf (0.23.0-1) UNRELEASED; urgency=medium
+ [ Ondřej Nový ]
* Use debhelper-compat instead of debian/compat.
- -- Ondřej Nový <onovy@debian.org> Fri, 19 Jul 2019 23:56:05 +0200
+ [ Ruben Undheim ]
+ * New upstream release
+ * Drop Python 2 package (Closes: #938284)
+ * debian/control:
+ - New standards version 4.4.0 - no changes
+ - DH level 12
+
+ -- Ruben Undheim <ruben.undheim@gmail.com> Fri, 18 Oct 2019 22:28:44 +0200
python-zeroconf (0.21.3-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 0b54fbc..03620e3 100644
--- a/debian/control
+++ b/debian/control
@@ -3,31 +3,16 @@ Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Ruben Undheim <ruben.undheim@gmail.com>
-Build-Depends: debhelper-compat (= 11),
+Build-Depends: debhelper-compat (= 12),
dh-python,
- python-all,
- python-setuptools,
python3-all,
python3-setuptools
-Standards-Version: 4.2.1
+Standards-Version: 4.4.0
X-Python-Version: all
Homepage: https://github.com/jstasiak/python-zeroconf
Vcs-Browser: https://salsa.debian.org/python-team/modules/python-zeroconf
Vcs-Git: https://salsa.debian.org/python-team/modules/python-zeroconf.git
-Package: python-zeroconf
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
-Description: Pure Python implementation of multicast DNS service discovery
- This is an implementation of the multicast DNS Service Discover Library
- zeroconf in pure Python.
- .
- Compared to some other Zeroconf/Bonjour/Avahi Python packages:
- .
- - isn't tied to Bonjour or Avahi
- - doesn't use D-Bus
- - doesn't force you to use particular event loop or Twisted
-
Package: python3-zeroconf
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}, python3-ifaddr
diff --git a/debian/python-zeroconf.docs b/debian/docs
index a1320b1..a1320b1 100644
--- a/debian/python-zeroconf.docs
+++ b/debian/docs
diff --git a/debian/python3-zeroconf.install b/debian/install
index 5b790f6..5b790f6 100644
--- a/debian/python3-zeroconf.install
+++ b/debian/install
diff --git a/debian/python-zeroconf.install b/debian/python-zeroconf.install
deleted file mode 100644
index 26b7199..0000000
--- a/debian/python-zeroconf.install
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/python2_old/debian/tmp/usr/lib usr/
-
diff --git a/debian/python3-zeroconf.docs b/debian/python3-zeroconf.docs
deleted file mode 100644
index a1320b1..0000000
--- a/debian/python3-zeroconf.docs
+++ /dev/null
@@ -1 +0,0 @@
-README.rst
diff --git a/debian/rules b/debian/rules
index a1f60ad..f945fd4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,34 +4,21 @@
#LC_ALL=C.UTF-8 Makes sure that it builds correctly with pbuilder
PYTHON3VERSIONS := $(shell py3versions -s -v)
-PYTHON2VERSIONS := $(shell pyversions -s -v)
%:
- LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild
+ LC_ALL=C.UTF-8 dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_build:
- cd debian/python2_old && PYBUILD_VERSIONS="$(PYTHON2VERSIONS)" pybuild --build
PYBUILD_VERSIONS="$(PYTHON3VERSIONS)" pybuild --build
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- cd debian/python2_old && PYBUILD_VERSIONS="$(PYTHON2VERSIONS)" pybuild --test
PYBUILD_VERSIONS="$(PYTHON3VERSIONS)" pybuild --test
endif
override_dh_auto_install:
- cd debian/python2_old && PYBUILD_VERSIONS="$(PYTHON2VERSIONS)" pybuild --install
PYBUILD_VERSIONS="$(PYTHON3VERSIONS)" pybuild --install
override_dh_auto_clean:
dh_auto_clean
- cd debian/python2_old && PYBUILD_VERSIONS="$(PYTHON2VERSIONS)" pybuild --clean
- $(RM) -r .pybuild zeroconf.egg-info
- $(RM) -r debian/python2_old/.pybuild/
- $(RM) -r debian/python2_old/debian/
- $(RM) -r debian/python2_old/zeroconf.egg-info/
-
-override_dh_gencontrol:
- dh_gencontrol -ppython3-zeroconf
- dh_gencontrol -ppython-zeroconf -- -v0.19.1-3