summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/py-ns1-python/Makefile5
-rw-r--r--dns/py-ns1-python/distinfo6
-rw-r--r--dns/py-ns1-python/files/patch-setup.py11
3 files changed, 17 insertions, 5 deletions
diff --git a/dns/py-ns1-python/Makefile b/dns/py-ns1-python/Makefile
index bf340b71a619..5a071913727f 100644
--- a/dns/py-ns1-python/Makefile
+++ b/dns/py-ns1-python/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ns1-python
-DISTVERSION= 0.13.0
+DISTVERSION= 0.15.0
CATEGORIES= dns python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,8 @@ COMMENT= Python SDK for accessing NS1, the Data Driven DNS platform
LICENSE= MIT
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
USES= python
diff --git a/dns/py-ns1-python/distinfo b/dns/py-ns1-python/distinfo
index dc5382ac73ea..3b1bab9e0aee 100644
--- a/dns/py-ns1-python/distinfo
+++ b/dns/py-ns1-python/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580337656
-SHA256 (ns1-python-0.13.0.tar.gz) = 996617b4c93b1a8b975877acee4f97bac76085e3e64bdb87b012f053207d5dde
-SIZE (ns1-python-0.13.0.tar.gz) = 23081
+TIMESTAMP = 1589789649
+SHA256 (ns1-python-0.15.0.tar.gz) = 124e96a8b116846e3dea828fa096e184181e751e3ac5b4a8ba1f771c35235b46
+SIZE (ns1-python-0.15.0.tar.gz) = 28459
diff --git a/dns/py-ns1-python/files/patch-setup.py b/dns/py-ns1-python/files/patch-setup.py
new file mode 100644
index 000000000000..26944dcf9e5b
--- /dev/null
+++ b/dns/py-ns1-python/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2020-05-18 08:21:51 UTC
++++ setup.py
+@@ -21,7 +21,7 @@ setup(
+ author_email="devteam@ns1.com",
+ url="https://github.com/ns1/ns1-python",
+ packages=find_packages(exclude=["tests", "examples"]),
+- setup_requires=["pytest-runner", "wheel",],
++ setup_requires=["pytest-runner"],
+ tests_require=["pytest", "pytest-pep8", "pytest-cov", "mock",],
+ keywords="dns development rest sdk ns1 nsone",
+ classifiers=[