[Bug 227149] Use the www/py-django meta port instead of the www/py-django18 port to move to Django 1.11

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 28 23:20:00 UTC 2018


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

Kai <freebsd_ports at k-worx.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #192117|0                           |1
        is obsolete|                            |

--- Comment #10 from Kai <freebsd_ports at k-worx.org> ---
Created attachment 196657
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196657&action=edit
django-testcase-v2.patch

Now that Django 1.8 has been removed from the ports tree (thanks to all who
have been involved in this) here's is an rebased and updated patch against
@r478329 .

Summary:
- introduces "django" keyword for USE_PYTHON
- valid arguments are <version>, build, run, test
- <version> can be 1.11+, 1.11-2.0, -2.0 or kept blank to use the default
Django version
- if the Django version given by the user/ports framework doesn't match the
Django version(s) in a port's Makefile the port will be ignored.

QA:
~~~
- Tested on 11.2-RELEASE with Django 1.11, 2.0 and 2.1 as default versions

If this approach makes sense I would open a review for it in phabricator. In
that case please let me know who I should add as reviewers.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list