Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2017 12:18:33 -0800
From:      Ultima <ultima1252@gmail.com>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r457271 - head/www/py-djangorestframework
Message-ID:  <CANJ8om7SsjeC2ozRTp9BQa5r1i2pr7%2Bu5ipc4rSgVG=Egu8=OA@mail.gmail.com>
In-Reply-To: <ec3563a8-4ef0-e2ca-b370-992dae6a6496@freebsd.org>
References:  <201712261012.vBQACwJ9016524@repo.freebsd.org> <CANJ8om7cmXZKaQ5tmoeMf1yB74NjmNt37icexzhLogph6E145w@mail.gmail.com> <ec3563a8-4ef0-e2ca-b370-992dae6a6496@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <alfred@freebsd.org>
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 <alfred@freebsd.org>
> 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 <bsd.port.mk>
>>
>> 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
>>
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANJ8om7SsjeC2ozRTp9BQa5r1i2pr7%2Bu5ipc4rSgVG=Egu8=OA>