#46 Create a python3(4) package.
Merged 4 years ago by stevetraylen. Opened 4 years ago by stevetraylen.
rpms/ stevetraylen/python-pip el6py3  into  el6

file modified
+20 -17
@@ -1,6 +1,6 @@ 

- %if (! 0%{?rhel}) || 0%{?rhel} > 7

+ %if (! 0%{?rhel}) || 0%{?rhel} > 5

  %global with_python3 1

- %global build_wheel 1

+ %global build_wheel 0

  %global with_tests 0

  %endif

  %if 0%{?rhel} && 0%{?rhel} < 6
@@ -22,7 +22,7 @@ 

  

  Name:           python-%{srcname}

  Version:        7.1.0

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        A tool for installing and managing Python packages

  

  Group:          Development/Libraries
@@ -66,28 +66,28 @@ 

  

  

  %if 0%{?with_python3}

- %package -n python3-pip

+ %package -n python%{python3_pkgversion}-pip

  Summary:        A tool for installing and managing Python3 packages

  Group:          Development/Libraries

  

- BuildRequires:  python3-devel

- BuildRequires:  python3-setuptools

+ BuildRequires:  python%{python3_pkgversion}-devel

+ BuildRequires:  python%{python3_pkgversion}-setuptools

  BuildRequires:  bash-completion

  %if 0%{?with_tests}

- BuildRequires:  python3-mock

- BuildRequires:  python3-pytest

- BuildRequires:  python3-pretend

- BuildRequires:  python3-freezegun

- BuildRequires:  python3-scripttest

- BuildRequires:  python3-virtualenv

+ BuildRequires:  python%{python3_pkgversion}-mock

+ BuildRequires:  python%{python3_pkgversion}-pytest

+ BuildRequires:  python%{python3_pkgversion}-pretend

+ BuildRequires:  python%{python3_pkgversion}-freezegun

+ BuildRequires:  python%{python3_pkgversion}-scripttest

+ BuildRequires:  python%{python3_pkgversion}-virtualenv

  %endif

  %if 0%{?build_wheel}

- BuildRequires:  python3-pip

- BuildRequires:  python3-wheel

+ BuildRequires:  python%{python3_pkgversion}-pip

+ BuildRequires:  python%{python3_pkgversion}-wheel

  %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

  <http://peak.telecommunity.com/DevCenter/EasyInstall>`_.  It uses mostly the

  same techniques for finding packages, so packages that were made
@@ -218,7 +218,7 @@ 

  %endif

  

  %if 0%{?with_python3}

- %files -n python3-pip

+ %files -n python%{python3_pkgversion}-pip

  %defattr(-,root,root,-)

  %license LICENSE.txt

  %doc README.rst docs
@@ -232,6 +232,9 @@ 

  %endif # with_python3

  

  %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

  - Update to 7.1.0

  

@stevetraylen would you mind maintaining this in EPEL6 if it is merged?

Yes I am happy to maintain it.

Aside I don't know how you give permissions on just one branch.

I give you commit rights and set the repo to pull request only.

If you lack a review by somebody, feel free to merge your own epel PRs if considered urgent.

Pull-Request has been merged by stevetraylen

4 years ago