diff --git a/dj-database-url-1.2.0.tar.gz b/dj-database-url-1.2.0.tar.gz new file mode 100644 index 0000000..3821d9d --- /dev/null +++ b/dj-database-url-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b23b15046cb38180e0c95207bcc90fe5e9dbde8eef16065907dd85cf4ca7036c +size 7310 diff --git a/python-dj-database-url.changes b/python-dj-database-url.changes index af0dba4..cb1f4e4 100644 --- a/python-dj-database-url.changes +++ b/python-dj-database-url.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Thu Dec 22 19:19:28 UTC 2022 - Torsten Gruner + +- Update to version 1.2.0 + * Add the ability to add test databases. + * Improve url parsing and encoding. + * Fix missing parameter conn_health_check in check function. +- Version 1.1.0 + * Option for connection health checks parameter. + * Update supported version python 3.11. + * Code changes, various improvments. + * Add project links to setup.py + +------------------------------------------------------------------- +Sun Jul 31 14:37:49 UTC 2022 - Torsten Gruner + +- Update to 1.0.0 + * Add support for cockroachdb. + * Add support for the offical MSSQL connector. + * Update License to be compatible with Jazzband. + * Remove support for Python < 3.5 including Python 2.7 + * Update source code to Black format. + * Update CI using pre-commit + ------------------------------------------------------------------- Wed Nov 18 10:15:52 UTC 2020 - John Vandenberg diff --git a/python-dj-database-url.spec b/python-dj-database-url.spec index dee249f..cc56902 100644 --- a/python-dj-database-url.spec +++ b/python-dj-database-url.spec @@ -1,7 +1,7 @@ # # spec file for package python-dj-database-url # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,26 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dj-database-url -Version: 0.5.0 +Version: 1.2.0 Release: 0 Summary: Utility to use database URLs in Django applications License: BSD-3-Clause Group: Development/Languages/Python -URL: https://github.com/kennethreitz/dj-database-url -Source: https://github.com/kennethreitz/dj-database-url/archive/v%{version}.tar.gz -BuildRequires: %{python_module Django} -BuildRequires: %{python_module pytest} +URL: https://github.com/jazzband/dj-database-url +Source: https://files.pythonhosted.org/packages/source/d/dj-database-url/dj-database-url-%{version}.tar.gz +BuildRequires: %{python_module Django > 3.2} +BuildRequires: %{python_module devel >= 3.6} +BuildRequires: %{python_module packaging} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Django > 3.2 +%if 0%{?python_version_nodots} < 38 +Requires: python-typing_extensions >= 3.10 +%endif BuildArch: noarch %python_subpackages @@ -54,18 +60,17 @@ Oracle, Oracle (GIS), and SQLite. %setup -q -n dj-database-url-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%check -%pytest - %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/dj_database_url.py +%{python_sitelib}/dj_database_url-%{version}.dist-info +%pycache_only %{python_sitelib}/__pycache__ %changelog diff --git a/v0.5.0.tar.gz b/v0.5.0.tar.gz deleted file mode 100644 index dd7f756..0000000 --- a/v0.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4a8f575bdda4060654b1d941b571e80e53127c7844a54009b00afb3431df036c -size 6309