pkgsrc/devel/py-pip/Makefile
adam 6605bd0008 py-pip: updated to 20.2.4
20.2.4 (2020-10-16)
===================

Deprecations and Removals
-------------------------
- Document that certain removals can be fast tracked.
- Document that Python versions are generally supported until PyPI usage falls below 5%.

Features
--------
- New resolver: Avoid accessing indexes when the installed candidate is preferred
  and considered good enough.
- Improve error message friendliness when an environment has packages with
  corrupted metadata.
- Cache package listings on index packages so they are guarenteed to stay stable
  during a pip command session. This also improves performance when a index page
  is accessed multiple times during the command session.
- New resolver: Tweak resolution logic to improve user experience when
  user-supplied requirements conflict.

Bug Fixes
---------
- New resolver: Correctly respect ``Requires-Python`` metadata to reject
  incompatible packages in ``--no-deps`` mode.
- New resolver: Pick up hash declarations in constraints files and use them to
  filter available distributions.
- New resolver: If a package appears multiple times in user specification with
  different ``--hash`` options, only hashes that present in all specifications
  should be allowed.

Improved Documentation
----------------------
- Add ux documentation
2020-11-04 10:23:45 +00:00

31 lines
838 B
Makefile

# $NetBSD: Makefile,v 1.43 2020/11/04 10:23:45 adam Exp $
DISTNAME= pip-20.2.4
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"