forked from pool/python-mocket
- Update to version 3.12.0:
* Support for Python 3.12 (#204) * Fix for Python 3.12 * Getting rid of Python 3.7, since it's not supported anymore. * Precommit hooks' autoupdate. * Disabling `aiohttp` for testing Python 3.12. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=67
This commit is contained in:
parent
0cccfa3fb6
commit
f86ffa3328
BIN
mocket-3.11.1.tar.gz
(Stored with Git LFS)
BIN
mocket-3.11.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
mocket-3.12.0.tar.gz
Normal file
3
mocket-3.12.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6ebbc15b04d64f617fbac54146bef0cfd2f491cb785f515d765e26bb92d410d0
|
||||||
|
size 591080
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 31 17:34:29 UTC 2023 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- Update to version 3.12.0:
|
||||||
|
* Support for Python 3.12 (#204)
|
||||||
|
* Fix for Python 3.12
|
||||||
|
* Getting rid of Python 3.7, since it's not supported anymore.
|
||||||
|
* Precommit hooks' autoupdate.
|
||||||
|
* Disabling `aiohttp` for testing Python 3.12.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 24 10:15:32 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
Tue Oct 24 10:15:32 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@ -27,13 +27,16 @@
|
|||||||
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-mocket%{psuffix}
|
Name: python-mocket%{psuffix}
|
||||||
Version: 3.11.1
|
Version: 3.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python socket mock framework
|
Summary: Python socket mock framework
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/mindflayer/python-mocket
|
URL: https://github.com/mindflayer/python-mocket
|
||||||
Source0: https://files.pythonhosted.org/packages/source/m/mocket/mocket-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/m/mocket/mocket-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module hatchling}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-decorator >= 4
|
Requires: python-decorator >= 4
|
||||||
@ -67,19 +70,19 @@ included, with gevent/asyncio/SSL support.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n mocket-%{version}
|
%autosetup -p1 -n mocket-%{version}
|
||||||
sed -i '/cov/ d' setup.cfg
|
#sed -i '/cov/ d' setup.cfg
|
||||||
sed -i '/pipenv/ d' setup.py
|
#sed -i '/pipenv/ d' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -114,7 +117,7 @@ donttest="$donttest or test_truesendall_with_dump_from_recording"
|
|||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/mocket
|
%{python_sitelib}/mocket
|
||||||
%{python_sitelib}/mocket-%{version}-py*.egg-info
|
%{python_sitelib}/mocket-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user