Upgrade package to version 12.1.0
This commit is contained in:
parent
8a623b5cb1
commit
13ed47f9cd
BIN
pip-run-12.1.0.tar.gz
Normal file
BIN
pip-run-12.1.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,24 +1,28 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-pip-run
|
%global pypi_name pip-run
|
||||||
Version: 8.8.1
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 12.1.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: install packages and run Python with them
|
Summary: install packages and run Python with them
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jaraco/pip-run
|
URL: https://github.com/jaraco/pip-run
|
||||||
Source0: https://files.pythonhosted.org/packages/04/d3/6a68965484d52e1651bd5c62200abb31765a93bf283b0406f07ab2e1b02a/pip-run-8.8.1.tar.gz
|
Source0: https://files.pythonhosted.org/packages/fc/8f/03b3374e7adb09129be9dca512b7d3ab54b4e96628b1e579d3bfd2900f76/pip-run-12.1.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
provides on-demand temporary package installation for a single interpreter run.
|
provides on-demand temporary package installation for a single interpreter run.
|
||||||
|
|
||||||
%package -n python3-pip-run
|
%package -n python3-pip-run
|
||||||
Summary: install packages and run Python with them
|
Summary: install packages and run Python with them
|
||||||
Provides: python-pip-run
|
Provides: python-%{pypi_name}
|
||||||
# Base build requires
|
# Base build requires
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-setuptools_scm
|
||||||
BuildRequires: python3-pbr
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
# General requires
|
# General requires
|
||||||
BuildRequires: python3-path
|
BuildRequires: python3-path
|
||||||
BuildRequires: python3-packaging
|
BuildRequires: python3-packaging
|
||||||
@ -31,24 +35,54 @@ Requires: python3-packaging
|
|||||||
Requires: python3-sphinx
|
Requires: python3-sphinx
|
||||||
Requires: python3-rst-linker
|
Requires: python3-rst-linker
|
||||||
|
|
||||||
%description -n python3-pip-run
|
%description -n python3-%{pypi_name}
|
||||||
provides on-demand temporary package installation for a single interpreter run.
|
provides on-demand temporary package installation for a single interpreter run.
|
||||||
|
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: install packages and run Python with them
|
||||||
|
Provides: python3-pip-run-doc
|
||||||
|
%description help
|
||||||
|
provides on-demand temporary package installation for a single interpreter run.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n pip-run-%{version}
|
%autosetup -n %{pypi_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{python_sitelib}
|
%pyproject_install
|
||||||
cp -raf %{_builddir}/pip-run-8.8.1/pip_run %{buildroot}%{python_sitelib}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
install -m 0755 %{_builddir}/pip-run-8.8.1/pip-run.py %{buildroot}%{python_sitelib}
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
pushd %{buildroot}
|
||||||
|
touch doclist.lst
|
||||||
|
if [ -d usr/share/man ]; then
|
||||||
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
|
fi
|
||||||
|
popd
|
||||||
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%files -n python3-pip-run
|
%files -n python3-%{pypi_name}
|
||||||
%{python_sitelib}/pip_run
|
%doc README.rst NEWS.rst
|
||||||
%{python_sitelib}/pip-run.py
|
%license LICENSE
|
||||||
|
%{_bindir}/pip-run
|
||||||
|
%{python3_sitelib}/pip-run.py
|
||||||
|
%{python3_sitelib}/__pycache__/pip-run.*
|
||||||
|
%{python3_sitelib}/pip_run
|
||||||
|
%{python3_sitelib}/pip_run*.dist-info/
|
||||||
|
|
||||||
|
%files help -f doclist.lst
|
||||||
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 7 2023 Dongxing Wang <dxwangk@isoftstone.com> - 12.1.0-1
|
||||||
|
- Upgrade to version 12.1.0
|
||||||
|
|
||||||
* Mon Aug 01 2022 OpenStack_SIG <openstack@openeuler.org> - 8.8.1-1
|
* Mon Aug 01 2022 OpenStack_SIG <openstack@openeuler.org> - 8.8.1-1
|
||||||
- Init package python3-pip-run of version 8.8.1
|
- Init package python3-pip-run of version 8.8.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user