pkgsrc/devel/py-pip/Makefile
adam 86408d6e11 py-pip: updated to 20.3.3
20.3.3 (2020-12-15)
===================

Bug Fixes
---------
- Revert "Skip candidate not providing valid metadata", as that caused pip to be overeager about downloading from the package index.


20.3.2 (2020-12-15)
===================

Features
--------
- New resolver: Resolve direct and pinned (``==`` or ``===``) requirements first
  to improve resolver performance.
- Add a mechanism to delay resolving certain packages, and use it for setuptools.

Bug Fixes
---------
- New resolver: The "Requirement already satisfied" log is not printed only once
  for each package during resolution.
- Fix crash when logic for redacting authentication information from URLs
  in ``--help`` is given a list of strings, instead of a single string.
- New resolver: Correctly implement PEP 592. Do not return yanked versions from
  an index, unless the version range can only be satisfied by yanked candidates.
- New resolver: Make constraints also apply to package variants with extras, so
  the resolver correctly avoids backtracking on them.
- New resolver: Discard a candidate if it fails to provide metadata from source,
  or if the provided metadata is inconsistent, instead of quitting outright.

Vendored Libraries
------------------
- Update vendoring to 20.8

Improved Documentation
----------------------
- Update documentation to reflect that pip still uses legacy resolver by default in Python 2 environments.
2020-12-18 09:03:43 +00:00

31 lines
838 B
Makefile

# $NetBSD: Makefile,v 1.45 2020/12/18 09:03:43 adam Exp $
DISTNAME= pip-20.3.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pip.pypa.io/
COMMENT= Installs Python packages as an easy_install replacement
LICENSE= mit
USE_LANGUAGES= # none
REPLACE_PYTHON+= src/pip/_vendor/appdirs.py
REPLACE_PYTHON+= src/pip/_vendor/chardet/cli/chardetect.py
REPLACE_PYTHON+= src/pip/_vendor/requests/certs.py
.include "../../lang/python/pyversion.mk"
FILES_SUBST+= PYMAJORVERSION=${_PYTHON_VERSION:C/^([0-9]).*/\1/}
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${RM} -f pip pip[2-3]
# no tests included
do-test:
${DO_NADA}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"