!1 Init package to version 1.1.0 for python-isort upgrade and test

From: @desert-sailor 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-06-19 03:02:10 +00:00 committed by Gitee
commit 829eecd215
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 53 additions and 0 deletions

53
python-re-assert.spec Normal file
View File

@ -0,0 +1,53 @@
%global _empty_manifest_terminate_build 0
%global pypi_name re-assert
%global source_name re_assert
Name: python-%{pypi_name}
Version: 1.1.0
Release: 1
Summary: Show where the regex match assertion failed.
License: MIT
URL: https://github.com/asottile/re-assert
Source0: https://files.pythonhosted.org/packages/72/89/5801de335fa7a9cd9f402f66680b14be076d2084dd8244e3a3136a743262/re_assert-1.1.0.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
%description
Show where the regex match assertion failed.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
Show where the regex match assertion failed.
%prep
%autosetup -p1 -n %{source_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.md
%license LICENSE
%{python3_sitelib}/%{source_name}.py
%{python3_sitelib}/%{source_name}*.dist-info/
%{python3_sitelib}/__pycache__/%{source_name}*
%changelog
* Sun Jun 18 2023 Dongxing Wang <dxwangk@isoftstone.com> - 1.1.0-1
- Initial package 1.1.0 for isort test

BIN
re_assert-1.1.0.tar.gz Normal file

Binary file not shown.