SHA256
1
0
forked from pool/python-gitdb

Compare commits

4 Commits

Author SHA256 Message Date
ee019d1b99 Accepting request 1289118 from devel:languages:python
- Switch to pyproject macros.
- List directories explicitly under %files.
- Run a portion of the testsuite.

OBS-URL: https://build.opensuse.org/request/show/1289118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gitdb?expand=0&rev=9
2025-07-01 09:33:08 +00:00
e040bf51bb - Switch to pyproject macros.
- List directories explicitly under %files.
- Run a portion of the testsuite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gitdb?expand=0&rev=22
2025-06-30 04:23:59 +00:00
194dd4d5df Accepting request 1241510 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1241510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gitdb?expand=0&rev=8
2025-01-31 15:02:08 +00:00
27de8ff941 - Update to 4.0.12
* Never add a vendored smmap directory to sys.path
  * Revise and update the readme
  * Set Dependabot submodule update cadence to weekly
  * Add missing asserts in test_base.py
  * Use contextlib.suppress instead of except: pass
  * Add support for Python 3.13
  * Potential Race Condition Fix - OS Rename & Chmod - PermissionError
  * Bump gitdb/ext/smmap from 256c5a2 to 04dd210
  * Bump actions/setup-python from 4 to 5

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gitdb?expand=0&rev=20
2025-01-30 17:37:56 +00:00
4 changed files with 38 additions and 10 deletions

BIN
gitdb-4.0.11.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
gitdb-4.0.12.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Mon Jun 30 04:23:20 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- List directories explicitly under %files.
- Run a portion of the testsuite.
-------------------------------------------------------------------
Wed Jan 22 11:05:28 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.0.12
* Never add a vendored smmap directory to sys.path
* Revise and update the readme
* Set Dependabot submodule update cadence to weekly
* Add missing asserts in test_base.py
* Use contextlib.suppress instead of except: pass
* Add support for Python 3.13
* Potential Race Condition Fix - OS Rename & Chmod - PermissionError
* Bump gitdb/ext/smmap from 256c5a2 to 04dd210
* Bump actions/setup-python from 4 to 5
-------------------------------------------------------------------
Mon Nov 27 19:00:20 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-gitdb
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,23 @@
%{?sle15_python_module_pythons}
Name: python-gitdb
Version: 4.0.11
Version: 4.0.12
Release: 0
Summary: Git Object Database
License: BSD-3-Clause
URL: https://github.com/gitpython-developers/gitdb
Source: https://files.pythonhosted.org/packages/source/g/gitdb/gitdb-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module smmap >= 3.0.1}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-smmap >= 3.0.1
Provides: python-gitdb2 = %{version}
Obsoletes: python-gitdb2 < %{version}
BuildArch: noarch
%python_subpackages
%description
@@ -40,19 +44,22 @@ GitDB is a pure-Python git object database
%setup -q -n gitdb-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Package requires its own git tree in order to pass tests
#%%python_exec setup.py test
donttest="test_reading or test_writing or test_correctness or test_base"
donttest+=" or test_loose_correctness or test_pack_random_access"
donttest+=" or test_pack_writing or test_stream_reading"
%pytest -k "not ($donttest)"
%files %{python_files}
%license LICENSE
%doc AUTHORS
%{python_sitelib}/gitdb*
%{python_sitelib}/gitdb
%{python_sitelib}/gitdb-%{version}.dist-info
%changelog