Control: tags 1024265 + pending

Dear maintainer,

I've prepared an NMU for opengv (versioned as 1.0+1git91f4b1-6.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

The patch (thanks Tyler!) may not be ideal, it's building the whole of the big
package, twice. There may be a more efficient way to only rebuild the
python bits. But I can't see that.

Also filed as: https://salsa.debian.org/science-team/opengv/-/merge_requests/2

Regards.

SR
diff -Nru opengv-1.0+1git91f4b1/debian/changelog opengv-1.0+1git91f4b1/debian/changelog
--- opengv-1.0+1git91f4b1/debian/changelog	2022-11-02 19:34:56.000000000 +0200
+++ opengv-1.0+1git91f4b1/debian/changelog	2022-11-18 11:43:32.000000000 +0200
@@ -1,3 +1,11 @@
+opengv (1.0+1git91f4b1-6.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use pybuild to build for multiple Python versions. Thanks Tyler Weaver.
+    (Closes: #1024265)
+
+ -- Stefano Rivera <stefa...@debian.org>  Fri, 18 Nov 2022 11:43:32 +0200
+
 opengv (1.0+1git91f4b1-6) unstable; urgency=medium
 
   * Arch:all builds work (Closes: #1020995)
diff -Nru opengv-1.0+1git91f4b1/debian/rules opengv-1.0+1git91f4b1/debian/rules
--- opengv-1.0+1git91f4b1/debian/rules	2022-11-02 19:34:56.000000000 +0200
+++ opengv-1.0+1git91f4b1/debian/rules	2022-11-18 11:43:32.000000000 +0200
@@ -4,14 +4,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-%:
-	dh $@ --with python3
+export PYBUILD_CONFIGURE_ARGS=-DBUILD_TESTS=ON -DBUILD_PYTHON=ON -DBUILD_SHARED_LIBS=ON
+export PYBUILD_SYSTEM=cmake
 
-override_dh_auto_configure:
-	dh_auto_configure -- \
-		-DBUILD_TESTS=ON \
-		-DBUILD_PYTHON=ON \
-		-DBUILD_SHARED_LIBS=ON
+%:
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_build-arch:
 	dh_auto_build -a
@@ -32,5 +29,3 @@
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf doc/html doc/latex
-
-

Reply via email to