mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 18:41:17 +02:00
create bsd12 branch
This commit is contained in:
23
python/py-pip/Makefile
Normal file
23
python/py-pip/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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
|
||||
CATEGORIES= devel python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= Tool for installing and managing Python packages
|
||||
|
||||
NO_ARCH= yes
|
||||
USES= python shebangfix
|
||||
USE_GITHUB= yes
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
SHEBANG_FILES= pip/__init__.py
|
||||
|
||||
GH_ACCOUNT= pypa
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
python/py-pip/distinfo
Normal file
3
python/py-pip/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1521810422
|
||||
SHA256 (pypa-pip-9.0.3_GH0.tar.gz) = a582a1b8649828b57c23788879bd5263b9ff4f12083c52fb73ff20ca3531056d
|
||||
SIZE (pypa-pip-9.0.3_GH0.tar.gz) = 6249079
|
||||
9
python/py-pip/files/patch-setup.cfg
Normal file
9
python/py-pip/files/patch-setup.cfg
Normal file
@@ -0,0 +1,9 @@
|
||||
--- 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
|
||||
11
python/py-pip/files/patch-setup.py
Normal file
11
python/py-pip/files/patch-setup.py
Normal file
@@ -0,0 +1,11 @@
|
||||
--- setup.py.orig 2015-11-14 14:08:36 UTC
|
||||
+++ setup.py
|
||||
@@ -78,8 +78,6 @@ setup(
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"pip=pip:main",
|
||||
- "pip%s=pip:main" % sys.version[:1],
|
||||
- "pip%s=pip:main" % sys.version[:3],
|
||||
],
|
||||
},
|
||||
tests_require=tests_require,
|
||||
18
python/py-pip/pkg-descr
Normal file
18
python/py-pip/pkg-descr
Normal file
@@ -0,0 +1,18 @@
|
||||
The PyPA recommended tool for installing and managing Python packages.
|
||||
|
||||
pip is a replacement for easy_install. It uses mostly the same techniques
|
||||
for finding packages, so packages that were made easy_installable should
|
||||
be pip-installable as well.
|
||||
|
||||
pip is meant to improve on easy_install. Some of the improvements:
|
||||
|
||||
* All packages are downloaded before installation. Partially-completed
|
||||
installation doesn't occur as a result.
|
||||
* Care is taken to present useful output on the console.
|
||||
* The reasons for actions are kept track of. For instance, if a package
|
||||
is being installed, pip keeps track of why that package was required.
|
||||
* 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/
|
||||
14
python/py-pip/pkg-message
Normal file
14
python/py-pip/pkg-message
Normal file
@@ -0,0 +1,14 @@
|
||||
============================== !!!! WARNING !!!! ==========================
|
||||
|
||||
pip MUST ONLY be used:
|
||||
|
||||
* With the --user flag, OR
|
||||
* To install or manage Python packages in virtual environments
|
||||
|
||||
Failure to follow this warning can and will result in an inconsistent
|
||||
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 !!!! ==========================
|
||||
Reference in New Issue
Block a user