diff --git a/pip_shims-0.7.3.tar.gz b/pip_shims-0.7.3.tar.gz new file mode 100644 index 0000000..8cd0fd4 Binary files /dev/null and b/pip_shims-0.7.3.tar.gz differ diff --git a/python-pip-shims.spec b/python-pip-shims.spec new file mode 100644 index 0000000..756fef9 --- /dev/null +++ b/python-pip-shims.spec @@ -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 - 0.7.3-1 +- Initial package 0.7.3