ports/www/py-django-dpaste/files/patch-runtests.py
Kubilay Kocak aeea74f55f www/py-django-dpaste: Update to 2.10
- 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
2016-08-15 04:57:48 +00:00

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:])