diff -Nru python-magic-0.4.27/debian/changelog python-magic-0.4.27/debian/changelog --- python-magic-0.4.27/debian/changelog 2024-03-15 13:11:01.000000000 +0530 +++ python-magic-0.4.27/debian/changelog 2026-05-23 14:58:23.000000000 +0530 @@ -1,3 +1,10 @@ +python-magic (2:0.4.27-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Use pytest instead of tox + + -- Shanavas M Sat, 23 May 2026 14:58:23 +0530 + python-magic (2:0.4.27-3) unstable; urgency=medium * Don't hardcode dependency on libmagic1. Closes: #1066850 diff -Nru python-magic-0.4.27/debian/control python-magic-0.4.27/debian/control --- python-magic-0.4.27/debian/control 2024-03-15 13:11:01.000000000 +0530 +++ python-magic-0.4.27/debian/control 2026-05-23 14:58:23.000000000 +0530 @@ -13,7 +13,6 @@ python3-pytest, python3-setuptools, python3-wheel, - tox, Priority: extra Rules-Requires-Root: no Section: libs diff -Nru python-magic-0.4.27/debian/rules python-magic-0.4.27/debian/rules --- python-magic-0.4.27/debian/rules 2024-03-15 13:11:01.000000000 +0530 +++ python-magic-0.4.27/debian/rules 2026-05-23 14:58:23.000000000 +0530 @@ -1,11 +1,11 @@ #!/usr/bin/make -f -export LC_ALL = C.UTF-8 +export LC_ALL = en_US.UTF-8 libmagic_package := $(shell dpkg-query '-f$${Depends}' -W libmagic-dev | awk '{print $$1}') %: - dh $@ --buildsystem=pybuild --test-tox --with python3 + dh $@ --buildsystem=pybuild --test-pytest --with python3 override_dh_gencontrol: echo "magic:Depends=$(libmagic_package)" >>debian/python3-magic.substvars