From owner-svn-ports-head@freebsd.org Fri Dec 29 22:45:45 2017 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 A40C1EB44F5; Fri, 29 Dec 2017 22:45:45 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from elvis.mu.org (smtp.mu.org [IPv6:2001:559:9c:200::ffff]) by mx1.freebsd.org (Postfix) with ESMTP id 8DF677F2E2; Fri, 29 Dec 2017 22:45:45 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from Alfreds-MBP-2.lan (c-67-169-71-186.hsd1.ca.comcast.net [67.169.71.186]) by elvis.mu.org (Postfix) with ESMTPSA id E69DB10C308A; Fri, 29 Dec 2017 14:45:44 -0800 (PST) Subject: Re: svn commit: r457271 - head/www/py-djangorestframework To: Ultima Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201712261012.vBQACwJ9016524@repo.freebsd.org> From: Alfred Perlstein Organization: FreeBSD Message-ID: Date: Fri, 29 Dec 2017 14:45:44 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 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: Fri, 29 Dec 2017 22:45:45 -0000 Ultima, Those are all good options, again, I'm not that opinionated, but I do think we should be able to have the latest version when and if at all possible. Back ~17 years ago, when I first started committing to ports, what we would have done is just made a version py-djangorestframework364 and fixed up the dependencies for Seafile (and other older things) to point to this stuck older version if the port was truly (Seafile) that important. Will that work? -Alfred On 12/29/17 12:18 PM, Ultima wrote: > Well the best route which isn't currently possible would be setting > the version based on DJANGO_VER with USES= django[1]. This > would fix compatibility for the Django 1.8 flavor for all ports. > > Right now, I think the only real routes would be creating a flavor that > will set to a lesser version. Unfortunately I'm worried this could be > on the messy side and there are a few variables that i'm not entirely > sure about, namely python flavor working with this created flavor. > It maybe best to wait until [1] is committed for a cleaner solution. > I'm not sure if port-mgr@ will even approve of such a flavor lowering > the version. > > The last option would be lowering the version back to 3.6.4 and bumping > epoch. Unfortunately, I'm not sure if this is worth it because it affects > all the other Django versions and there are only a few ports that still > use 1.8. > > Really at a loss, I don't want Seafile to break for everyone on quarterly > but we are a bit short on time. Any other ideas would be welcome. > > [1] https://reviews.freebsd.org/D12592 > > Best regards, > Richard Gallamore > > On Thu, Dec 28, 2017 at 11:05 PM, Alfred Perlstein > wrote: > > I'm totally up for anything here.  Not very opinionated.  Should I > look into this flavor support? > > > On 12/28/17 7:05 PM, Ultima wrote: >> In version 3.7+, support for Django 1.8 & 1.9 has been removed[1]. >> This is a dependency for seahub which only supports django >> 1.8. What would you suggest is the best route for fixing this >> issue? I am wondering if this would be a good use for flavors. If you >> have a better idea let me know. >> >> Thanks, and best regards, >> Richard Gallamore >> >> [1] http://www.django-rest-framework.org/topics/release-notes/ >> >> >> On Tue, Dec 26, 2017 at 2:12 AM, Alfred Perlstein >> > wrote: >> >> Author: alfred (src committer) >> Date: Tue Dec 26 10:12:58 2017 >> New Revision: 457271 >> URL: https://svnweb.freebsd.org/changeset/ports/457271 >> >> >> Log: >>   www/py-djangorestframework: update to 3.7.7 >> >> Modified: >>   head/www/py-djangorestframework/Makefile >>   head/www/py-djangorestframework/distinfo >> >> Modified: head/www/py-djangorestframework/Makefile >> ============================================================================== >> --- head/www/py-djangorestframework/Makefile   Tue Dec 26 >> 09:00:42 2017        (r457270) >> +++ head/www/py-djangorestframework/Makefile   Tue Dec 26 >> 10:12:58 2017        (r457271) >> @@ -2,7 +2,7 @@ >>  # $FreeBSD$ >> >>  PORTNAME=      djangorestframework >> -PORTVERSION=   3.6.4 >> +PORTVERSION=   3.7.7 >>  CATEGORIES=    www python >>  MASTER_SITES=  CHEESESHOP >>  PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >> @@ -12,7 +12,7 @@ COMMENT=      Django REST framework >> >>  LICENSE=       BSD2CLAUSE >> >> -USES=          python >> +USES=          python:2.7+ >>  USE_PYTHON=    distutils autoplist >> >>  .include > >> >> Modified: head/www/py-djangorestframework/distinfo >> ============================================================================== >> --- head/www/py-djangorestframework/distinfo   Tue Dec 26 >> 09:00:42 2017        (r457270) >> +++ head/www/py-djangorestframework/distinfo   Tue Dec 26 >> 10:12:58 2017        (r457271) >> @@ -1,3 +1,3 @@ >> -TIMESTAMP = 1503903057 >> -SHA256 (djangorestframework-3.6.4.tar.gz) = >> de8ac68b3cf6dd41b98e01dcc92dc0022a5958f096eafc181a17fa975d18ca42 >> -SIZE (djangorestframework-3.6.4.tar.gz) = 1011409 >> +TIMESTAMP = 1514282205 >> +SHA256 (djangorestframework-3.7.7.tar.gz) = >> 9f9e94e8d22b100ed3a43cee8c47a7ff7b185e778a1f2da9ec5c73fc4e081b87 >> +SIZE (djangorestframework-3.7.7.tar.gz) = 974316 >> >> > >