forked from pool/python-setuptools-rust
Accepting request 989766 from home:apersaud:branches:devel:languages:python
updated tests - specfile: * update setuptools requirement to 62.4 * require pyparsing * be mor specific in %files section * use pytest - update to version 1.4.1: * Fixed + Fix crash when checking Rust version. #263 - changes from version 1.4.0: * Packaging + Increase minimum setuptools version to 62.4. #246 * Added + Add cargo_manifest_args to support locked, frozen and offline builds. #234 + Add RustBin for packaging binaries in scripts data directory. #248 * Changed + Exec binding RustExtension with script=True is deprecated in favor of RustBin. #248 + Errors while calling cargo metadata are now reported back to the user #254 + quiet option will now suppress output of cargo metadata. #256 + setuptools-rust will now match cargo behavior of not setting --target when the selected target is the rust host. #258 + Deprecate native option of RustExtension. #258 * Fixed + If the sysconfig for BLDSHARED has no flags, setuptools-rust won't crash anymore. #241 OBS-URL: https://build.opensuse.org/request/show/989766 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-rust?expand=0&rev=10
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%global skip_python2 1
|
||||
Name: python-setuptools-rust
|
||||
Version: 1.3.0
|
||||
Version: 1.4.1
|
||||
Release: 0
|
||||
Summary: Setuptools plugin for Rust extensions
|
||||
License: BSD-3-Clause
|
||||
@@ -27,11 +27,16 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/PyO3/setuptools-rust
|
||||
Source: https://files.pythonhosted.org/packages/source/s/setuptools-rust/setuptools-rust-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pyparsing}
|
||||
BuildRequires: %{python_module semantic_version >= 2.8.2}
|
||||
BuildRequires: %{python_module setuptools >= 62.4}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module typing_extensions >= 3.7.4.3}
|
||||
BuildRequires: %{python_module wheel}
|
||||
# test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module nox}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-semantic_version >= 2.8.2
|
||||
Requires: python-typing_extensions >= 3.7.4.3
|
||||
@@ -56,11 +61,14 @@ were written in C.
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_exec setup.py test
|
||||
|
||||
%pytest tests/
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/setuptools_rust-%{version}-py*.egg-info
|
||||
%dir %{python_sitelib}/setuptools_rust
|
||||
%{python_sitelib}/setuptools_rust/*py
|
||||
%pycache_only %{python_sitelib}/setuptools_rust/__pycache__
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user