Init package to version 1.1.0 for isort test

This commit is contained in:
desert-sailor 2023-06-18 17:12:04 +08:00
parent fa6e31c033
commit 20de54f2c0
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.