[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
Mon Apr 2 19:52:51 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227149
Kai <freebsd_ports at k-worx.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #192021|0 |1
is obsolete| |
--- Comment #8 from Kai <freebsd_ports at k-worx.org> ---
Created attachment 192117
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192117&action=edit
Testcase with django variable in USE_PYTHON
Hello everyone,
thanks for all your input. Attached is another patch which implements Antoine's
and Kubilay's suggestions.
A short overview about what the patch does:
- create a new variable DJANGO_DEFAULT in Mk/bsd.default-versions.mk
- add support for django for USE_PYTHON in Mk/Uses/python.mk
- all ports, that depend on Django (except the meta port), are patched
(deprecated ports have the value django:1.8 otherwise django is set either to
django:1.8+ or django:1.11+
This patch still lacks support for specific naming for django packages.
The expected behavior for packages, that don't match the specific Django
version, should be ignored. The patch needs of course thorough testing.
Please consider this patch as a testcase and possible suggestion to develop the
idea further with it. It's not the definitive solution - for that the patch is
too far away to be perfect.
--
Cheers
Kai
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-python
mailing list