1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

Add py-pip-shims 0.5.3

pip-shims is a set of compatibilty access shims to the pip internal API.
pip-shims provides compatibility with pip versions 8.0 through the current
release. The shims are provided using a lazy import strategy by hacking a module
by overloading a class instance's getattr method.

WWW: https://github.com/sarugaku/pip-shims
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-12-10 21:27:36 +00:00
parent ef7b5092ba
commit db114ee05d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=557462
4 changed files with 39 additions and 0 deletions

View File

@ -4765,6 +4765,7 @@
SUBDIR += py-pip-api
SUBDIR += py-pip-licenses
SUBDIR += py-pip-run
SUBDIR += py-pip-shims
SUBDIR += py-pip-tools
SUBDIR += py-pip-tools4
SUBDIR += py-pipdeptree

View File

@ -0,0 +1,29 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= pip-shims
PORTVERSION= 0.5.3
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pip_shims-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Compatibility shims for pip versions 8 thru current
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1607539613
SHA256 (pip_shims-0.5.3.tar.gz) = 05b00ade9d1e686a98bb656dd9b0608a933897283dc21913fad6ea5409ff7e91
SIZE (pip_shims-0.5.3.tar.gz) = 48405

View File

@ -0,0 +1,6 @@
pip-shims is a set of compatibilty access shims to the pip internal API.
pip-shims provides compatibility with pip versions 8.0 through the current
release. The shims are provided using a lazy import strategy by hacking a module
by overloading a class instance's getattr method.
WWW: https://github.com/sarugaku/pip-shims