https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227319

            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-b...@freebsd.org
          Reporter: freebsd_po...@k-worx.org
                CC: pyt...@freebsd.org

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

Hello,

attached is the shar file of the Python package py-djangorestframework38, the
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 ports
that depends on Django v1.8 (see also:
https://svnweb.freebsd.org/ports?view=revision&revision=457543).

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-djangorestframework  
- 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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to