[arch-commits] Commit in python-pip/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jun 19 20:57:08 UTC 2020


    Date: Friday, June 19, 2020 @ 20:57:06
  Author: felixonmars
Revision: 389553

upgpkg: python-pip 20.1-1

Modified:
  python-pip/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-19 20:45:44 UTC (rev 389552)
+++ PKGBUILD	2020-06-19 20:57:06 UTC (rev 389553)
@@ -3,7 +3,7 @@
 # Contributor: Sebastien Binet <binet at lblbox>
 
 pkgname=('python-pip' 'python2-pip')
-pkgver=20.0.2
+pkgver=20.1
 pkgrel=1
 pkgdesc="The PyPA recommended tool for installing Python packages"
 url="https://pip.pypa.io/"
@@ -10,21 +10,17 @@
 arch=('any')
 license=('MIT')
 _deps=('appdirs' 'cachecontrol' 'colorama' 'contextlib2' 'distlib' 'distro' 'html5lib'
-       'msgpack' 'packaging' 'pep517' 'progress' 'pyparsing' 'pytoml' 'requests' 'retrying'
-       'setuptools' 'six' 'webencodings')
+       'packaging' 'pep517' 'progress' 'requests' 'retrying' 'resolvelib' 'setuptools' 'six' 'toml')
 makedepends=("${_deps[@]/#/python-}" "${_deps[@]/#/python2-}" 'python2-ipaddress' 'python-sphinx')
 checkdepends=('python-pytest-runner' 'python-scripttest' 'python-virtualenv' 'python-pretend'
               'python-yaml' 'python-mock' 'python-freezegun' 'python-cryptography' 'python-pip'
-              'python-wheel' 'python-werkzeug' 'git' 'subversion')
-source=("pip-${pkgver}.tar.gz::https://github.com/pypa/pip/archive/${pkgver}.tar.gz"
-        pip-vendor-appdirs.patch::https://github.com/pypa/pip/commit/9be7454fd69081d06a3f8234a08a6d791e13173f.patch)
-sha512sums=('f9965944ca0f319d01db1638ce97cf64772afff1778b3b1271155de73208cfcb3954d89a469c1143c0bf3288a53d4446165a49df994374b16ac6f7ffdae85857'
-            '61732786303ca7ec7828d04099a884534034d50cdd9a7a0de2ace34c28381a992943880f03797a64d5d4f3a76d317d356f76ffff5e3ffd97ed611b234cc05528')
+              'python-wheel' 'python-werkzeug' 'python-csv23' 'git' 'subversion')
+source=("pip-${pkgver}.tar.gz::https://github.com/pypa/pip/archive/${pkgver}.tar.gz")
+sha512sums=('19cc1172540bec4b0c6facf55fa9c463bf8f4391dd1a643ac208c8e0b787950b2d72a6ec8f0772c7e6582c6b6a4a103f31ad58ffa2119fb574c174e5ec77b0c1')
 
 shopt -s extglob
 prepare() {
   cd "$srcdir/pip-$pkgver"
-  patch -p1 -i ../pip-vendor-appdirs.patch
 
   # Remove certifi usage
   sed -i 's|from pip._vendor.certifi import where|where = lambda: "/etc/ssl/certs/ca-certificates.crt"|' src/pip/_internal/commands/debug.py
@@ -55,6 +51,7 @@
   python setup.py install --root="$PWD/tmp_install" --optimize=1
   # appdirs: https://github.com/pypa/pip/issues/7784
   # build_env: TODO weird looking errors
+  # virtualenv: https://github.com/pypa/pip/issues/8273
   PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" \
     python -m pytest -m unit --junit-xml=junit/unit-test.xml --deselect tests/unit/test_appdirs.py::TestSiteConfigDirs::test_site_config_dirs_linux \
                                                              --deselect tests/unit/test_appdirs.py::TestSiteConfigDirs::test_site_config_dirs_linux_override \
@@ -63,8 +60,12 @@
                                                              --deselect tests/unit/test_appdirs.py::TestUserConfigDir::test_user_config_dir_osx \
                                                              --deselect tests/unit/test_build_env.py::test_build_env_requirements_check \
                                                              --deselect tests/unit/test_build_env.py::test_build_env_overlay_prefix_has_priority \
-                                                             --deselect tests/unit/test_build_env.py::test_build_env_isolation
-
+                                                             --deselect tests/unit/test_build_env.py::test_build_env_isolation \
+                                                             --deselect tests/unit/test_build_env.py::test_build_env_allow_only_one_install \
+                                                             --deselect tests/unit/test_direct_url_helpers.py::test_from_link_vcs_with_source_dir_obtains_commit_id \
+                                                             --deselect tests/unit/test_direct_url_helpers.py::test_from_link_vcs_without_source_dir \
+                                                             --deselect tests/unit/test_wheel_builder.py::test_should_cache_git_sha \
+                                                             --deselect tests/unit/resolution_resolvelib/test_requirement.py::test_new_resolver_full_resolve
 }
 
 package_python-pip() {



More information about the arch-commits mailing list