This package lets you use real Python (PEP435-style) enums with Django.
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[Thomas: add select on python-enum34 if python 2.x is used]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
F: package/php/
F: package/policycoreutils/
F: package/python3/
+F: package/python-django-enumfields/
F: package/python-flask-sqlalchemy/
F: package/python-mutagen/
F: package/python-pip/
source "package/python-dialog3/Config.in"
source "package/python-dicttoxml/Config.in"
source "package/python-django/Config.in"
+ source "package/python-django-enumfields/Config.in"
source "package/python-docker/Config.in"
source "package/python-docker-pycreds/Config.in"
source "package/python-dockerpty/Config.in"
--- /dev/null
+config BR2_PACKAGE_PYTHON_DJANGO_ENUMFIELDS
+ bool "python-django-enumfields"
+ select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime
+ help
+ Real Python Enums for Django.
+
+ https://github.com/hzdg/django-enumfields
--- /dev/null
+# md5, sha256 from https://pypi.org/pypi/django-enumfields/json
+md5 c9725a2c31ca2949d111815742335279 django-enumfields-1.0.0.tar.gz
+sha256 5b0e2dd5973337717ca6bd5a7d9e167e6ae01203c160d4761b88837c4678f219 django-enumfields-1.0.0.tar.gz
+# Locally computed sha256 checksums
+sha256 5548de8c163dc57bd0a4f5772f1509f2c04f1390251c98ebf060c9d52a223f57 LICENSE
--- /dev/null
+################################################################################
+#
+# python-django-enumfields
+#
+################################################################################
+
+PYTHON_DJANGO_ENUMFIELDS_VERSION = 1.0.0
+PYTHON_DJANGO_ENUMFIELDS_SOURCE = django-enumfields-$(PYTHON_DJANGO_ENUMFIELDS_VERSION).tar.gz
+PYTHON_DJANGO_ENUMFIELDS_SITE = https://files.pythonhosted.org/packages/b7/56/3f4e8d8ef6d5577a1b75b3cfae6dff819afd030e3a519a326ec7a7a0b74f
+PYTHON_DJANGO_ENUMFIELDS_SETUP_TYPE = setuptools
+PYTHON_DJANGO_ENUMFIELDS_LICENSE = MIT
+PYTHON_DJANGO_ENUMFIELDS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))