53 lines
1.5 KiB
RPMSpec
53 lines
1.5 KiB
RPMSpec
|
|
Name: python-scikit-build
|
||
|
|
Version: 0.17.6
|
||
|
|
Release: 1
|
||
|
|
Summary: Improved build system generator for Python C/C++/Fortran/Cython extensions
|
||
|
|
|
||
|
|
License: MIT AND BSD-2-Clause-Views AND Apache-2.0
|
||
|
|
URL: https://github.com/scikit-build/scikit-build
|
||
|
|
Source: %{url}/archive/v%{version}/scikit_build-%{version}.tar.gz
|
||
|
|
|
||
|
|
BuildArch: noarch
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
BuildRequires: python3-setuptools
|
||
|
|
BuildRequires: python3-setuptools_scm
|
||
|
|
BuildRequires: python3-pip
|
||
|
|
BuildRequires: python3-wheel
|
||
|
|
BuildRequires: python3-hatchling
|
||
|
|
BuildRequires: python3-hatch-vcs
|
||
|
|
BuildRequires: python3-hatch-fancy-pypi-readme
|
||
|
|
|
||
|
|
%global _description %{expand:
|
||
|
|
Improved build system generator for CPython C/C++/Fortran/Cython extensions.
|
||
|
|
Better support is available for additional compilers, build systems, cross
|
||
|
|
compilation, and locating dependencies and determining their build requirements.
|
||
|
|
The scikit-build package is fundamentally just glue between the setuptools
|
||
|
|
Python module and CMake.}
|
||
|
|
|
||
|
|
%description %_description
|
||
|
|
|
||
|
|
%package -n python3-scikit-build
|
||
|
|
Summary: %{summary}
|
||
|
|
|
||
|
|
%description -n python3-scikit-build %_description
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -p1 -n scikit_build-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%pyproject_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%pyproject_install
|
||
|
|
|
||
|
|
%files -n python3-scikit-build
|
||
|
|
%license LICENSE
|
||
|
|
%doc README.rst
|
||
|
|
%{python3_sitelib}/scikit_build-*.dist-info/
|
||
|
|
%{python3_sitelib}/skbuild/
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Aug 22 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 0.17.6-1
|
||
|
|
- Init package.
|