Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
8c5e9c7e92 | ||
|
9bd90b6927 | ||
|
26e06947de | ||
|
2e970c2199 | ||
|
013668ed2f | ||
|
48b11b2b2a | ||
|
fbb2cb2e12 | ||
|
8b3335b677 | ||
|
2ebfd298e2 | ||
|
9fd16225fa | ||
|
93cdd51930 | ||
|
73a01443e4 | ||
|
79a787a572 | ||
|
1c0aba0c8d | ||
|
1bc9d7725c |
@ -1,6 +1,6 @@
|
|||||||
%if (! 0%{?rhel}) || 0%{?rhel} > 7
|
%if (! 0%{?rhel}) || 0%{?rhel} > 5
|
||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
%global build_wheel 1
|
%global build_wheel 0
|
||||||
%global with_tests 0
|
%global with_tests 0
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel} && 0%{?rhel} < 6
|
%if 0%{?rhel} && 0%{?rhel} < 6
|
||||||
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 7.1.0
|
Version: 7.1.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A tool for installing and managing Python packages
|
Summary: A tool for installing and managing Python packages
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -66,28 +66,28 @@ easy_installable should be pip-installable as well.
|
|||||||
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%package -n python3-pip
|
%package -n python%{python3_pkgversion}-pip
|
||||||
Summary: A tool for installing and managing Python3 packages
|
Summary: A tool for installing and managing Python3 packages
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
BuildRequires: bash-completion
|
BuildRequires: bash-completion
|
||||||
%if 0%{?with_tests}
|
%if 0%{?with_tests}
|
||||||
BuildRequires: python3-mock
|
BuildRequires: python%{python3_pkgversion}-mock
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
BuildRequires: python3-pretend
|
BuildRequires: python%{python3_pkgversion}-pretend
|
||||||
BuildRequires: python3-freezegun
|
BuildRequires: python%{python3_pkgversion}-freezegun
|
||||||
BuildRequires: python3-scripttest
|
BuildRequires: python%{python3_pkgversion}-scripttest
|
||||||
BuildRequires: python3-virtualenv
|
BuildRequires: python%{python3_pkgversion}-virtualenv
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?build_wheel}
|
%if 0%{?build_wheel}
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python%{python3_pkgversion}-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python%{python3_pkgversion}-wheel
|
||||||
%endif
|
%endif
|
||||||
Requires: python3-setuptools
|
Requires: python%{python3_pkgversion}-setuptools
|
||||||
|
|
||||||
%description -n python3-pip
|
%description -n python%{python3_pkgversion}-pip
|
||||||
Pip is a replacement for `easy_install
|
Pip is a replacement for `easy_install
|
||||||
<http://peak.telecommunity.com/DevCenter/EasyInstall>`_. It uses mostly the
|
<http://peak.telecommunity.com/DevCenter/EasyInstall>`_. It uses mostly the
|
||||||
same techniques for finding packages, so packages that were made
|
same techniques for finding packages, so packages that were made
|
||||||
@ -218,7 +218,7 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%files -n python3-pip
|
%files -n python%{python3_pkgversion}-pip
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.rst docs
|
%doc README.rst docs
|
||||||
@ -232,6 +232,9 @@ popd
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 11 2019 Steve Traylen <steve.traylen@cern.ch> - 7.1.0-2
|
||||||
|
- Create a python3(4) package.
|
||||||
|
|
||||||
* Wed Jul 01 2015 Slavek Kabrda <bkabrda@redhat.com> - 7.1.0-1
|
* Wed Jul 01 2015 Slavek Kabrda <bkabrda@redhat.com> - 7.1.0-1
|
||||||
- Update to 7.1.0
|
- Update to 7.1.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user