Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ecsos:python
python-rpds-py
python-rpds-py.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-rpds-py.spec of Package python-rpds-py
# # spec file for package python-rpds-py # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' %{?sle15_python_module_pythons} Name: python-rpds-py Version: 0.7.1 Release: 0 Summary: Python bindings to Rust's persistent data structures (rpds) License: MIT URL: https://github.com/Julian/rpds.py Source: rpds.py-%{version}.tar.gz Source1: vendor.tar.zst Source2: cargo_config BuildRequires: %{python_module maturin} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: cargo BuildRequires: cargo-packaging BuildRequires: python-rpm-macros BuildRequires: rust BuildRequires: zstd # Tests BuildRequires: %{python_module pytest} BuildRequires: fdupes %python_subpackages %description Python bindings to Rust's persistent data structures (rpds) %prep %autosetup -a1 -n rpds.py-%{version} mkdir .cargo cp %{SOURCE2} .cargo/config %build export RUSTFLAGS=%{rustflags} %pyproject_wheel %install export RUSTFLAGS=%{rustflags} %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitearch} %files %{python_files} %{python_sitearch}/rpds %{python_sitearch}/rpds_py-%{version}.dist-info/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor