diff --git a/python-lzo-1.14.tar.gz b/python-lzo-1.14.tar.gz deleted file mode 100644 index ee54ddb..0000000 --- a/python-lzo-1.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:83cbd8ecaae284735250e31d6c0ecc18ac08763fab2a8c910dc5a6910db6250c -size 14050 diff --git a/python-lzo-1.15.tar.gz b/python-lzo-1.15.tar.gz new file mode 100644 index 0000000..f29185a --- /dev/null +++ b/python-lzo-1.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a57aaa00c5c3a0515dd9f7426ba2cf601767dc19dc023d8b99d4a13b0a327b49 +size 17633 diff --git a/python-python-lzo.changes b/python-python-lzo.changes index fde8df3..33d567f 100644 --- a/python-python-lzo.changes +++ b/python-python-lzo.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Jan 2 21:21:09 UTC 2024 - Dirk Müller + +- update to 1.15: + * Remove python 2.x support. + * Update to PEP517 compliance. + * Migrate CI to github actions. + ------------------------------------------------------------------- Sun Jan 16 12:18:43 UTC 2022 - Ben Greiner diff --git a/python-python-lzo.spec b/python-python-lzo.spec index f1e455c..61f2348 100644 --- a/python-python-lzo.spec +++ b/python-python-lzo.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-lzo # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-python-lzo -Version: 1.14 +Version: 1.15 Release: 0 Summary: Python bindings for the LZO data compression library License: GPL-2.0-only @@ -26,7 +26,9 @@ Group: Development/Languages/Python URL: https://github.com/jd-boyd/python-lzo Source: https://files.pythonhosted.org/packages/source/p/python-lzo/python-lzo-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: lzo-devel BuildRequires: python-rpm-macros @@ -44,19 +46,19 @@ ratios at the expense of time. %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%pytest_arch tests/test.py +%pytest_arch tests %files %{python_files} %doc NEWS %license COPYING %{python_sitearch}/lzo.*so -%{python_sitearch}/python_lzo-%{version}*-info +%{python_sitearch}/python_lzo-%{version}.dist-info %changelog