From ca24ef4ea6539a852f506629cd7114004920f567f346b8c7b249c9faa0c9695a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 23 Nov 2024 17:52:33 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + django-environ-0.11.2.tar.gz | 3 ++ django-environ-0.4.5.tar.gz | 3 ++ python-django-environ.changes | 44 +++++++++++++++++++++++++ python-django-environ.spec | 62 +++++++++++++++++++++++++++++++++++ 6 files changed, 136 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 django-environ-0.11.2.tar.gz create mode 100644 django-environ-0.4.5.tar.gz create mode 100644 python-django-environ.changes create mode 100644 python-django-environ.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/django-environ-0.11.2.tar.gz b/django-environ-0.11.2.tar.gz new file mode 100644 index 0000000..c2dc841 --- /dev/null +++ b/django-environ-0.11.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f32a87aa0899894c27d4e1776fa6b477e8164ed7f6b3e410a62a6d72caaf64be +size 54326 diff --git a/django-environ-0.4.5.tar.gz b/django-environ-0.4.5.tar.gz new file mode 100644 index 0000000..b5c470a --- /dev/null +++ b/django-environ-0.4.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c9d87660142608f63ec7d5ce5564c49b603ea8ff25da595fd6098f6dc82afde +size 30525 diff --git a/python-django-environ.changes b/python-django-environ.changes new file mode 100644 index 0000000..d3f9dfa --- /dev/null +++ b/python-django-environ.changes @@ -0,0 +1,44 @@ +------------------------------------------------------------------- +Sat Nov 23 17:51:02 UTC 2024 - Dirk Müller + +- 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 + +- 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 + +- Add LANG to %check to fix Leap + +------------------------------------------------------------------- +Mon Feb 18 17:12:40 UTC 2019 - Jan Engelhardt + +- Avoid name repetition in summary; use noun phrasing. + +------------------------------------------------------------------- +Sat Feb 16 03:42:42 UTC 2019 - John Vandenberg + +- Initial spec for v0.4.5 diff --git a/python-django-environ.spec b/python-django-environ.spec new file mode 100644 index 0000000..be54ccd --- /dev/null +++ b/python-django-environ.spec @@ -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