ソースを参照

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

Christoph Biedl 17 時間 前
コミット
11f0e90468
2 ファイル変更2 行追加3 行削除
  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-pytest,
     python3-setuptools,
     python3-setuptools,
     python3-wheel,
     python3-wheel,
-    tox,
 Priority: extra
 Priority: extra
 Rules-Requires-Root: no
 Rules-Requires-Root: no
 Section: libs
 Section: libs

+ 2 - 2
debian/rules

@@ -1,11 +1,11 @@
 #!/usr/bin/make -f
 #!/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}')
 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:
 override_dh_gencontrol:
 	echo "magic:Depends=$(libmagic_package)" >>debian/python3-magic.substvars
 	echo "magic:Depends=$(libmagic_package)" >>debian/python3-magic.substvars