From nobody Mon Jul 29 19:04:58 2024 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 4WXnqG6Rxwz5RnW5; Mon, 29 Jul 2024 19:04:58 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXnqG5m75z4XCD; Mon, 29 Jul 2024 19:04:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722279898; 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=G5zirdCF7kl1Yo0zEMUhgVACztaebtpWYs1vVkVW1oQ=; b=RttyFE5oms/zZ39mgkyUI1avdIHH8SjfnzLTkbWwvzB26/TQKgFaM2BUYGrbLHXmDYfNID DCQJuyPdCy26XCX8GRcuQxMiX5DYzILSk1PC9iVWYhdFNwn+o0eZNjJ5AwFuwCS7Z0vnCd 2MRq7HsKMxJ9OPKfixJWvlSNw9l8Q+YZmi8RdW9ZnoNJC3U47t+0YdtSoU+32oyHEdLmpL fdz92f2J+Qj5X2mGcEmxm2KnwOuishlXk31QH0EQJtFIOTisD1P5RT8J3hVxKvSyC5/dKt hQEEhB4Mn8MmPW0s63WUmj6+24GcBc3KyX0LSMtZXQ8MkTIUHUMKTLWZWdimxw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722279898; a=rsa-sha256; cv=none; b=rU2hEhtE15VUcATR23fj8t8E+PYsQvElaYIy+N1T8fyD9U4TaO52Gu7Mb/CNQJ7AcMPAuX JKUgjk5Sz9t7D6QKrXeUJAgZRlc7mdVczgfwGtPgfYQQROu4Zizv6dgnqbCr7kHthbHC4J jVgCRHkZ9JmTToUq9czaGur2m9BfJlQghsl/wLRbW3c0U8UVFS181KI/gH2lA2qzVolkW9 w0tK+UTgdcEBh7jm5m8H5vrYub6+GfLiAOij8yH4krYR6jxrqDa3GR1KW8bhdA7rWeHzO5 ir2JCVFu6ka0ZCZA/hzut/F45SzRVAnzWABn3CdsMUGti9VSvLhe4mrVVJFUkw== 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=1722279898; 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=G5zirdCF7kl1Yo0zEMUhgVACztaebtpWYs1vVkVW1oQ=; b=AZ7yI05l1pF7DU88PtG94zAf3UBsSOPJZ6ATVPOfg+3mfiABT6bH6Ze66wX0GDNPlYo670 2kyZC0N1JV6J2pIfnr5IRhFJCbnM/d+xCPSp7u5ROhNMONNAnuMzaFfQ85lg6elCMsy5OW JtSHGWuT51T8d1fRs6nrpxeFDyE1+eiIgKz7Jl04/n8zs7zXS7xKn/Nsq5nItaf5TRtI0o wUVqvnTlQVPSxpdy/b65/6Lxt6tw2vIODhfgFLnYjdl13u52lma+SEhumq2S/2ObURNmnC tkUtK7RKPttpfGevRZ7ikhhzRizH+c5KViVIfrQ1uXyuj9PHRm2xO/r+kHE/gA== 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 4WXnqG5MChzmgy; Mon, 29 Jul 2024 19:04:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46TJ4wWu059657; Mon, 29 Jul 2024 19:04:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46TJ4wPH059654; Mon, 29 Jul 2024 19:04:58 GMT (envelope-from git) Date: Mon, 29 Jul 2024 19:04:58 GMT Message-Id: <202407291904.46TJ4wPH059654@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: e9b9dbfdc41c - main - devel/py-pytest-alembic: Add py-pytest-alembic 0.11.1 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: e9b9dbfdc41cf443fbbed58f4cc687db9a381d0b Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e9b9dbfdc41cf443fbbed58f4cc687db9a381d0b commit e9b9dbfdc41cf443fbbed58f4cc687db9a381d0b Author: Po-Chuan Hsieh AuthorDate: 2024-07-29 19:02:49 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-07-29 19:02:49 +0000 devel/py-pytest-alembic: Add py-pytest-alembic 0.11.1 pytest-alembic is a pytest plugin to test alembic migrations (with default tests) and which enables you to write tests specific to your migrations. --- devel/Makefile | 1 + devel/py-pytest-alembic/Makefile | 33 +++++++++++++++++++++++++++++++++ devel/py-pytest-alembic/distinfo | 3 +++ devel/py-pytest-alembic/pkg-descr | 2 ++ 4 files changed, 39 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a52351129b4a..e00bb73f7186 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5512,6 +5512,7 @@ SUBDIR += py-pyte SUBDIR += py-pytest SUBDIR += py-pytest-aiohttp + SUBDIR += py-pytest-alembic SUBDIR += py-pytest-asyncio SUBDIR += py-pytest-azurepipelines SUBDIR += py-pytest-benchmark diff --git a/devel/py-pytest-alembic/Makefile b/devel/py-pytest-alembic/Makefile new file mode 100644 index 000000000000..dd67144812eb --- /dev/null +++ b/devel/py-pytest-alembic/Makefile @@ -0,0 +1,33 @@ +PORTNAME= pytest-alembic +PORTVERSION= 0.11.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pytest_alembic-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Pytest plugin for verifying alembic migrations +WWW= https://pytest-alembic.readthedocs.io/en/latest/ \ + https://github.com/schireson/pytest-alembic + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.8:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}alembic>=0:databases/py-alembic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=6.0,1:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +#NO_ARCH= yes + +OPTIONS_RADIO_SQL= ALCHEMY14 ALCHEMY20 +OPTIONS_DEFAULT=ALCHEMY14 +ALCHEMY14_DESC= Support SQL databases via databases/py-sqlalchemy14 +ALCHEMY20_DESC= Support SQL databases via databases/py-sqlalchemy20 + +ALCHEMY14_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=0:databases/py-sqlalchemy14@${PY_FLAVOR} +ALCHEMY20_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=0:databases/py-sqlalchemy20@${PY_FLAVOR} + +.include diff --git a/devel/py-pytest-alembic/distinfo b/devel/py-pytest-alembic/distinfo new file mode 100644 index 000000000000..da81045cd7f7 --- /dev/null +++ b/devel/py-pytest-alembic/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722272048 +SHA256 (pytest_alembic-0.11.1.tar.gz) = a920d8770b5be77326c5c1b2bd8d4d4a0dd8fc2c2d57abbcd1fec28a21131b85 +SIZE (pytest_alembic-0.11.1.tar.gz) = 29977 diff --git a/devel/py-pytest-alembic/pkg-descr b/devel/py-pytest-alembic/pkg-descr new file mode 100644 index 000000000000..c16eb5eed6bf --- /dev/null +++ b/devel/py-pytest-alembic/pkg-descr @@ -0,0 +1,2 @@ +pytest-alembic is a pytest plugin to test alembic migrations (with default +tests) and which enables you to write tests specific to your migrations.