Browse Source

Use pytest instead of tox. Thanks Shanavas M. Closes: #1120248

Christoph Biedl 18 hours ago
parent
commit
11f0e90468
2 changed files with 2 additions and 3 deletions
  1. 0 1
      debian/control
  2. 2 2
      debian/rules

+ 0 - 1
debian/control

@@ -13,7 +13,6 @@ Build-Depends: debhelper-compat (= 13),
     python3-pytest,
     python3-setuptools,
     python3-wheel,
-    tox,
 Priority: extra
 Rules-Requires-Root: no
 Section: libs

+ 2 - 2
debian/rules

@@ -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