Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-socks for openSUSE:Factory checked in at 2023-07-05 15:31:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-socks (Old) and /work/SRC/openSUSE:Factory/.python-python-socks.new.23466 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-socks" Wed Jul 5 15:31:01 2023 rev:5 rq:1096900 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-socks/python-python-socks.changes 2023-03-01 16:14:53.418859885 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-socks.new.23466/python-python-socks.changes 2023-07-05 15:31:17.938829334 +0200 @@ -1,0 +2,10 @@ +Wed Jul 5 07:43:34 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Clean up SPEC file. + +------------------------------------------------------------------- +Tue Jul 4 11:32:43 UTC 2023 - ecsos <ec...@opensuse.org> + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-socks.spec ++++++ --- /var/tmp/diff_new_pack.iDRZZh/_old 2023-07-05 15:31:18.462832443 +0200 +++ /var/tmp/diff_new_pack.iDRZZh/_new 2023-07-05 15:31:18.466832467 +0200 @@ -16,8 +16,7 @@ # -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-python-socks Version: 2.1.1 Release: 0 @@ -25,7 +24,8 @@ License: Apache-2.0 URL: https://github.com/romis2012/python-socks Source: https://files.pythonhosted.org/packages/source/p/python-socks/python-socks-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -38,22 +38,23 @@ directly. It is used internally by aiohttp-socks and httpx-socks packages. %prep -%setup -q -n python-socks-%{version} +%autosetup -p1 -n python-socks-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # try at least a simple import -echo 'from python_socks import ProxyType' | python3 +%python_exec -c 'from python_socks import ProxyType' %files %{python_files} %doc README.md %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/python_socks +%{python_sitelib}/python_socks-%{version}*-info %changelog