Accepting request 1136292 from devel:languages:python
- update to 1.15: * Remove python 2.x support. * Update to PEP517 compliance. * Migrate CI to github actions. OBS-URL: https://build.opensuse.org/request/show/1136292 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lzo?expand=0&rev=4
This commit is contained in:
commit
7af6ba3968
BIN
python-lzo-1.14.tar.gz
(Stored with Git LFS)
BIN
python-lzo-1.14.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
python-lzo-1.15.tar.gz
Normal file
3
python-lzo-1.15.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a57aaa00c5c3a0515dd9f7426ba2cf601767dc19dc023d8b99d4a13b0a327b49
|
||||
size 17633
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 2 21:21:09 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user