aboutsummaryrefslogtreecommitdiff
path: root/misc/py-socli
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2016-06-26 19:00:09 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2016-06-26 19:00:09 +0000
commit274e60fb9e9ea344d006da53858d92179c5ba6d2 (patch)
tree64a8e3cd7b9b863e75b4830ffae30ff0cbf867e1 /misc/py-socli
parente854af1ba8a55c99a8503d90971bfcd437c81fe1 (diff)
downloadports-274e60fb9e9ea344d006da53858d92179c5ba6d2.tar.gz
ports-274e60fb9e9ea344d006da53858d92179c5ba6d2.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
Notes
Notes: svn path=/head/; revision=417606
Diffstat (limited to 'misc/py-socli')
-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>