aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-04-26 20:45:50 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-04-26 20:45:50 +0000
commitc599e2a18038c3db139c911bafb6a1bd1e2aa4d5 (patch)
tree4a8c22a7cccd71127e5e230ec976a86d5ba69054 /net
parent11cb76304da9949295f2c12be40b9200a2fe0922 (diff)
downloadports-c599e2a18038c3db139c911bafb6a1bd1e2aa4d5.tar.gz
ports-c599e2a18038c3db139c911bafb6a1bd1e2aa4d5.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/py-smart_open/Makefile11
-rw-r--r--net/py-smart_open/distinfo6
2 files changed, 11 insertions, 6 deletions
diff --git a/net/py-smart_open/Makefile b/net/py-smart_open/Makefile
index 1ef785a4550e..46d5e27c88e0 100644
--- a/net/py-smart_open/Makefile
+++ b/net/py-smart_open/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= smart_open
-PORTVERSION= 1.8.2
+PORTVERSION= 1.8.3
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>=2.32:devel/py-boto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}boto3>=0:www/py-boto3@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}bz2file>=0:archivers/py-bz2file@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pathlib2>=0:devel/py-pathlib2@${PY_FLAVOR} \
@@ -26,4 +25,10 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}bz2file>=0:archivers/py-bz2file@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/py-smart_open/distinfo b/net/py-smart_open/distinfo
index e95cbb0a4c76..f94a862dec71 100644
--- a/net/py-smart_open/distinfo
+++ b/net/py-smart_open/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1555592237
-SHA256 (smart_open-1.8.2.tar.gz) = d3c16477ad7e8f94ab033630ea31993670ad21153172367db1acb143077d501c
-SIZE (smart_open-1.8.2.tar.gz) = 57091
+TIMESTAMP = 1556288827
+SHA256 (smart_open-1.8.3.tar.gz) = 305aee26b4fcc68f6ef8a8a851f27335b8b81bb9f2f030fd2574276cb4052b09
+SIZE (smart_open-1.8.3.tar.gz) = 60936