Browse Source

python-pip: update to 18.1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11799 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 5 years ago
parent
commit
dc9621d488
1 changed files with 19 additions and 13 deletions
  1. 19 13
      p/python-pip/python-pip-vl.spec

+ 19 - 13
p/python-pip/python-pip-vl.spec

@@ -14,21 +14,21 @@
 Summary:        Pip installs Python packages.  An easy_install replacement
 Summary(ja):    Pip は easy_install を置き換える Python パッケージインストーラです。
 Name:           python-%{srcname}
-Version:        9.0.1
+Version:        18.1
 Release:        1%{?_dist_release}
 
 Group:          Development/Libraries
 License:        MIT
-URL:            http://pip.openplans.org
-Source0:        http://pypi.python.org/packages/source/p/pip/%{srcname}-%{version}.tar.gz
-# Patch until the following issue gets implemented upstream:
-# https://github.com/pypa/pip/issues/1351
-Patch0:         allow-stripping-given-prefix-from-wheel-RECORD-files.patch
-
-# Downstream only patch
-# Emit a warning to the user if pip install is run with root privileges
-# Issue upstream: https://github.com/pypa/pip/issues/4288
-Patch1:         emit-a-warning-when-running-with-root-privileges.patch
+URL:            https://pip.pypa.io/en/stable/
+Source0:        https://pypi.python.org/packages/source/p/pip/%{srcname}-%{version}.tar.gz
+# # Patch until the following issue gets implemented upstream:
+# # https://github.com/pypa/pip/issues/1351
+# Patch0:         allow-stripping-given-prefix-from-wheel-RECORD-files.patch
+
+# # Downstream only patch
+# # Emit a warning to the user if pip install is run with root privileges
+# # Issue upstream: https://github.com/pypa/pip/issues/4288
+# Patch1:         emit-a-warning-when-running-with-root-privileges.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildArch:      noarch
@@ -72,8 +72,8 @@ Packages" or "Pip Installs Python".
 
 %prep
 %setup -q -n %{srcname}-%{version}
-%patch0 -p1
-%patch1 -p1
+# %patch0 -p1
+# %patch1 -p1
 
 # Remove ordereddict as it is only required for python <= 2.6
 #rm pip/_vendor/ordereddict.py
@@ -134,7 +134,13 @@ rm %{buildroot}%{_bindir}/pip
 %attr(755,root,root) %{_bindir}/pip3*
 %{python3_sitelib}/pip*
 
+
 %changelog
+* Sat Oct 06 2018 Toshiaki Ara <ara_t@384.jp> 18.1-1
+- new upstream release.
+- drop Patches
+- change URL
+
 * Mon Dec 18 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.0.1-1
 - new upstream release.
 - made to use python{,3}-rpm-macros.