aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2016-01-08 04:41:40 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2016-01-08 04:41:40 +0000
commitfac07f8bab635bbbf1e7fff456ad06e133a71aef (patch)
tree37b529be87f4787456624bfb3a3055b80e15e4de
parentc038fdaff2d9cf9deb77c4c2c697d4a6bb7a9464 (diff)
downloadports-fac07f8bab635bbbf1e7fff456ad06e133a71aef.tar.gz
ports-fac07f8bab635bbbf1e7fff456ad06e133a71aef.zip
[NEW] devel/py-responses: Utility library for mocking out the requests Python library
A utility library for mocking out the requests Python library. WWW: https://github.com/getsentry/responses PR: 205914 Submitted by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
Notes
Notes: svn path=/head/; revision=405517
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-responses/Makefile23
-rw-r--r--devel/py-responses/distinfo2
-rw-r--r--devel/py-responses/pkg-descr3
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f5f1aa6588de..f248bb890006 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4297,6 +4297,7 @@
SUBDIR += py-repoze.xmliter
SUBDIR += py-resolver
SUBDIR += py-resourcepackage
+ SUBDIR += py-responses
SUBDIR += py-riak_pb
SUBDIR += py-rlcompleter2
SUBDIR += py-robotframework
diff --git a/devel/py-responses/Makefile b/devel/py-responses/Makefile
new file mode 100644
index 000000000000..45f3cc03a8b7
--- /dev/null
+++ b/devel/py-responses/Makefile
@@ -0,0 +1,23 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= responses
+PORTVERSION= 0.5.0
+CATEGORIES= devel www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Utility library for mocking out the requests Python library
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>2.0.0:${PORTSDIR}/www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}cookies>0:${PORTSDIR}/www/py-cookies
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-responses/distinfo b/devel/py-responses/distinfo
new file mode 100644
index 000000000000..fe41f4973d7f
--- /dev/null
+++ b/devel/py-responses/distinfo
@@ -0,0 +1,2 @@
+SHA256 (responses-0.5.0.tar.gz) = 4c76c560eefb42fb5f0ac59f39f90c295cf6e4f080562c124e3ad247a2be11cf
+SIZE (responses-0.5.0.tar.gz) = 5957
diff --git a/devel/py-responses/pkg-descr b/devel/py-responses/pkg-descr
new file mode 100644
index 000000000000..4d8a147b67d1
--- /dev/null
+++ b/devel/py-responses/pkg-descr
@@ -0,0 +1,3 @@
+A utility library for mocking out the requests Python library.
+
+WWW: https://github.com/getsentry/responses