From owner-freebsd-python@freebsd.org  Mon Apr  2 19:52:51 2018
Return-Path: <owner-freebsd-python@freebsd.org>
Delivered-To: freebsd-python@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58EE5F8160A
 for <freebsd-python@mailman.ysv.freebsd.org>;
 Mon,  2 Apr 2018 19:52:51 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:5])
 by mx1.freebsd.org (Postfix) with ESMTP id E5A286F0CA
 for <freebsd-python@freebsd.org>; Mon,  2 Apr 2018 19:52:50 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: by mailman.ysv.freebsd.org (Postfix)
 id A4A8EF81609; Mon,  2 Apr 2018 19:52:50 +0000 (UTC)
Delivered-To: python@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91FF8F81608
 for <python@mailman.ysv.freebsd.org>; Mon,  2 Apr 2018 19:52:50 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org
 [IPv6:2001:1900:2254:206a::19:3])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "mxrelay.ysv.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 2A45E6F0C8
 for <python@FreeBSD.org>; Mon,  2 Apr 2018 19:52:50 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 42B0310EF1
 for <python@FreeBSD.org>; Mon,  2 Apr 2018 19:52:49 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w32JqnEf057901
 for <python@FreeBSD.org>; Mon, 2 Apr 2018 19:52:49 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
 by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w32JqnTH057900
 for python@FreeBSD.org; Mon, 2 Apr 2018 19:52:49 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to
 bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: python@FreeBSD.org
Subject: [Bug 227149] Use the www/py-django meta port instead of the
 www/py-django18 port to move to Django 1.11
Date: Mon, 02 Apr 2018 19:52:49 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: Affects Some People
X-Bugzilla-Who: freebsd_ports@k-worx.org
X-Bugzilla-Status: Open
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: python@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback+
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-227149-21822-jyj0grugud@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227149-21822@https.bugs.freebsd.org/bugzilla/>
References: <bug-227149-21822@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.25
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, 
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Apr 2018 19:52:51 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227149

Kai <freebsd_ports@k-worx.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #192021|0                           |1
        is obsolete|                            |

--- Comment #8 from Kai <freebsd_ports@k-worx.org> ---
Created attachment 192117
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192117&action=
=3Dedit
Testcase with django variable in USE_PYTHON

Hello everyone,

thanks for all your input. Attached is another patch which implements Antoi=
ne's
and Kubilay's suggestions.

A short overview about what the patch does:
- create a new variable DJANGO_DEFAULT in Mk/bsd.default-versions.mk
- add support for django for USE_PYTHON in Mk/Uses/python.mk
- all ports, that depend on Django (except the meta port), are patched
(deprecated ports have the value django:1.8 otherwise django is set either =
to
django:1.8+ or django:1.11+

This patch still lacks support for specific naming for django packages.

The expected behavior for packages, that don't match the specific Django
version, should be ignored. The patch needs of course thorough testing.

Please consider this patch as a testcase and possible suggestion to develop=
 the
idea further with it. It's not the definitive solution - for that the patch=
 is
too far away to be perfect.
--
Cheers
Kai

--=20
You are receiving this mail because:
You are the assignee for the bug.=