Compare commits
3 Commits
imports/c1
...
c10s
Author | SHA1 | Date | |
---|---|---|---|
|
fec4460b6e | ||
|
93bfad73fe | ||
|
1cf02823a4 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@
|
||||
/setuptools-rust-1.5.2.tar.gz
|
||||
/setuptools-rust-1.6.0.tar.gz
|
||||
/setuptools-rust-1.7.0.tar.gz
|
||||
/setuptools_rust-1.10.2.tar.gz
|
||||
|
@ -7,13 +7,14 @@
|
||||
%global integration_tests_exc '^(html-py-ever)'
|
||||
|
||||
Name: python-setuptools-rust
|
||||
Version: 1.7.0
|
||||
Version: 1.10.2
|
||||
Release: %autorelease
|
||||
Summary: Setuptools Rust extension plugin
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/PyO3/setuptools-rust
|
||||
Source0: %{pypi_source setuptools-rust}
|
||||
Source0: %{pypi_source setuptools_rust}
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
@ -38,19 +39,15 @@ extensions written in Rust as easily as if they were written in C.}
|
||||
|
||||
%package -n python3-setuptools-rust
|
||||
Summary: %{summary}
|
||||
%if 0%{?fedora}
|
||||
Requires: rust-packaging
|
||||
%else
|
||||
Requires: rust-toolset >= 1.45
|
||||
%endif
|
||||
Requires: cargo
|
||||
|
||||
%description -n python3-setuptools-rust %{_description}
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n setuptools-rust-%{version}
|
||||
|
||||
%cargo_prep
|
||||
%autosetup -p1 -n setuptools_rust-%{version}
|
||||
|
||||
|
||||
%if %{with integration_tests}
|
||||
for example in $(ls examples/ | grep -vE %{integration_tests_exc}); do
|
||||
@ -78,7 +75,7 @@ done
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files setuptools_rust
|
||||
%pyproject_save_files -l setuptools_rust
|
||||
|
||||
|
||||
%check
|
||||
@ -116,7 +113,6 @@ done
|
||||
|
||||
%files -n python3-setuptools-rust -f %{pyproject_files}
|
||||
%doc README.md CHANGELOG.md
|
||||
%license LICENSE
|
||||
|
||||
|
||||
%changelog
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (setuptools-rust-1.7.0.tar.gz) = 19e77be4856f6517155175272e4b1ec1eca7a75f73a94ec2e9c26d6b1fe217a7dda3ee6454a30aa477dedea15d7eb723d0f8753700e2d8dec303d58b03712c6e
|
||||
SHA512 (setuptools_rust-1.10.2.tar.gz) = 4a97ece7d42856532c9517ec1cc5ad7d8f765b8b4157ffcf458688478db7b3d1b4aa10898ebedd2251e3d29d80e81b45ad93128ae72bc270794f77c006ece324
|
||||
|
@ -1,16 +1,21 @@
|
||||
---
|
||||
#
|
||||
# 1minutetip --buildroot rhel10
|
||||
#
|
||||
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
repositories:
|
||||
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
|
||||
dest: "pyproject-rpm-macros"
|
||||
tests:
|
||||
- mockbuild_cryptography:
|
||||
dir: pyproject-rpm-macros/tests
|
||||
run: fedpkg clone -a python-cryptography && cd python-cryptography && (git switch f$(rpm -q --qf '%{VERSION}' fedora-release-common) || :) && fedpkg sources && ../mocktest.sh python-cryptography
|
||||
- role: standard-test-source
|
||||
required_packages:
|
||||
- fedpkg
|
||||
- mock
|
||||
- rust-toolset
|
||||
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- python3-setuptools-rust
|
||||
tests:
|
||||
# build rust_with_cffi example (requires downloads from crates.io)
|
||||
- example-rust-with-cffi:
|
||||
dir: "source/examples/rust_with_cffi"
|
||||
run: mkdir .cargo && cargo vendor > .cargo/config.toml && python3 setup.py build
|
||||
|
Loading…
Reference in New Issue
Block a user