- update to 0.11.2:

* Revert "Add variable expansion." feature
  * Revert "Add interpolate argument to avoid resolving proxied
    values." feature
  * Added support for Django 4.2
  * Added support for secure Elasticsearch connections
  * Added variable expansion
  * Added capability to handle comments after #, after quoted values,
  * Added support for ``interpolate`` parameter
  * Use the core redis library by default if running Django >= 4.0
  * Value of dict can now contain an equal sign
  * Added support for Python 3.11.
  * Added ``CONN_HEALTH_CHECKS`` to database base options
  * Added ``encoding`` parameter to ``read_env`` with default
    value 'utf8'
  * Added support for Django 4.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-environ?expand=0&rev=11
This commit is contained in:
Dirk Mueller 2024-11-23 17:52:33 +00:00 committed by Git OBS Bridge
commit ca24ef4ea6
6 changed files with 136 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f32a87aa0899894c27d4e1776fa6b477e8164ed7f6b3e410a62a6d72caaf64be
size 54326

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c9d87660142608f63ec7d5ce5564c49b603ea8ff25da595fd6098f6dc82afde
size 30525

View File

@ -0,0 +1,44 @@
-------------------------------------------------------------------
Sat Nov 23 17:51:02 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.11.2:
* Revert "Add variable expansion." feature
* Revert "Add interpolate argument to avoid resolving proxied
values." feature
* Added support for Django 4.2
* Added support for secure Elasticsearch connections
* Added variable expansion
* Added capability to handle comments after #, after quoted values,
* Added support for ``interpolate`` parameter
* Use the core redis library by default if running Django >= 4.0
* Value of dict can now contain an equal sign
* Added support for Python 3.11.
* Added ``CONN_HEALTH_CHECKS`` to database base options
* Added ``encoding`` parameter to ``read_env`` with default
value 'utf8'
* Added support for Django 4.1
-------------------------------------------------------------------
Mon Jun 26 06:15:45 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
- Use sle15_python_module_pythons
-------------------------------------------------------------------
Thu May 20 08:23:56 UTC 2021 - pgajdos@suse.com
- %check: use %pytest macro
-------------------------------------------------------------------
Mon Mar 11 03:56:29 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add LANG to %check to fix Leap
-------------------------------------------------------------------
Mon Feb 18 17:12:40 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Avoid name repetition in summary; use noun phrasing.
-------------------------------------------------------------------
Sat Feb 16 03:42:42 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v0.4.5

View File

@ -0,0 +1,62 @@
#
# spec file for package python-django-environ
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-django-environ
Version: 0.11.2
Release: 0
Summary: Django application configuration via environment variables
License: MIT
Group: Development/Languages/Python
URL: https://github.com/joke2k/django-environ
Source: https://files.pythonhosted.org/packages/source/d/django-environ/django-environ-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Django
BuildArch: noarch
%python_subpackages
%description
Django-environ allows utilizing 12factor inspired environment
variables to configure Django applications.
%prep
%setup -q -n django-environ-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
LANG=en_US.UTF-8
%pytest
%files %{python_files}
%doc CHANGELOG.rst README.rst
%license LICENSE.txt
%{python_sitelib}/environ
%{python_sitelib}/django_environ-%{version}.dist-info
%changelog