Update to version 0.15.2

epel10
Fabio Valentini 3 years ago
parent 29ec92df3c
commit 9ff67d1b7e
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -7,3 +7,4 @@
/pyo3-0.14.3.crate /pyo3-0.14.3.crate
/pyo3-0.14.5.crate /pyo3-0.14.5.crate
/pyo3-0.15.1.crate /pyo3-0.15.1.crate
/pyo3-0.15.2.crate

@ -1,8 +1,8 @@
--- pyo3-0.15.1/Cargo.toml 1970-01-01T00:00:01+00:00 --- pyo3-0.15.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ pyo3-0.15.1/Cargo.toml 2022-03-12T20:34:18.419081+00:00 +++ pyo3-0.15.2/Cargo.toml 2022-05-05T09:14:10.358610+00:00
@@ -29,41 +29,6 @@ @@ -57,42 +57,6 @@
no-default-features = true "docsrs",
rustdoc-args = ["--cfg", "docsrs"] ]
-[[bench]] -[[bench]]
-name = "bench_call" -name = "bench_call"
@ -39,19 +39,11 @@
-[[bench]] -[[bench]]
-name = "bench_tuple" -name = "bench_tuple"
-harness = false -harness = false
-
[dependencies.anyhow] [dependencies.anyhow]
version = "1.0" version = "1.0"
optional = true optional = true
@@ -71,20 +36,16 @@ @@ -109,11 +73,11 @@
[dependencies.cfg-if]
version = "1.0"
-[dependencies.eyre]
-version = ">= 0.4, < 0.7"
-optional = true
-
[dependencies.hashbrown]
version = ">= 0.9, < 0.12"
optional = true optional = true
[dependencies.indexmap] [dependencies.indexmap]
@ -65,7 +57,7 @@
optional = true optional = true
[dependencies.inventory] [dependencies.inventory]
@@ -106,7 +67,7 @@ @@ -135,7 +99,7 @@
version = "0.11.0" version = "0.11.0"
[dependencies.paste] [dependencies.paste]
@ -74,15 +66,19 @@
optional = true optional = true
[dependencies.pyo3-macros] [dependencies.pyo3-macros]
@@ -124,13 +85,10 @@ @@ -154,16 +118,13 @@
version = "1.1.0" version = "1.1.0"
[dev-dependencies.bitflags] [dev-dependencies.bitflags]
-version = "=1.2.1" -version = "=1.2.1"
+version = "1.2.1"
[dev-dependencies.clap]
-version = "=2.33"
- -
-[dev-dependencies.criterion] -[dev-dependencies.criterion]
-version = "=0.3.4" -version = "=0.3.4"
+version = "1.2.1" +version = "2.33"
[dev-dependencies.half] [dev-dependencies.half]
-version = "=1.7.1" -version = "=1.7.1"

@ -1,11 +1,11 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 21
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate pyo3 %global crate pyo3
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.15.1 Version: 0.15.2
Release: %autorelease Release: %autorelease
Summary: Bindings to Python interpreter Summary: Bindings to Python interpreter
@ -18,18 +18,14 @@ Source: %{crates_source}
# - bump indoc from 0.3.6 to 1.0.3 # - bump indoc from 0.3.6 to 1.0.3
# - bump paste from 0.1.18 to 1.0 # - bump paste from 0.1.18 to 1.0
# * relax exact versions for optional indexmap dependency # * relax exact versions for optional indexmap dependency
# * relax exact versions for bitflags and half dev-dependencies # * relax exact versions for bitflags, clap, and half dev-dependencies
# * drop unused, benchmark-only criterion dev-dependency to speed up builds # * drop unused, benchmark-only criterion dev-dependency to speed up builds
# * drop unused benchmark definitions from Cargo.toml # * drop unused benchmark definitions from Cargo.toml
# * drop unused eyre feature (not packaged yet)
Patch0: pyo3-fix-metadata.diff Patch0: pyo3-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Bindings to Python interpreter.} Bindings to Python interpreter.}
@ -42,13 +38,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc README.md CHANGELOG.md %doc %{crate_instdir}/CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -57,11 +54,11 @@ Requires: python3-devel >= 3.6
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+abi3-devel %package -n %{name}+abi3-devel
Summary: %{summary} Summary: %{summary}
@ -69,11 +66,11 @@ BuildArch: noarch
%description -n %{name}+abi3-devel %{_description} %description -n %{name}+abi3-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "abi3" feature of "%{crate}" crate. use the "abi3" feature of the "%{crate}" crate.
%files -n %{name}+abi3-devel %files -n %{name}+abi3-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+abi3-py310-devel %package -n %{name}+abi3-py310-devel
Summary: %{summary} Summary: %{summary}
@ -81,11 +78,11 @@ BuildArch: noarch
%description -n %{name}+abi3-py310-devel %{_description} %description -n %{name}+abi3-py310-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "abi3-py310" feature of "%{crate}" crate. use the "abi3-py310" feature of the "%{crate}" crate.
%files -n %{name}+abi3-py310-devel %files -n %{name}+abi3-py310-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+abi3-py36-devel %package -n %{name}+abi3-py36-devel
Summary: %{summary} Summary: %{summary}
@ -94,11 +91,11 @@ Requires: python3-devel >= 3.6
%description -n %{name}+abi3-py36-devel %{_description} %description -n %{name}+abi3-py36-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "abi3-py36" feature of "%{crate}" crate. use the "abi3-py36" feature of the "%{crate}" crate.
%files -n %{name}+abi3-py36-devel %files -n %{name}+abi3-py36-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+abi3-py37-devel %package -n %{name}+abi3-py37-devel
Summary: %{summary} Summary: %{summary}
@ -107,11 +104,11 @@ Requires: python3-devel >= 3.7
%description -n %{name}+abi3-py37-devel %{_description} %description -n %{name}+abi3-py37-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "abi3-py37" feature of "%{crate}" crate. use the "abi3-py37" feature of the "%{crate}" crate.
%files -n %{name}+abi3-py37-devel %files -n %{name}+abi3-py37-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+abi3-py38-devel %package -n %{name}+abi3-py38-devel
Summary: %{summary} Summary: %{summary}
@ -120,11 +117,11 @@ Requires: python3-devel >= 3.8
%description -n %{name}+abi3-py38-devel %{_description} %description -n %{name}+abi3-py38-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "abi3-py38" feature of "%{crate}" crate. use the "abi3-py38" feature of the "%{crate}" crate.
%files -n %{name}+abi3-py38-devel %files -n %{name}+abi3-py38-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+abi3-py39-devel %package -n %{name}+abi3-py39-devel
Summary: %{summary} Summary: %{summary}
@ -133,11 +130,11 @@ Requires: python3-devel >= 3.9
%description -n %{name}+abi3-py39-devel %{_description} %description -n %{name}+abi3-py39-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "abi3-py39" feature of "%{crate}" crate. use the "abi3-py39" feature of the "%{crate}" crate.
%files -n %{name}+abi3-py39-devel %files -n %{name}+abi3-py39-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+anyhow-devel %package -n %{name}+anyhow-devel
Summary: %{summary} Summary: %{summary}
@ -145,11 +142,11 @@ BuildArch: noarch
%description -n %{name}+anyhow-devel %{_description} %description -n %{name}+anyhow-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "anyhow" feature of "%{crate}" crate. use the "anyhow" feature of the "%{crate}" crate.
%files -n %{name}+anyhow-devel %files -n %{name}+anyhow-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+auto-initialize-devel %package -n %{name}+auto-initialize-devel
Summary: %{summary} Summary: %{summary}
@ -157,11 +154,11 @@ BuildArch: noarch
%description -n %{name}+auto-initialize-devel %{_description} %description -n %{name}+auto-initialize-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "auto-initialize" feature of "%{crate}" crate. use the "auto-initialize" feature of the "%{crate}" crate.
%files -n %{name}+auto-initialize-devel %files -n %{name}+auto-initialize-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+extension-module-devel %package -n %{name}+extension-module-devel
Summary: %{summary} Summary: %{summary}
@ -169,11 +166,23 @@ BuildArch: noarch
%description -n %{name}+extension-module-devel %{_description} %description -n %{name}+extension-module-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "extension-module" feature of "%{crate}" crate. use the "extension-module" feature of the "%{crate}" crate.
%files -n %{name}+extension-module-devel %files -n %{name}+extension-module-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+eyre-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+eyre-devel %{_description}
This package contains library source intended for building other packages which
use the "eyre" feature of the "%{crate}" crate.
%files -n %{name}+eyre-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+hashbrown-devel %package -n %{name}+hashbrown-devel
Summary: %{summary} Summary: %{summary}
@ -181,11 +190,11 @@ BuildArch: noarch
%description -n %{name}+hashbrown-devel %{_description} %description -n %{name}+hashbrown-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "hashbrown" feature of "%{crate}" crate. use the "hashbrown" feature of the "%{crate}" crate.
%files -n %{name}+hashbrown-devel %files -n %{name}+hashbrown-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+indexmap-devel %package -n %{name}+indexmap-devel
Summary: %{summary} Summary: %{summary}
@ -193,11 +202,11 @@ BuildArch: noarch
%description -n %{name}+indexmap-devel %{_description} %description -n %{name}+indexmap-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "indexmap" feature of "%{crate}" crate. use the "indexmap" feature of the "%{crate}" crate.
%files -n %{name}+indexmap-devel %files -n %{name}+indexmap-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+indoc-devel %package -n %{name}+indoc-devel
Summary: %{summary} Summary: %{summary}
@ -205,11 +214,11 @@ BuildArch: noarch
%description -n %{name}+indoc-devel %{_description} %description -n %{name}+indoc-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "indoc" feature of "%{crate}" crate. use the "indoc" feature of the "%{crate}" crate.
%files -n %{name}+indoc-devel %files -n %{name}+indoc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+inventory-devel %package -n %{name}+inventory-devel
Summary: %{summary} Summary: %{summary}
@ -217,11 +226,11 @@ BuildArch: noarch
%description -n %{name}+inventory-devel %{_description} %description -n %{name}+inventory-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "inventory" feature of "%{crate}" crate. use the "inventory" feature of the "%{crate}" crate.
%files -n %{name}+inventory-devel %files -n %{name}+inventory-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+macros-devel %package -n %{name}+macros-devel
Summary: %{summary} Summary: %{summary}
@ -229,11 +238,11 @@ BuildArch: noarch
%description -n %{name}+macros-devel %{_description} %description -n %{name}+macros-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "macros" feature of "%{crate}" crate. use the "macros" feature of the "%{crate}" crate.
%files -n %{name}+macros-devel %files -n %{name}+macros-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+multiple-pymethods-devel %package -n %{name}+multiple-pymethods-devel
Summary: %{summary} Summary: %{summary}
@ -241,11 +250,11 @@ BuildArch: noarch
%description -n %{name}+multiple-pymethods-devel %{_description} %description -n %{name}+multiple-pymethods-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "multiple-pymethods" feature of "%{crate}" crate. use the "multiple-pymethods" feature of the "%{crate}" crate.
%files -n %{name}+multiple-pymethods-devel %files -n %{name}+multiple-pymethods-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nightly-devel %package -n %{name}+nightly-devel
Summary: %{summary} Summary: %{summary}
@ -253,11 +262,11 @@ BuildArch: noarch
%description -n %{name}+nightly-devel %{_description} %description -n %{name}+nightly-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "nightly" feature of "%{crate}" crate. use the "nightly" feature of the "%{crate}" crate.
%files -n %{name}+nightly-devel %files -n %{name}+nightly-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+num-bigint-devel %package -n %{name}+num-bigint-devel
Summary: %{summary} Summary: %{summary}
@ -265,11 +274,11 @@ BuildArch: noarch
%description -n %{name}+num-bigint-devel %{_description} %description -n %{name}+num-bigint-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "num-bigint" feature of "%{crate}" crate. use the "num-bigint" feature of the "%{crate}" crate.
%files -n %{name}+num-bigint-devel %files -n %{name}+num-bigint-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+num-complex-devel %package -n %{name}+num-complex-devel
Summary: %{summary} Summary: %{summary}
@ -277,11 +286,11 @@ BuildArch: noarch
%description -n %{name}+num-complex-devel %{_description} %description -n %{name}+num-complex-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "num-complex" feature of "%{crate}" crate. use the "num-complex" feature of the "%{crate}" crate.
%files -n %{name}+num-complex-devel %files -n %{name}+num-complex-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+paste-devel %package -n %{name}+paste-devel
Summary: %{summary} Summary: %{summary}
@ -289,11 +298,11 @@ BuildArch: noarch
%description -n %{name}+paste-devel %{_description} %description -n %{name}+paste-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "paste" feature of "%{crate}" crate. use the "paste" feature of the "%{crate}" crate.
%files -n %{name}+paste-devel %files -n %{name}+paste-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pyo3-macros-devel %package -n %{name}+pyo3-macros-devel
Summary: %{summary} Summary: %{summary}
@ -301,11 +310,11 @@ BuildArch: noarch
%description -n %{name}+pyo3-macros-devel %{_description} %description -n %{name}+pyo3-macros-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "pyo3-macros" feature of "%{crate}" crate. use the "pyo3-macros" feature of the "%{crate}" crate.
%files -n %{name}+pyo3-macros-devel %files -n %{name}+pyo3-macros-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -313,11 +322,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "serde" feature of "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unindent-devel %package -n %{name}+unindent-devel
Summary: %{summary} Summary: %{summary}
@ -325,11 +334,11 @@ BuildArch: noarch
%description -n %{name}+unindent-devel %{_description} %description -n %{name}+unindent-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "unindent" feature of "%{crate}" crate. use the "unindent" feature of the "%{crate}" crate.
%files -n %{name}+unindent-devel %files -n %{name}+unindent-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (pyo3-0.15.1.crate) = 9168911db76f2c9629615c997accfc4234bf91cc72293dcdb3db14b4e93f93af9df3b3aa7900384121719aeda4a0b6dd68c0cb380bfe5424724b0be5303c02e6 SHA512 (pyo3-0.15.2.crate) = 81595bf2b5d2b3a4e79750f0779c142fe7c3e7185f9ffa68a83fce30062ae6812d7af71bee425206552c95839ad7473408f658ff936d4a1f58fd1ac922822582

Loading…
Cancel
Save