51 lines
1.1 KiB
RPMSpec
51 lines
1.1 KiB
RPMSpec
|
|
%global _empty_manifest_terminate_build 0
|
||
|
|
%global pypi_name traittypes
|
||
|
|
|
||
|
|
Name: python-%{pypi_name}
|
||
|
|
Version: 0.2.1
|
||
|
|
Release: 1
|
||
|
|
Summary: Custom trait types for scientific computing.
|
||
|
|
|
||
|
|
|
||
|
|
License: BSD
|
||
|
|
URL: http://ipython.org/
|
||
|
|
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
BuildRequires: python3-setuptools
|
||
|
|
BuildRequires: python3-pip
|
||
|
|
BuildRequires: python3-wheel
|
||
|
|
BuildRequires: python3-hatchling
|
||
|
|
BuildRequires: python3-virtualenv
|
||
|
|
BuildRequires: python3-poetry-core
|
||
|
|
|
||
|
|
%description
|
||
|
|
Custom trait types for scientific computing.
|
||
|
|
|
||
|
|
%package -n python3-%{pypi_name}
|
||
|
|
Summary: %{summary}
|
||
|
|
|
||
|
|
%description -n python3-%{pypi_name}
|
||
|
|
Custom trait types for scientific computing.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%pyproject_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%pyproject_install
|
||
|
|
|
||
|
|
%files -n python3-%{pypi_name}
|
||
|
|
%doc README.md
|
||
|
|
%license LICENSE
|
||
|
|
%{python3_sitelib}/traittypes*.dist-info/
|
||
|
|
%{python3_sitelib}/traittypes
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Fri Aug 18 2023 zoujiancang<jczou@isoftstone.com> - 0.2.1-1
|
||
|
|
- Initial package
|
||
|
|
|