mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
- Update PORTVERSION and distinfo checksum (2.10) - Switch MASTER_SITES to CHEESESHOP (PyPI) - Update RUN_DEPENDS - Mark architecture independent (NO_ARCH) - Patch setup.py/runtests.py so standard test methods work. Tox isn't required. - Modernize test target (do-test: setup.py.test) https://github.com/bartTC/dpaste/blob/v2.10/CHANGELOG
12 lines
329 B
Python
12 lines
329 B
Python
--- runtests.py.orig 2016-08-15 03:40:49 UTC
|
|
+++ runtests.py
|
|
@@ -63,8 +63,7 @@ def runtests(*test_args):
|
|
|
|
test_runner = TestRunner(verbosity=1)
|
|
failures = test_runner.run_tests(['dpaste'])
|
|
- if failures:
|
|
- sys.exit(failures)
|
|
+ sys.exit(failures)
|
|
|
|
if __name__ == '__main__':
|
|
runtests(*sys.argv[1:])
|