summaryrefslogtreecommitdiff
path: root/python-scikit-build.spec
blob: f726282914e19b0dbbd5d0ca0046873154f678c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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.