15
0

Accepting request 1004619 from devel:languages:python

- update to 0.17.3:
  * Allow writer to become a reader in thread ReaderWriter lock
  * Remove unnecessary setuptools pin
  * Switch to the modern python package build infrastructure
  * Remove support for python 3.5 and earlier, including 2.7
  * Add support for python 3.9 and 3.10
  * Fix a conflict with django lock
  * Add __version__ and __all__ attributes
  * Fix a failure to parse README as utf-8
  * Move from nosetest to pytest and cleanup testing infrastructure

OBS-URL: https://build.opensuse.org/request/show/1004619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fasteners?expand=0&rev=11
This commit is contained in:
2022-09-19 14:03:37 +00:00
committed by Git OBS Bridge
4 changed files with 27 additions and 10 deletions

View File

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

View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Sep 19 08:15:03 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.17.3:
* Allow writer to become a reader in thread ReaderWriter lock
* Remove unnecessary setuptools pin
* Switch to the modern python package build infrastructure
* Remove support for python 3.5 and earlier, including 2.7
* Add support for python 3.9 and 3.10
* Fix a conflict with django lock
* Add __version__ and __all__ attributes
* Fix a failure to parse README as utf-8
* Move from nosetest to pytest and cleanup testing infrastructure
-------------------------------------------------------------------
Sun Aug 1 09:35:46 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-fasteners
#
# Copyright (c) 2021 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
@@ -19,18 +19,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-fasteners
Version: 0.16.3
Version: 0.17.3
Release: 0
Summary: A python package that provides useful locks
License: Apache-2.0
URL: https://github.com/harlowja/fasteners
Source: https://files.pythonhosted.org/packages/source/f/fasteners/fasteners-%{version}.tar.gz
Source: https://github.com/harlowja/fasteners/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}-gh.tar.gz
BuildRequires: %{python_module diskcache}
BuildRequires: %{python_module more-itertools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testtools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-more-itertools
Requires: python-six
BuildArch: noarch
%if %{with python2}
@@ -50,10 +53,10 @@ It includes the following.
%setup -q -n fasteners-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -61,7 +64,7 @@ It includes the following.
%files %{python_files}
%license LICENSE
%doc ChangeLog README.md
%doc CHANGELOG README.md
%{python_sitelib}/*
%changelog