54 lines
1.3 KiB
RPMSpec
54 lines
1.3 KiB
RPMSpec
%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
|