Index: head/www/py-django-dpaste/Makefile =================================================================== --- head/www/py-django-dpaste/Makefile (revision 420213) +++ head/www/py-django-dpaste/Makefile (revision 420214) @@ -1,36 +1,35 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= dpaste -PORTVERSION= 2.9 -PORTREVISION= 1 +PORTVERSION= 2.10 CATEGORIES= www python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}django- MAINTAINER= koobs@FreeBSD.org COMMENT= Django based pastebin LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:www/py-django18 \ - ${PYTHON_PKGNAMEPREFIX}django-mptt>=0.7.4:www/py-django-mptt \ + ${PYTHON_PKGNAMEPREFIX}django-mptt>=0.8.3:www/py-django-mptt \ ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments \ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests OPTIONS_DEFINE= MIGRATIONS MIGRATIONS_DESC= Schema and data migration support (via south) MIGRATIONS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}south>=0.8.2:databases/py-south USES= python -USE_GITHUB= yes USE_PYTHON= autoplist distutils -GH_ACCOUNT= bartTC +NO_ARCH= yes -regression-test: build - @cd ${WRKSRC} && ${PYTHON_CMD} runtests.py +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Index: head/www/py-django-dpaste/distinfo =================================================================== --- head/www/py-django-dpaste/distinfo (revision 420213) +++ head/www/py-django-dpaste/distinfo (revision 420214) @@ -1,2 +1,3 @@ -SHA256 (bartTC-dpaste-2.9_GH0.tar.gz) = 1e8d44619cf7fba61a3771783890f304bee98e2fc5ccba2cea14766bd008deba -SIZE (bartTC-dpaste-2.9_GH0.tar.gz) = 147108 +TIMESTAMP = 1471231865 +SHA256 (dpaste-2.10.tar.gz) = 6b24217865194c7a3036cd4f50d12a5f11de28b879ac74593aff810bb89a5d58 +SIZE (dpaste-2.10.tar.gz) = 128149 Index: head/www/py-django-dpaste/files/patch-runtests.py =================================================================== --- head/www/py-django-dpaste/files/patch-runtests.py (nonexistent) +++ head/www/py-django-dpaste/files/patch-runtests.py (revision 420214) @@ -0,0 +1,12 @@ +--- 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:]) Property changes on: head/www/py-django-dpaste/files/patch-runtests.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/py-django-dpaste/files/patch-setup.py =================================================================== --- head/www/py-django-dpaste/files/patch-setup.py (nonexistent) +++ head/www/py-django-dpaste/files/patch-setup.py (revision 420214) @@ -0,0 +1,34 @@ +--- setup.py.orig 2016-08-15 03:37:55 UTC ++++ setup.py +@@ -4,19 +4,6 @@ from sys import exit + from setuptools import find_packages, setup + from setuptools.command.test import test as TestCommand + +- +-class Tox(TestCommand): +- def finalize_options(self): +- TestCommand.finalize_options(self) +- self.test_args = [] +- self.test_suite = True +- +- def run_tests(self): +- #import here, cause outside the eggs aren't loaded +- import tox +- errno = tox.cmdline(self.test_args) +- exit(errno) +- + long_description = u'\n\n'.join(( + open('README.rst').read(), + open('CHANGELOG').read() +@@ -54,10 +41,5 @@ setup( + 'pygments>=1.6', + 'requests>=2.0.0', + ], +- tests_require=[ +- 'tox>=1.6.1' +- ], +- cmdclass={ +- 'test': Tox +- }, ++ test_suite='runtests.runtests', + ) Property changes on: head/www/py-django-dpaste/files/patch-setup.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property