Initial import (pyo3-macros 0.22 compat package)

epel10 imports/epel10/rust-pyo3-macros0.22-0.22.6-1.el10
Fabio Valentini 1 month ago
parent 9865bca921
commit 2ae1bd5129
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/pyo3-macros-0.22.6.crate

@ -1,3 +0,0 @@
# rust-pyo3-macros0.22
The rust-pyo3-macros0.22 package

@ -0,0 +1,104 @@
# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}
%global crate pyo3-macros
Name: rust-pyo3-macros0.22
Version: 0.22.6
Release: %autorelease
Summary: Proc macros for PyO3 package
License: MIT OR Apache-2.0
URL: https://crates.io/crates/pyo3-macros
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Proc macros for PyO3 package.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+experimental-async-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+experimental-async-devel %{_description}
This package contains library source intended for building other packages which
use the "experimental-async" feature of the "%{crate}" crate.
%files -n %{name}+experimental-async-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+gil-refs-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+gil-refs-devel %{_description}
This package contains library source intended for building other packages which
use the "gil-refs" feature of the "%{crate}" crate.
%files -n %{name}+gil-refs-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+multiple-pymethods-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+multiple-pymethods-devel %{_description}
This package contains library source intended for building other packages which
use the "multiple-pymethods" feature of the "%{crate}" crate.
%files -n %{name}+multiple-pymethods-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (pyo3-macros-0.22.6.crate) = 63f7a7b42e099742518c8a3bbc7647e98debb5500d08c39e11e8140fc146e790ab06e005d8d14c89aba79ebc5bf04fe1c92c0e9c5b13421307d3a4682d044179
Loading…
Cancel
Save