Date: Tue, 15 Nov 2016 00:34:30 +1100 From: Kubilay Kocak <koobs@FreeBSD.org> To: =?UTF-8?Q?Ren=c3=a9_Ladan?= <rene@freebsd.org>, Dmitry Marakasov <amdmi3@amdmi3.ru> Cc: "ports-committers@freebsd.org" <ports-committers@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org> Subject: Re: svn commit: r423024 - head/www/py-django-contrib-comments Message-ID: <fc9e92d0-1a00-98b3-5aa5-3432c3428769@FreeBSD.org> In-Reply-To: <CADL2u4jFiaztDkUVvKKLqBFeP-QQKhyM=0VUW0UQieLoVZVkSg@mail.gmail.com> References: <201609302113.u8ULDKSO042487@repo.freebsd.org> <20161025154408.GD60716@hades.panopticon> <CADL2u4jBusuFuuXnJwBuvMHwfGkNyuH=vSrCNE431-OWMFx0pw@mail.gmail.com> <CADL2u4jFiaztDkUVvKKLqBFeP-QQKhyM=0VUW0UQieLoVZVkSg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26/10/2016 6:44 AM, René Ladan wrote: > 2016-10-25 20:09 GMT+02:00 René Ladan <rene@freebsd.org>: >> 2016-10-25 17:44 GMT+02:00 Dmitry Marakasov <amdmi3@amdmi3.ru>: >>> * Rene Ladan (rene@FreeBSD.org) wrote: >>> >>>> Author: rene >>>> Date: Fri Sep 30 21:13:20 2016 >>>> New Revision: 423024 >>>> URL: https://svnweb.freebsd.org/changeset/ports/423024 >>>> >>>> Log: >>>> - Update to 1.7.3 >>>> - Switch to django 1.8 >>>> >>>> PR: 213009 >>>> Submitted by: myself >>>> Approved by: maintainer (koobs) >>>> >>>> Modified: >>>> head/www/py-django-contrib-comments/Makefile >>>> head/www/py-django-contrib-comments/distinfo >>>> >>>> Modified: head/www/py-django-contrib-comments/Makefile >>>> ============================================================================== >>>> --- head/www/py-django-contrib-comments/Makefile Fri Sep 30 21:13:04 2016 (r423023) >>>> +++ head/www/py-django-contrib-comments/Makefile Fri Sep 30 21:13:20 2016 (r423024) >>>> @@ -2,8 +2,7 @@ >>>> # $FreeBSD$ >>>> >>>> PORTNAME= django-contrib-comments >>>> -PORTVERSION= 1.6.1 >>>> -PORTREVISION= 1 >>>> +PORTVERSION= 1.7.3 >>>> CATEGORIES= www python >>>> MASTER_SITES= CHEESESHOP >>>> PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >>>> @@ -14,7 +13,7 @@ COMMENT= Code formerly known as django.c >>>> LICENSE= BSD3CLAUSE >>>> LICENSE_FILE= ${WRKSRC}/LICENSE.txt >>>> >>>> -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:www/py-django16 >>>> +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18 >>> >>> This has broken www/py-django-mezzanine, which depends on both >>> py-django16 and this port which depends on py-django18. Maybe >>> py-django-mezzanine should be switche to django18 as well? >>> >> Or update the port (and its consumers) to the latest version, 4.2.2 ? >> See https://github.com/stephenmcd/mezzanine >> > Just updating the port to use Django 1.8 fails in 'make test' : > > running build_ext > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "setup.py", line 87, in <module> > "Topic :: Software Development :: Libraries :: Python Modules", > File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup > dist.run_commands() > File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands > self.run_command(cmd) > File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command > cmd_obj.run() > File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py", > line 212, in run > self.run_tests() > File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py", > line 233, in run_tests > testRunner=self._resolve_as_ep(self.test_runner), > File "/usr/local/lib/python2.7/unittest/main.py", line 94, in __init__ > self.parseArgs(argv) > File "/usr/local/lib/python2.7/unittest/main.py", line 149, in parseArgs > self.createTests() > File "/usr/local/lib/python2.7/unittest/main.py", line 158, in createTests > self.module) > File "/usr/local/lib/python2.7/unittest/loader.py", line 130, in > loadTestsFromNames > suites = [self.loadTestsFromName(name, module) for name in names] > File "/usr/local/lib/python2.7/unittest/loader.py", line 115, in > loadTestsFromName > test = obj() > File "mezzanine/bin/runtests.py", line 39, in main > sys.exit(test.Command().execute(verbosity=1)) > File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/test.py", > line 74, in execute > super(Command, self).execute(*args, **options) > File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", > line 437, in execute > saved_locale = translation.get_language() > File "/usr/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", > line 182, in get_language > return _trans.get_language() > File "/usr/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", > line 56, in __getattr__ > if settings.USE_I18N: > File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", > line 48, in __getattr__ > self._setup(name) > File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", > line 44, in _setup > self._wrapped = Settings(settings_module) > File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", > line 92, in __init__ > mod = importlib.import_module(self.SETTINGS_MODULE) > File "/usr/local/lib/python2.7/importlib/__init__.py", line 37, in > import_module > __import__(name) > File "/usr/home/rene/freebsd/ports/head/www/py-django-mezzanine/work/Mezzanine-3.1.10/mezzanine/project_template/test_settings.py", > line 2, in <module> > from project_template import settings > File "/usr/home/rene/freebsd/ports/head/www/py-django-mezzanine/work/Mezzanine-3.1.10/mezzanine/project_template/settings.py", > line 365, in <module> > set_dynamic_settings(globals()) > File "mezzanine/utils/conf.py", line 49, in set_dynamic_settings > add_to_builtins("mezzanine.template.loader_tags") > File "/usr/local/lib/python2.7/site-packages/django/template/base.py", > line 1407, in add_to_builtins > builtins.append(import_library(module)) > File "/usr/local/lib/python2.7/site-packages/django/template/base.py", > line 1343, in import_library > (taglib_module, e)) > django.template.base.InvalidTemplateLibrary: ImportError raised > loading mezzanine.template.loader_tags: cannot import name > find_template_loader > *** Error code 1 > > René > I have had an update in progress. It will land soon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fc9e92d0-1a00-98b3-5aa5-3432c3428769>