!1 Init pip-shims to version 0.7.3 for requirementslib
From: @desert-sailor Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
6da742d737
BIN
pip_shims-0.7.3.tar.gz
Normal file
BIN
pip_shims-0.7.3.tar.gz
Normal file
Binary file not shown.
53
python-pip-shims.spec
Normal file
53
python-pip-shims.spec
Normal file
@ -0,0 +1,53 @@
|
||||
%global pypi_name pip-shims
|
||||
%global source_name pip_shims
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.7.3
|
||||
Release: 1
|
||||
Summary: Pip-shims is a set of compatibility access shims to the pip internal API.
|
||||
|
||||
License: ISC
|
||||
URL: https://github.com/sarugaku/pip-shims
|
||||
Source0: %{url}/archive/%{version}/%{source_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
|
||||
|
||||
%description
|
||||
pip-shims is a set of compatibilty access shims to the pip internal API.
|
||||
pip-shims provides compatibility across several pip releases.
|
||||
The shims are provided using a lazy import strategy by hacking a module
|
||||
by overloading a class instance’s getattr method.
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
Pip-shims is a set of compatibility access shims to the pip internal API.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{source_name}-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/%{source_name}
|
||||
%{python3_sitelib}/%{source_name}*.dist-info/
|
||||
|
||||
%changelog
|
||||
* Thu Jun 15 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.7.3-1
|
||||
- Initial package 0.7.3
|
||||
Loading…
x
Reference in New Issue
Block a user