svn commit: r566462 - in head/devel: . py-pytest-httpbin

Ruslan Makhmatkhanov rm at FreeBSD.org
Wed Feb 24 09:55:46 UTC 2021


Author: rm
Date: Wed Feb 24 09:55:45 2021
New Revision: 566462
URL: https://svnweb.freebsd.org/changeset/ports/566462

Log:
  Pytest-httpbin creates a pytest fixture that is dependency-injected
  into your tests. It automatically starts up a HTTP server in a
  separate thread running httpbin and provides your test with the URL
  in the fixture.
  
  WWW: https://github.com/kevin1024/pytest-httpbin
  
  PR:		252187
  Submitted by:	python at FreeBSD.org

Added:
  head/devel/py-pytest-httpbin/
  head/devel/py-pytest-httpbin/Makefile   (contents, props changed)
  head/devel/py-pytest-httpbin/distinfo   (contents, props changed)
  head/devel/py-pytest-httpbin/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Feb 24 09:54:19 2021	(r566461)
+++ head/devel/Makefile	Wed Feb 24 09:55:45 2021	(r566462)
@@ -4937,6 +4937,7 @@
     SUBDIR += py-pytest-forked
     SUBDIR += py-pytest-freezegun
     SUBDIR += py-pytest-helpers-namespace
+    SUBDIR += py-pytest-httpbin
     SUBDIR += py-pytest-isort
     SUBDIR += py-pytest-lazy-fixture
     SUBDIR += py-pytest-localserver

Added: head/devel/py-pytest-httpbin/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-httpbin/Makefile	Wed Feb 24 09:55:45 2021	(r566462)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME=	pytest-httpbin
+DISTVERSION=	1.0.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	python at FreeBSD.org
+COMMENT=	Easily test your HTTP library against a local copy of httpbin.org
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpbin>0:www/py-httpbin@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils concurrent
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-pytest-httpbin/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-httpbin/distinfo	Wed Feb 24 09:55:45 2021	(r566462)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609040419
+SHA256 (pytest-httpbin-1.0.0.tar.gz) = d8ce547f42423026550ed7765f6c6d50c033b43025e8592270a7abf970e19b72
+SIZE (pytest-httpbin-1.0.0.tar.gz) = 12244

Added: head/devel/py-pytest-httpbin/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-httpbin/pkg-descr	Wed Feb 24 09:55:45 2021	(r566462)
@@ -0,0 +1,6 @@
+Pytest-httpbin creates a pytest fixture that is dependency-injected
+into your tests. It automatically starts up a HTTP server in a
+separate thread running httpbin and provides your test with the URL
+in the fixture.
+
+WWW: https://github.com/kevin1024/pytest-httpbin


More information about the svn-ports-all mailing list