View | Details | Raw Unified | Return to bug 229946 | Differences between
and this patch

Collapse All | Expand All

(-)devel/py-pip/Makefile (-10 / +5 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	pip
4
PORTNAME=	pip
5
PORTVERSION=	9.0.3
5
PORTVERSION=	19.1.1
6
PORTREVISION=	1
7
CATEGORIES=	devel python
6
CATEGORIES=	devel python
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
9
10
MAINTAINER=	python@FreeBSD.org
10
MAINTAINER=	python@FreeBSD.org
Lines 28-48 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ Link Here
28
28
29
OPTIONS_DEFINE=	DOCS
29
OPTIONS_DEFINE=	DOCS
30
30
31
DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
31
DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
32
			${PYTHON_PKGNAMEPREFIX}pypa-docs-theme>=g20180622:textproc/py-pypa-docs-theme@${PY_FLAVOR}
32
DOCS_PORTDOCS=	*
33
DOCS_PORTDOCS=	*
33
DOCS_VARS=	PYDISTUTILS_BUILD_TARGET=build_sphinx \
34
DOCS_VARS=	PYDISTUTILS_BUILD_TARGET=build_sphinx \
34
		PYDISTUTILS_BUILDARGS="-n --all-files --fresh-env"
35
		PYDISTUTILS_BUILDARGS="-n --all-files --fresh-env"
36
MAKE_ENV=	PYTHONPATH=${WRKSRC}/src/
35
37
36
USES=		python shebangfix
38
USES=		python shebangfix
37
USE_GITHUB=	yes
38
USE_PYTHON=	autoplist concurrent distutils
39
USE_PYTHON=	autoplist concurrent distutils
39
40
40
SHEBANG_FILES=	pip/__init__.py
41
42
GH_ACCOUNT=	pypa
43
44
NO_ARCH=	yes
45
46
post-install-DOCS-on:
41
post-install-DOCS-on:
47
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
42
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
48
	(cd ${WRKSRC}/build/sphinx/html && \
43
	(cd ${WRKSRC}/build/sphinx/html && \
(-)devel/py-pip/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1521810422
1
TIMESTAMP = 1559331242
2
SHA256 (pypa-pip-9.0.3_GH0.tar.gz) = a582a1b8649828b57c23788879bd5263b9ff4f12083c52fb73ff20ca3531056d
2
SHA256 (pip-19.1.1.tar.gz) = 44d3d7d3d30a1eb65c7e5ff1173cdf8f7467850605ac7cc3707b6064bddd0958
3
SIZE (pypa-pip-9.0.3_GH0.tar.gz) = 6249079
3
SIZE (pip-19.1.1.tar.gz) = 1334144
(-)devel/py-pip/files/patch-setup.cfg (-6 / +7 lines)
Lines 1-9 Link Here
1
--- setup.cfg.orig	2015-08-22 22:46:55 UTC
1
--- setup.cfg.orig	2019-05-06 14:54:25 UTC
2
+++ setup.cfg
2
+++ setup.cfg
3
@@ -1,5 +1,6 @@
3
@@ -12,6 +12,7 @@ known_first_party = 
4
 [pytest]
4
 	tests
5
 addopts = --ignore pip/_vendor --ignore tests/tests_cache
5
 default_section = THIRDPARTY
6
 include_trailing_comma = true
6
+norecursedirs = .tox build dist node_modules *.egg-info
7
+norecursedirs = .tox build dist node_modules *.egg-info
7
 
8
 
8
 [wheel]
9
 [flake8]
9
 universal=1
10
 exclude = 
(-)devel/py-pip/files/patch-setup.py (-6 / +8 lines)
Lines 1-11 Link Here
1
--- setup.py.orig	2015-11-14 14:08:36 UTC
1
--- setup.py.orig	2018-11-13 02:28:08 UTC
2
+++ setup.py
2
+++ setup.py
3
@@ -78,8 +78,6 @@ setup(
3
@@ -73,8 +73,8 @@ setup(
4
     entry_points={
4
     entry_points={
5
         "console_scripts": [
5
         "console_scripts": [
6
             "pip=pip:main",
6
             "pip=pip._internal:main",
7
-            "pip%s=pip:main" % sys.version[:1],
7
-            "pip%s=pip._internal:main" % sys.version_info[:1],
8
-            "pip%s=pip:main" % sys.version[:3],
8
-            "pip%s.%s=pip._internal:main" % sys.version_info[:2],
9
+#            "pip%s=pip._internal:main" % sys.version_info[:1],
10
+#            "pip%s.%s=pip._internal:main" % sys.version_info[:2],
9
         ],
11
         ],
10
     },
12
     },
11
     tests_require=tests_require,
13
 

Return to bug 229946