From owner-svn-ports-head@freebsd.org Mon Nov 14 13:36:12 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E10CC3F4E7; Mon, 14 Nov 2016 13:36:12 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68707DE6; Mon, 14 Nov 2016 13:36:12 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pg0-x244.google.com with SMTP id p66so9046700pga.2; Mon, 14 Nov 2016 05:36:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=h9DECqf05WjhzIgx61NW/LZTavNMGPvKL2CTMhLUIuU=; b=EwSUx5Pa1Do37FMTM/xc2jK7nAyeJZZ6ap1JxCU60YBrTrimSpQvTCNK5f0aaPUzN5 8Gkz5/xetYYEKTO9EQwXYsgVSKTTSgTpVMNjdsXjC9SaOc1MqxUHs001vN7d6SORLMXo b3WuuQ4/7elhj/4uQS1uwjsXPFLiUlgkkUWLg62asquqTURyu3b9/tITj72dQSl+mPt6 JdY+jmXRlQW8j00G2+WxZ1JjazZdZGyR0GIXR0ka+dXzWl5/WH3rMzBvrn+/KOmZsqbg OUJnd8dT2jz9zeZ9tsN2aSwO078QdHrsWIRKt+r4AXgDt8GYzm6sri2CIIAMDaMD/zuA SRWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:reply-to:subject:to:cc:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=h9DECqf05WjhzIgx61NW/LZTavNMGPvKL2CTMhLUIuU=; b=ErAtVb3JGPMw4y35DXxmkkE7/NMUktZOf7V2N2mY1KAIYvRTNv3GWtWiw5YzPXPmBb 7Jh5UmQZebZR3qRsCtpO085lqMgdnO4WTVHCSMhRDgJ52Zh4cW943sLNEYLyTRZqRCzA AHcryTNo7P8zfR9/o1LYAia7UAp0uw3cO5KBqALeEwVxG9iTVQNsHF0ltuXizLiAAGvq 1gtjwJUk/AjnqTAZJfGzl+tXzs6/ZAT83/hys7yZebv7oMf/S8w0GcLvjzxK/LgiaZ1t eURNut8RJAmsShrXZ/y3aHQRtem/gBtL4k0ncCQ1+txKC3wXMdNJi+Ai688CvsmPMaGW MrtA== X-Gm-Message-State: ABUngvcnnsxkX0nUsa8W9WMIzVtqFLSo2w0NkmQLI5c0fktpKV62PNnmXiZZ3uwpcbFwxQ== X-Received: by 10.98.73.1 with SMTP id w1mr35828366pfa.123.1479130571788; Mon, 14 Nov 2016 05:36:11 -0800 (PST) Received: from ?IPv6:2001:44b8:31ae:7b01:1c1a:5103:265d:bfaf? (2001-44b8-31ae-7b01-1c1a-5103-265d-bfaf.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:1c1a:5103:265d:bfaf]) by smtp.gmail.com with ESMTPSA id t21sm11440478pfa.1.2016.11.14.05.36.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Nov 2016 05:36:11 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r423024 - head/www/py-django-contrib-comments To: =?UTF-8?Q?Ren=c3=a9_Ladan?= , Dmitry Marakasov Cc: "ports-committers@freebsd.org" , "svn-ports-all@freebsd.org" , "svn-ports-head@freebsd.org" References: <201609302113.u8ULDKSO042487@repo.freebsd.org> <20161025154408.GD60716@hades.panopticon> From: Kubilay Kocak Message-ID: Date: Tue, 15 Nov 2016 00:34:30 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Thunderbird/51.0a2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2016 13:36:12 -0000 On 26/10/2016 6:44 AM, René Ladan wrote: > 2016-10-25 20:09 GMT+02:00 René Ladan : >> 2016-10-25 17:44 GMT+02:00 Dmitry Marakasov : >>> * 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 "", line 1, in > File "setup.py", line 87, in > "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 > 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 > 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