From nobody Mon Mar 9 18:21:38 2026 X-Original-To: dev-commits-ports-all@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 4fV51t64WMz6Td9t for ; Mon, 09 Mar 2026 18:21:38 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fV51t4XHdz3c9Z for ; Mon, 09 Mar 2026 18:21:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773080498; 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=aj1HrKKJ8rOw0uAwKXFMc+I5AWiQ0wKioLU18PST6Eo=; b=xh8Bwu6dKZWbNrYP++wuBxYK35+T9cFrTSQcFFpfBBYH0heebt/whhOxeg1LM/SO54+0MA rrhmUe1GaWJJSe9I0TQ7QbTcWp3HTTjpSe7G/JO+rK0pyQTCULv+WFFRUA5cW/2TedvE9q /lQJhl0Z3ET2QLwo6ONhGpa3CMXklMvQbYqmD6IdzG19D0fI4oR3r9vudWuT6RVvOwP+kW LtdK2Ge5gFei+kl+4dySoFuG56uHW3ZlO38L+1paP8xv0COkPDr+P38VF49XgP19B9kRcg PB5llt7SbN461+mKN5TNJE6f04d332SX/o/jbKqB2fyGhb9aMeou6AY1Xe1AiQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773080498; a=rsa-sha256; cv=none; b=xCxh+3RoAliuZq8cmnuI8V8zuEzWkgJiaVqneNjT7HjxoiELH7KxEIQYbHqIAhuEoyuNNr TSf4iulbhvzUXYxzm08MZxL97Jge1dqhdOTHLqq6zbIsuD8pFOdTQC9UluCg8VMQjGv0/J ZZZuDX8OQhbW2k/YLNB8ik5PG/wPDTLKACu5bl1hO9BisCGgA1jTu3w2SKmpm4M1NLWtP0 ADRZUPnfCjM16/DMbXvYFux3bRxKrNt61kl/gQ649K2pLeK4dmyOmF/0dUquN1cgu+YiAg 7lLyaybjNa1GUdTZfj/UDiYDQhzdtLhul2+cvXXlbQ+jgY42bY8F9Ob4nH/CsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773080498; 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=aj1HrKKJ8rOw0uAwKXFMc+I5AWiQ0wKioLU18PST6Eo=; b=Z+wKQiTBAKoyYCN+tAP3r96uMp5gixhiboounyD/afhCo6SGVVvbPsmMxMvELfcC3q10oP +rPbG4+F8qvKzIJYAGrWi57hD3qqlZbQ+Pfw0CdZmHj51Sz0eIzFw4piIGVGYZ0EaVJ/D/ lXPfBVCRqGK7y/yCS2jfvHSQq4Cl3u1lYBNCgXvGQdwCMHWa7rSPnixsKGK6bRWg3GKsFd mJOIe2xx0GzVUP8m9hOibQz6VfIHQgnSMMxWaJxs+pnJLO705jCS7hTXOLbqK3r4wlTr7E OXSSnDHPTyGdhvtFEG+IG58JH+TQM6P2Xw9Z2R0ZpJA1RHRBaUgDipquDojOvQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fV51t3p4rzd8c for ; Mon, 09 Mar 2026 18:21:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1d6ef by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 09 Mar 2026 18:21:38 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 23b9d913ba73 - main - devel/py-pytest-postgresql: Add py-pytest-postgresql 8.0.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@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: 23b9d913ba73cf2b5eaa752e85ab14ee032d6524 Auto-Submitted: auto-generated Date: Mon, 09 Mar 2026 18:21:38 +0000 Message-Id: <69af0fb2.1d6ef.4f0ea7b5@gitrepo.freebsd.org> The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=23b9d913ba73cf2b5eaa752e85ab14ee032d6524 commit 23b9d913ba73cf2b5eaa752e85ab14ee032d6524 Author: Po-Chuan Hsieh AuthorDate: 2026-03-09 17:51:51 +0000 Commit: Po-Chuan Hsieh CommitDate: 2026-03-09 18:18:10 +0000 devel/py-pytest-postgresql: Add py-pytest-postgresql 8.0.0 pytest-postgresql is a pytest plugin that enables you to test code relying on a running PostgreSQL database. It provides fixtures for managing both the PostgreSQL process and the client connections. --- devel/Makefile | 1 + devel/py-pytest-postgresql/Makefile | 28 ++++++++++++++++++++++ devel/py-pytest-postgresql/distinfo | 3 +++ .../files/patch-pyproject.toml | 11 +++++++++ devel/py-pytest-postgresql/pkg-descr | 3 +++ 5 files changed, 46 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index db0ad8d4a5a2..35b1d353bb1b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5809,6 +5809,7 @@ SUBDIR += py-pytest-order SUBDIR += py-pytest-parallel SUBDIR += py-pytest-plus + SUBDIR += py-pytest-postgresql SUBDIR += py-pytest-pretty SUBDIR += py-pytest-profiling SUBDIR += py-pytest-pycodestyle diff --git a/devel/py-pytest-postgresql/Makefile b/devel/py-pytest-postgresql/Makefile new file mode 100644 index 000000000000..314fac89225e --- /dev/null +++ b/devel/py-pytest-postgresql/Makefile @@ -0,0 +1,28 @@ +PORTNAME= pytest-postgresql +PORTVERSION= 8.0.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pytest_postgresql-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Postgresql fixtures and fixture factories for Pytest +WWW= https://github.com/dbfixtures/pytest-postgresql + +LICENSE= LGPL3+ +LICENSE_FILE= ${WRKSRC}/COPYING.lesser + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mirakuru>=2.6.0:devel/py-mirakuru@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}port-for>=0.4:net/py-port-for@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psycopg>=3.0.0:databases/py-psycopg@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=8.2,1:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-pytest-postgresql/distinfo b/devel/py-pytest-postgresql/distinfo new file mode 100644 index 000000000000..2278f1229398 --- /dev/null +++ b/devel/py-pytest-postgresql/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1771421402 +SHA256 (pytest_postgresql-8.0.0.tar.gz) = 26cbd44a0adef76cf4a82a3a2263f0e029bc54b5863556a9bd86ca3edfa91cce +SIZE (pytest_postgresql-8.0.0.tar.gz) = 49737 diff --git a/devel/py-pytest-postgresql/files/patch-pyproject.toml b/devel/py-pytest-postgresql/files/patch-pyproject.toml new file mode 100644 index 000000000000..6e0544291134 --- /dev/null +++ b/devel/py-pytest-postgresql/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2026-01-23 21:14:12 UTC ++++ pyproject.toml +@@ -29,7 +29,7 @@ dependencies = [ + ] + dependencies = [ + "pytest >= 8.2", +- "port-for >= 0.7.3", ++ "port-for >= 0.4", + "mirakuru >= 2.6.0", + "packaging", + "psycopg >= 3.0.0" diff --git a/devel/py-pytest-postgresql/pkg-descr b/devel/py-pytest-postgresql/pkg-descr new file mode 100644 index 000000000000..cafec7b1250a --- /dev/null +++ b/devel/py-pytest-postgresql/pkg-descr @@ -0,0 +1,3 @@ +pytest-postgresql is a pytest plugin that enables you to test code relying on a +running PostgreSQL database. It provides fixtures for managing both the +PostgreSQL process and the client connections.