15
0

Accepting request 1045711 from home:Simmphonie:branches:devel:languages:python

- 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
- 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

OBS-URL: https://build.opensuse.org/request/show/1045711
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dj-database-url?expand=0&rev=15
This commit is contained in:
2022-12-29 22:40:38 +00:00
committed by Git OBS Bridge
parent 7150754af3
commit a24cddc747
4 changed files with 45 additions and 16 deletions

View File

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

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Thu Dec 22 19:19:28 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org>
- 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 <simmphonie@opensuse.org>
- 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 <jayvdb@gmail.com>

View File

@@ -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

View File

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