Date: Tue, 25 Oct 2016 21:44:13 +0200 From: =?UTF-8?Q?Ren=C3=A9_Ladan?= <rene@freebsd.org> To: Dmitry Marakasov <amdmi3@amdmi3.ru> Cc: Kubilay Kocak <koobs@freebsd.org>, "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: <CADL2u4jFiaztDkUVvKKLqBFeP-QQKhyM=0VUW0UQieLoVZVkSg@mail.gmail.com> In-Reply-To: <CADL2u4jBusuFuuXnJwBuvMHwfGkNyuH=vSrCNE431-OWMFx0pw@mail.gmail.com> References: <201609302113.u8ULDKSO042487@repo.freebsd.org> <20161025154408.GD60716@hades.panopticon> <CADL2u4jBusuFuuXnJwBuvMHwfGkNyuH=vSrCNE431-OWMFx0pw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2016-10-25 20:09 GMT+02:00 Ren=C3=A9 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 >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >>> --- 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=3D django-contrib-comments >>> -PORTVERSION=3D 1.6.1 >>> -PORTREVISION=3D 1 >>> +PORTVERSION=3D 1.7.3 >>> CATEGORIES=3D www python >>> MASTER_SITES=3D CHEESESHOP >>> PKGNAMEPREFIX=3D ${PYTHON_PKGNAMEPREFIX} >>> @@ -14,7 +13,7 @@ COMMENT=3D Code formerly known as django.c >>> LICENSE=3D BSD3CLAUSE >>> LICENSE_FILE=3D ${WRKSRC}/LICENSE.txt >>> >>> -RUN_DEPENDS=3D ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:www/py-= django16 >>> +RUN_DEPENDS=3D ${PYTHON_PKGNAMEPREFIX}django18>=3D0: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_comma= nds self.run_command(cmd) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_comma= nd 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=3Dself._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 createTest= s self.module) File "/usr/local/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames suites =3D [self.loadTestsFromName(name, module) for name in names] File "/usr/local/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName test =3D obj() File "mezzanine/bin/runtests.py", line 39, in main sys.exit(test.Command().execute(verbosity=3D1)) File "/usr/local/lib/python2.7/site-packages/django/core/management/comma= nds/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 =3D translation.get_language() File "/usr/local/lib/python2.7/site-packages/django/utils/translation/__i= nit__.py", line 182, in get_language return _trans.get_language() File "/usr/local/lib/python2.7/site-packages/django/utils/translation/__i= nit__.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 =3D Settings(settings_module) File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 92, in __init__ mod =3D 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/Mezz= anine-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/Mezz= anine-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=C3=A9 --=20 https://rene-ladan.nl/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADL2u4jFiaztDkUVvKKLqBFeP-QQKhyM=0VUW0UQieLoVZVkSg>