aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2016-06-27 03:00:09 +0800
committercpm <cpm@FreeBSD.org>2016-06-27 03:00:09 +0800
commite9ada85997889740550357c3d3659c5486867ecb (patch)
tree64a8e3cd7b9b863e75b4830ffae30ff0cbf867e1
parentb6e687558b3a8e0b70d3464a49733e4a3045e7b5 (diff)
downloadfreebsd-ports-gnome-e9ada85997889740550357c3d3659c5486867ecb.tar.gz
freebsd-ports-gnome-e9ada85997889740550357c3d3659c5486867ecb.tar.zst
freebsd-ports-gnome-e9ada85997889740550357c3d3659c5486867ecb.zip
- Drop textproc/py-beautifulsoup as dependency because it was removed.
- Add www/py-beautifulsoup to RUN_DEPENDS - Ignore on the package builders Reported by: pkg-fallout Reviewed by: junovitch (mentor) Approved by: junovitch (mentor) Differential Revision: D6971
-rw-r--r--misc/py-socli/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/misc/py-socli/Makefile b/misc/py-socli/Makefile
index f6f0335e3a63..9fbcfa9fdeaf 100644
--- a/misc/py-socli/Makefile
+++ b/misc/py-socli/Makefile
@@ -12,7 +12,7 @@ COMMENT= Stack overflow command line interface
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup4>=0:textproc/py-beautifulsoup4 \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests
USES= python:3
@@ -23,4 +23,10 @@ GH_ACCOUNT= gautamkrishnar
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
+IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
+.endif
+
+.include <bsd.port.post.mk>