From owner-svn-ports-head@freebsd.org Fri Dec 29 20:18:35 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 39CB6EAE72F; Fri, 29 Dec 2017 20:18:35 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (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 E925E79F02; Fri, 29 Dec 2017 20:18:34 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x231.google.com with SMTP id f1so9726375ywd.8; Fri, 29 Dec 2017 12:18:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8WozrnYKMWtKa0s0TNNRsmz5lWnuzQoUJC7fxFzeMMY=; b=CVvyNatvj5ssZfmBKglS2vfTWto/VofspSIh3GIaQtRmdWi2+nrZamqah8iXfxp4Yg qD+V3rUQ39L4icIgeb1MWCr6LjSkpDw3T78Qt4FSm1uOxFfNDXuyCGJBtHa12z0JtS5b RDe6zweEbwSslE0ZvEqHg6K9cri3vo4Ayomavx/ixuquq8H2Z7uaKdu0xETVyvdlCJ3n Qy8WV6fa7wwXVzpwOUCgNKdkKCj59zXaXzAnPmQlkZltnzzDFy6Vbc7KoRj7nu7Clqrn MS+u9SRE30UHHoQxOeGlvSzeMQgIrxg7JMa1oiiCCiG4+tsPbrUR7Dj4lRKuI71kSnUf /m8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8WozrnYKMWtKa0s0TNNRsmz5lWnuzQoUJC7fxFzeMMY=; b=dGFDc5bHaxl8+atQ0AZGkpv36vAs7FfeS3VYAVIIMusAs/nrlbBBF7TKypet2ormn/ zQ34WNV+vrvArjTACXzy6DIwDyrJjJzEMqk8AlUkVeqnaaTw0N0bDWzmlqIrnpTio8rM sVlCw9medqKTdDLsTmPBedQZSql2dHGINPMSHYEsLcH+gEBO4YQ/Ed4L1JrS5OxCCYYD a4UsTemIvueeqFXyznf+IHEazZV35gdY8JUJq5O9EP387vUFrWL0ZOZMNeW99aBl9pr4 sQNupfBN4dxyU7iSlU1Khb69cfm8L8Dqx8xtLoKqePL0jYUafAPqkrBrIVqZqG8WTORS QSuw== X-Gm-Message-State: AKGB3mL8e9qz6irTejREeGdyOfuDS8zmbcdsDnuEn55J3LYZxNjNZ6CF Q2qJeYSbJUzPrwKXOwNeocKfpbfalnlDzHdl2xAiN4di X-Google-Smtp-Source: ACJfBosFbjkw6eLkRacD+cLUzuyhLY1EjWBV22x5LLCZq5sTTqPNlTUVVK3aFaGkuzV3q0zQKLVyKDX7F+854uWzD2M= X-Received: by 10.129.131.203 with SMTP id t194mr25362785ywf.115.1514578713760; Fri, 29 Dec 2017 12:18:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.174.3 with HTTP; Fri, 29 Dec 2017 12:18:33 -0800 (PST) In-Reply-To: References: <201712261012.vBQACwJ9016524@repo.freebsd.org> From: Ultima Date: Fri, 29 Dec 2017 12:18:33 -0800 Message-ID: Subject: Re: svn commit: r457271 - head/www/py-djangorestframework To: Alfred Perlstein Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset="UTF-8" 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 20:18:35 -0000 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 >> >> > >