svn commit: r457271 - head/www/py-djangorestframework
Alfred Perlstein
alfred at freebsd.org
Fri Dec 29 22:45:45 UTC 2017
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 <alfred at freebsd.org
> <mailto:alfred at 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/
>> <http://www.django-rest-framework.org/topics/release-notes/>
>>
>> On Tue, Dec 26, 2017 at 2:12 AM, Alfred Perlstein
>> <alfred at freebsd.org <mailto:alfred at 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
>> <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 <http://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
>>
>>
>
>
More information about the svn-ports-all
mailing list