!1 Init traittypes package to version 0.2.1

From: @zoujiancang 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
openeuler-ci-bot 2023-08-29 01:17:14 +00:00 committed by Gitee
commit 95cb82e240
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 50 additions and 0 deletions

50
python-traittypes.spec Normal file
View File

@ -0,0 +1,50 @@
%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

BIN
traittypes-0.2.1.tar.gz Normal file

Binary file not shown.