!1 Init package to version 0.8.0 for requirementslib

From: @desert-sailor 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-06-16 02:42:20 +00:00 committed by Gitee
commit 6f3314f3f6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 52 additions and 0 deletions

52
python-vistir.spec Normal file
View File

@ -0,0 +1,52 @@
%global pypi_name vistir
Name: python-%{pypi_name}
Version: 0.8.0
Release: 1
Summary: Python library full of utility functions.
License: ISC
URL: https://github.com/sarugaku/vistir
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-editables
BuildRequires: python3-hatch-vcs
BuildRequires: python3-hatchling
BuildRequires: python3-virtualenv
BuildRequires: python3-requests
BuildRequires: python3-colorama
%description
Miscellaneous utilities for dealing with filesystems, paths, projects, subprocesses, and more.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
Miscellaneous utilities for dealing with filesystems, paths, projects, subprocesses, and more.
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}*.dist-info/
%changelog
* Fri Jun 16 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.8.0-1
- Initial package 0.8.0 for requirementslib

BIN
vistir-0.8.0.tar.gz Normal file

Binary file not shown.