15
0

- Update to 0.6.0

Added
  * Added aliases optional argument to Engine.add_resource.
Changes
  * Update PyO3 dependency to 0.16.
  * Update upstream dependency to 0.5.6.
Breaks
  * Minimum Rust version is now 1.53.
  * Minimum Python version is now 3.7.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-adblock?expand=0&rev=10
This commit is contained in:
2022-07-24 16:42:18 +00:00
committed by Git OBS Bridge
parent 642774283f
commit 26e00388e6
5 changed files with 22 additions and 9 deletions

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-adblock
Version: 0.5.2
Version: 0.6.0
Release: 0
Summary: Brave's adblock library in Python
License: Apache-2.0 OR MIT
@@ -40,9 +40,9 @@ ExclusiveArch: %{rust_arches}
Python wrapper for Brave's adblocking library.
%prep
%setup -q -n adblock-%{version}
# build flavor-specific versions -- otherwise py3.9 wheel will not work
sed -i 's/"abi3-py36", //' Cargo.toml
%setup -q
# build flavor-specific versions -- otherwise wheels will not work
sed -i 's/"abi3-py37", //' Cargo.toml
tar xf %{SOURCE1}