Django-polymorphic simplifies using inherited models in Django projects.
When a query is made at the base model, the inherited model classes are
returned.
WWW: https://github.com/chrisglass/django_polymorphic
www/py-django_polymorphic: Rename to py-django-polymorphic, Update to 2.1.2
* Use this update, which introduced support for Django 2.2 in the 2.1.0
release, as preparation to switch from Django 1.11 (End-of-Life) to
Django 2.2 (current LTS release) once the update for www/py-django-filer
lands [1].
* Rename the port to match the canonical name at PyPI.
* Update the WWW field to spare users from redirects and fix a whitespace
issue in the pkg-descr.
* Bump PORTREVISION of its consumer www/py-django-filer due changed
dependencies.
Changelog:
https://github.com/django-polymorphic/django-polymorphic/blob/v2.1.2/docs/changelog.rst
PR: 245473, 245470 [1]
Approved by: Kevin Golding <ports@caomhin.org> (maintainer)
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
New port: www/py-django_polymorphic
Django-polymorphic simplifies using inherited models in Django projects.
When a query is made at the base model, the inherited model classes are
returned.
WWW: https://github.com/chrisglass/django_polymorphic
PR: 207023
Submitted by: Kevin Golding <ports@caomhin.org>