1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

devel/py-pip: Clean up Makefile after 6c401020d1 (python36 removal)

This commit is contained in:
Po-Chuan Hsieh 2022-01-12 01:37:46 +08:00
parent e02ba190e8
commit 029f126374
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 1 additions and 19 deletions

View File

@ -60,13 +60,6 @@ DOCS_PORTDOCS= *
DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \
PYDISTUTILS_BUILDARGS="-n --all-files --fresh-env"
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 30700 && ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}future-annotations>=0:devel/py-future-annotations@${PY_FLAVOR}
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-python36
.endif
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/build/sphinx/html && \
@ -80,4 +73,4 @@ do-test:
${LN} -sf ${LOCALBASE}/bin/pip ${LOCALBASE}/bin/pip3
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,11 +0,0 @@
--- docs/docs_feedback_sphinxext.py.orig 2021-01-23 11:51:53 UTC
+++ docs/docs_feedback_sphinxext.py
@@ -1,6 +1,7 @@
+# -*- coding: future_annotations -*-
"""A sphinx extension for collecting per doc feedback."""
-from __future__ import annotations
+import future_annotations
from itertools import chain
from typing import TYPE_CHECKING