Skip to content

Commit

Permalink
devel/py-pip: Clean up Makefile after 6c40102 (python36 removal)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Jan 11, 2022
1 parent e02ba19 commit 029f126
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
9 changes: 1 addition & 8 deletions devel/py-pip/Makefile
Expand Up @@ -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 && \
Expand All @@ -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>
11 changes: 0 additions & 11 deletions devel/py-pip/files/extra-patch-python36

This file was deleted.

0 comments on commit 029f126

Please sign in to comment.