Control: tags 1095778 + patch
Control: tags 1095778 + pending

Dear maintainer,

I've prepared an NMU for sympy (versioned as 1.13.3-2.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

This changes the autopkgtests to use the unpacked source, which is not
true testing against the installed version, but is better than nothing. I
don't think the original test was possible to run correctly, so it's
surprising that it was added, salsa CI was enabled, the package was
uploaded, and apparently nobody saw failures on salsa CI or locally or, at
least, on the excuses page.
Please also note that the git version differs from the uploaded version
which will surely be significant when the NMU is imported into the repo.


-- 
WBR, wRAR
diff -Nru sympy-1.13.3/debian/changelog sympy-1.13.3/debian/changelog
--- sympy-1.13.3/debian/changelog	2025-02-03 14:03:29.000000000 +0500
+++ sympy-1.13.3/debian/changelog	2025-02-14 23:02:37.000000000 +0500
@@ -1,3 +1,11 @@
+sympy (1.13.3-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix running autopkgtests (Closes: #1095778).
+  * Fix building with the nodoc profile.
+
+ -- Andrey Rakhmatullin <w...@debian.org>  Fri, 14 Feb 2025 23:02:37 +0500
+
 sympy (1.13.3-2) unstable; urgency=medium
 
   * Team upload
diff -Nru sympy-1.13.3/debian/control sympy-1.13.3/debian/control
--- sympy-1.13.3/debian/control	2025-02-03 14:02:46.000000000 +0500
+++ sympy-1.13.3/debian/control	2025-02-14 21:27:29.000000000 +0500
@@ -5,6 +5,7 @@
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-python,
+               dh-sequence-sphinxdoc <!nodoc>,
                python3-all,
                python3-setuptools,
                python3-mpmath,
@@ -25,7 +26,6 @@
                python3-uc-micro,
                furo <!nodoc>,
                sphinx-basic-ng <!nodoc>,
-               sphinx-common <!nodoc>,
                python3-pytest <!nocheck>,
                python3-hypothesis <!nocheck>,
                python-matplotlib-doc <!nodoc>,
diff -Nru sympy-1.13.3/debian/rules sympy-1.13.3/debian/rules
--- sympy-1.13.3/debian/rules	2025-02-03 14:00:29.000000000 +0500
+++ sympy-1.13.3/debian/rules	2025-02-14 21:54:56.000000000 +0500
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 export PYBUILD_DESTDIR_python3=debian/python3-sympy/
-export PYBUILD_TEST_ARGS=-k 'not (TestUpdateArgsWithPaths)'
+export PYBUILD_TEST_ARGS={dir}/sympy -k 'not (TestUpdateArgsWithPaths)'
 
 include /usr/share/dpkg/default.mk
 
@@ -9,12 +9,14 @@
 #export DH_VERBOSE=1
 
 %:
-	dh  $@ --with python3,sphinxdoc --buildsystem=pybuild
+	dh  $@ --with python3 --buildsystem=pybuild
 
 execute_before_dh_auto_build:
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
 	# build the documentation in HTML format
 	faketime '@$(SOURCE_DATE_EPOCH)' \
 		sh -c '(cd doc/; export SPHINXOPTS="-j auto"; $(MAKE) html)'
+endif
 
 DOCDIR = debian/python-sympy-doc/usr/share/doc/python-sympy-doc
 execute_after_dh_auto_install:

Attachment: signature.asc
Description: PGP signature

Reply via email to