mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-13 20:11:19 +02:00
xxx
This commit is contained in:
@@ -1,23 +1,29 @@
|
||||
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
||||
# $FreeBSD: head/devel/py-pip/Makefile 472884 2018-06-20 17:05:41Z mat $
|
||||
|
||||
PORTNAME= pip
|
||||
PORTVERSION= 9.0.3
|
||||
PORTVERSION= 22.3.1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= https://files.pythonhosted.org/packages/a4/53/bfc6409447ca024558b8b19d055de94c813c3e32c0296c48a0873a161cf5/:test_setuptools \
|
||||
https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/:test_wheel
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTFILES= setuptools-63.2.0-py3-none-any.whl:test_setuptools \
|
||||
wheel-0.37.1-py2.py3-none-any.whl:test_wheel
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= Tool for installing and managing Python packages
|
||||
WWW= https://pip.pypa.io/en/latest/
|
||||
|
||||
USES= cpe python:3.7+ shebangfix
|
||||
CPE_VENDOR= pypa
|
||||
USE_PYTHON= autoplist concurrent distutils pytest
|
||||
|
||||
MAKE_ENV= PYTHONPATH=${WRKSRC}/src/
|
||||
NO_ARCH= yes
|
||||
USES= python shebangfix
|
||||
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
|
||||
|
||||
USE_GITHUB= yes
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
SHEBANG_FILES= pip/__init__.py
|
||||
|
||||
GH_ACCOUNT= pypa
|
||||
|
||||
NO_ARCH= yes
|
||||
SHEBANG_FILES= src/pip/__init__.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
TIMESTAMP = 1521810422
|
||||
SHA256 (pypa-pip-9.0.3_GH0.tar.gz) = a582a1b8649828b57c23788879bd5263b9ff4f12083c52fb73ff20ca3531056d
|
||||
SIZE (pypa-pip-9.0.3_GH0.tar.gz) = 6249079
|
||||
TIMESTAMP = 1669058331
|
||||
SHA256 (pip/setuptools-63.2.0-py3-none-any.whl) = 0d33c374d41c7863419fc8f6c10bfe25b7b498aa34164d135c622e52580c6b16
|
||||
SIZE (pip/setuptools-63.2.0-py3-none-any.whl) = 1228000
|
||||
SHA256 (pip/wheel-0.37.1-py2.py3-none-any.whl) = 4bdcd7d840138086126cd09254dc6195fb4fc6f01c050a1d7236f2630db1d22a
|
||||
SIZE (pip/wheel-0.37.1-py2.py3-none-any.whl) = 35301
|
||||
SHA256 (pip/pypa-pip-22.3.1_GH0.tar.gz) = 8d9f7cd8ad0d6f0c70e71704fd3f0f6538d70930454f1f21bbc2f8e94f6964ee
|
||||
SIZE (pip/pypa-pip-22.3.1_GH0.tar.gz) = 9326504
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
--- setup.cfg.orig 2015-08-22 22:46:55 UTC
|
||||
+++ setup.cfg
|
||||
@@ -1,5 +1,6 @@
|
||||
[pytest]
|
||||
addopts = --ignore pip/_vendor --ignore tests/tests_cache
|
||||
+norecursedirs = .tox build dist node_modules *.egg-info
|
||||
|
||||
[wheel]
|
||||
universal=1
|
||||
@@ -1,11 +1,11 @@
|
||||
--- setup.py.orig 2015-11-14 14:08:36 UTC
|
||||
--- setup.py.orig 2022-05-11 19:03:44 UTC
|
||||
+++ setup.py
|
||||
@@ -78,8 +78,6 @@ setup(
|
||||
@@ -75,8 +75,6 @@ setup(
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"pip=pip:main",
|
||||
- "pip%s=pip:main" % sys.version[:1],
|
||||
- "pip%s=pip:main" % sys.version[:3],
|
||||
"pip=pip._internal.cli.main:main",
|
||||
- "pip{}=pip._internal.cli.main:main".format(sys.version_info[0]),
|
||||
- "pip{}.{}=pip._internal.cli.main:main".format(*sys.version_info[:2]),
|
||||
],
|
||||
},
|
||||
tests_require=tests_require,
|
||||
zip_safe=False,
|
||||
|
||||
@@ -14,5 +14,3 @@ pip is meant to improve on easy_install. Some of the improvements:
|
||||
* Error messages should be useful.
|
||||
* Packages don't have to be installed as egg archives, they can be
|
||||
installed flat (while keeping the egg metadata).
|
||||
|
||||
WWW: https://pip.pypa.io/en/latest/
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
============================== !!!! WARNING !!!! ==========================
|
||||
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
pip MUST ONLY be used:
|
||||
|
||||
* With the --user flag, OR
|
||||
@@ -10,5 +11,6 @@ system-wide Python environment (LOCALBASE/lib/pythonX.Y/site-packages) and
|
||||
cause errors.
|
||||
|
||||
Avoid using pip as root unless you know what you're doing.
|
||||
|
||||
============================== !!!! WARNING !!!! ==========================
|
||||
EOM
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user