Thomas Goirand pushed to branch master at Debian Java Maintainers / zookeeper


Commits:
c27dcbbc by Thomas Goirand at 2022-11-21T11:21:59+01:00
  * Team upload.
  * Rebuilt for all Python3 versions (Closes: #1024303).

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+zookeeper (3.8.0-10) unstable; urgency=medium
+
+  * Team upload.
+  * Rebuilt for all Python3 versions (Closes: #1024303).
+
+ -- Thomas Goirand <z...@debian.org>  Mon, 21 Nov 2022 11:14:39 +0100
+
 zookeeper (3.8.0-9) unstable; urgency=medium
 
   * Team upload


=====================================
debian/rules
=====================================
@@ -5,6 +5,8 @@ export JAVA_HOME=/usr/lib/jvm/default-java
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+PYTHON3S:=$(shell py3versions -vr)
+
 %:
        dh $@ --with javahelper --with python3
 
@@ -24,7 +26,9 @@ override_dh_auto_build-indep:
 override_dh_auto_build-arch: override_dh_auto_build-indep
        # Build Python bindings in addition
        cd zookeeper-contrib/zookeeper-contrib-zkpython && \
-               python3 src/python/setup.py build --build-base=$(CURDIR)/build
+               set -e ; set -x ; for i in $(PYTHON3S) ; do \
+                       python$$i src/python/setup.py build 
--build-base=$(CURDIR)/build ; \
+               done
 
 # Empty override: no need to call the Maven stuff for the arch-dependent 
packages
 override_dh_auto_install-arch:
@@ -35,9 +39,11 @@ override_dh_auto_install-indep:
 override_dh_install-arch:
        # Installing the Python artifacts in debian/tmp before calling 
dh_install
        cd zookeeper-contrib/zookeeper-contrib-zkpython && \
-               python3 src/python/setup.py build --build-base=$(CURDIR)/build \
-                       install --root=$(CURDIR)/debian/tmp 
--install-layout=deb ;\
-       
+               set -e ; set -x ; for i in $(PYTHON3S) ; do \
+                       python$$i src/python/setup.py build 
--build-base=$(CURDIR)/build \
+                               install --root=$(CURDIR)/debian/tmp 
--install-layout=deb ;\
+               done
+
        dh_install -a
 
 override_dh_install-indep:



View it on GitLab: 
https://salsa.debian.org/java-team/zookeeper/-/commit/c27dcbbca4a2a463e04a1eb60958ce139fbf292c

-- 
View it on GitLab: 
https://salsa.debian.org/java-team/zookeeper/-/commit/c27dcbbca4a2a463e04a1eb60958ce139fbf292c
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to