forked from pool/python-nh3
- update to 0.2.15:
* Bump pyo3 from 0.19.2 to 0.20.0 * Improve README * Improve documentation OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nh3?expand=0&rev=3
This commit is contained in:
@@ -17,20 +17,19 @@
|
||||
|
||||
|
||||
Name: python-nh3
|
||||
Version: 0.2.13
|
||||
Version: 0.2.15
|
||||
Release: 0
|
||||
Summary: Ammonia HTML sanitizer Python binding
|
||||
License: MIT
|
||||
URL: https://github.com/messense/nh3
|
||||
Source: https://files.pythonhosted.org/packages/source/n/nh3/nh3-%{version}.tar.gz
|
||||
Source1: vendor.tar.zst
|
||||
Source2: cargo_config
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module maturin >= 1.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: cargo
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: zstd
|
||||
%python_subpackages
|
||||
|
||||
@@ -39,8 +38,6 @@ Ammonia HTML sanitizer Python binding
|
||||
|
||||
%prep
|
||||
%autosetup -a1 -p1 -n nh3-%{version}
|
||||
mkdir .cargo
|
||||
cp %{SOURCE2} .cargo/config
|
||||
rm -v Cargo.lock
|
||||
|
||||
%build
|
||||
|
||||
Reference in New Issue
Block a user