Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Apr 2018 11:55:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 227319] [NEW PORT] www/py-djangorestframework38: Django REST framework - 3.8.x branch
Message-ID:  <bug-227319-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227319

            Bug ID: 227319
           Summary: [NEW PORT] www/py-djangorestframework38: Django REST
                    framework - 3.8.x branch
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pypi.python.org/pypi/djangorestframework/3.8.1
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd_ports@k-worx.org
                CC: python@FreeBSD.org

Created attachment 192282
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192282&action=
=3Dedit
py-djangorestframework38.shar

Hello,

attached is the shar file of the Python package py-djangorestframework38, t=
he
3.8.x branch of the Django REST framework.

Normally I would have sent a patch to update the existing
www/py-djangorestframework port from 3.6.4 to v3.8.1 but this would break p=
orts
that depends on Django v1.8 (see also:
https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D457543).

At the moment only three ports depends on www/py-djangorestframework:

- www/seahub (depends on Django 1.8 at the moment, no support for Django 1.=
11
from upstream)
- www/py-django-filter (works for Django v1.8+)
- www/py-django-rest-swagger (works for Django v1.8+)


There might be two approaches to add the latest Django REST framework to the
ports tree:

Option A (easiest, but might not be the preferred method, I assume):
- create the www/py-djangorestframework38 port with the attached shar file
- Django v1.11+ ports will use then the newly created port

Option B (more work required, but the outcome might be better):
- rename www/py-djangorestframework to www/py-djangorestframework36
- create then the Django REST framework v3.8.1 as www/py-djangorestframewor=
k=20=20
- set the dependencies of the of three ports listed above accordingly


QA (for option A as described above):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- poudriere (11.1-RELEASE amd64 + i386) for each py27 and py36 flavor -> OK
- portlint -> OK


Please let me know, which method will suit best for the ports tree. I would
supply further patches if required.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227319-21822>