From nobody Sat Aug 27 10:30:41 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MFCds5SFWz4b4rm; Sat, 27 Aug 2022 10:30:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MFCds45Lbz3wb4; Sat, 27 Aug 2022 10:30:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GUdnD9tBSH5ZQfRpuZSULdmIG7bx0h9An1ZaFL4lfN8=; b=oVsU0o5JPhWsLgBXrwrP31ubD0A3NcptkStnjp9mlMbbYcrAROHzY46GqAAiWey4s5UCsN apTVppM9UR2htEe+H4CYlGaytp7tl8U+6EnHClXjKecHSoNARSKGO+eOyMipovEZJSN0Vb 4IxzXjS7yfLmoFHw2J2CpKg9P9iIg3z7pFi2JJULeVFrg8u7WeS7nMj2qXfLtA+XnqZjKV uudOJkp0/+0xTglq7rqI5qpevfj10jLXQxs5NtMIXEMaI2B48wczqyykzRThCp5hDKRHZe 88Q+seRR92KYSwRq9Pu3dlXm9pu9+SoGCmRmtAlj1OJhzm5pHkzHAhvctdM8yg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MFCds3C1pzjrP; Sat, 27 Aug 2022 10:30:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27RAUfRF047088; Sat, 27 Aug 2022 10:30:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27RAUfBi047087; Sat, 27 Aug 2022 10:30:41 GMT (envelope-from git) Date: Sat, 27 Aug 2022 10:30:41 GMT Message-Id: <202208271030.27RAUfBi047087@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e572f3d68d80 - main - devel/py-pytest-httpserver: Add py-pytest-httpserver 1.0.5 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e572f3d68d800ec7b081db0607c17460de3cda44 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GUdnD9tBSH5ZQfRpuZSULdmIG7bx0h9An1ZaFL4lfN8=; b=npb5h38nEla54CZDq2xzpbHnco1bnMinsSdoyPT7k7z0/4ngD/rZgOOOMqJtg7QI1kTEYC msNo2Hp7P8/qL0fp4mcYGGlI3UcN2thlu8n100AnIx7qLJc/4vdNqCqGKR7c/YpL4XpWSz nUvc0lz5xyoXLfm9Lh7ozmSV9LJWyt/QBE/jLAMxNdbeOl1BBH0PmfdmaBKnK3m5FRsGNb 2FPSlSY/28pS9Hm4yh4TwRfZjg56szYey/ypSfc+2T2CcEaaz8u6AYbwtizaCqzDyF4xGQ bNmMZEUHbJSsEiaOivPut9oorPyQnynT6DnQZnHzwjoOtvw+O2UnWuCcTqHNSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661596241; a=rsa-sha256; cv=none; b=FF3PUrRG5EecXyTDoIk3Q71146ULE9bFj9aNvxUMnot1kRTplafJQqz/J6WXSRAGQ19DZW HkrmkTLKb6XVoqkVQCANdb1XLumBrW7d4HuG/pM979f4ncgYyZVcnHPjdhdt+4CknsBfS2 u589BydgjkeZK+zUcZOID6e/Uzn8ivj9gfd0wN3xIHgP/JmlgfBBuHjrBaqt4OHgfAc6Y+ 5GQEgw9vj652Ycpn79WyrdjUUQY1yaoaE6nz2p2sN309UCwrNR76A3TkgsrsCF2bIl3oEW bKqxAqZ4O1m3oKHGg5TryrPtBO5FNUI8tceLFRqOwMzvzf2hq+CrkgHJxocmcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e572f3d68d800ec7b081db0607c17460de3cda44 commit e572f3d68d800ec7b081db0607c17460de3cda44 Author: Po-Chuan Hsieh AuthorDate: 2022-08-27 10:10:25 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-08-27 10:10:25 +0000 devel/py-pytest-httpserver: Add py-pytest-httpserver 1.0.5 This library is designed to help to test http clients without contacting the real http server. In other words, it is a fake http server which is accessible via localhost can be started with the pre-defined expected http requests and their responses. WWW: https://github.com/csernazs/pytest-httpserver --- devel/Makefile | 1 + devel/py-pytest-httpserver/Makefile | 21 +++++++++++++++++++++ devel/py-pytest-httpserver/distinfo | 3 +++ devel/py-pytest-httpserver/pkg-descr | 6 ++++++ 4 files changed, 31 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a4c18af6faca..15116d65e815 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5105,6 +5105,7 @@ SUBDIR += py-pytest-helpers-namespace SUBDIR += py-pytest-html SUBDIR += py-pytest-httpbin + SUBDIR += py-pytest-httpserver SUBDIR += py-pytest-isort SUBDIR += py-pytest-lazy-fixture SUBDIR += py-pytest-localserver diff --git a/devel/py-pytest-httpserver/Makefile b/devel/py-pytest-httpserver/Makefile new file mode 100644 index 000000000000..dc7161256238 --- /dev/null +++ b/devel/py-pytest-httpserver/Makefile @@ -0,0 +1,21 @@ +PORTNAME= pytest-httpserver +PORTVERSION= 1.0.5 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pytest_httpserver-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= HTTP server for pytest + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}werkzeug>=2.0.0:www/py-werkzeug@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-pytest-httpserver/distinfo b/devel/py-pytest-httpserver/distinfo new file mode 100644 index 000000000000..a7b593cbbc64 --- /dev/null +++ b/devel/py-pytest-httpserver/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660576682 +SHA256 (pytest_httpserver-1.0.5.tar.gz) = ae3296626d0a10e835a9f423c61b4540547d582422be054c3fcc08626baa1024 +SIZE (pytest_httpserver-1.0.5.tar.gz) = 51926 diff --git a/devel/py-pytest-httpserver/pkg-descr b/devel/py-pytest-httpserver/pkg-descr new file mode 100644 index 000000000000..b3ec5d45370d --- /dev/null +++ b/devel/py-pytest-httpserver/pkg-descr @@ -0,0 +1,6 @@ +This library is designed to help to test http clients without contacting the +real http server. In other words, it is a fake http server which is accessible +via localhost can be started with the pre-defined expected http requests and +their responses. + +WWW: https://github.com/csernazs/pytest-httpserver