From nobody Sat Oct 21 18:19:06 2023 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 4SCV8V6VQKz4xMYR; Sat, 21 Oct 2023 18:19:06 +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 4SCV8V5jwGz4fPH; Sat, 21 Oct 2023 18:19:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697912346; 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=3Nm3vLDI5Eqr6smVSPnu5yjD8r2umI0lZfm+WMoPzEk=; b=h6IoLhm8W9wk3gu3PX5y3KTi19X5jTEG5RO7E3oJ2+CKOhVxoGDcSFaPM+n95wKFL5kxwI zNlR+56E/FnJ9OMBq18t3L7m01YLN6g4HCThG6z66Lb4N25F3td4c4IZjt2lG4Qrv5+vy/ eYvmzIZQMYQVyIavKqNJlKhc7S/MOYOrP4fQ2Xml0ppWXJ4EYfO9DZCTNN9EXiE47lNHi3 aJ/DfO1Ncn8fUdCAZ12TGeiuHQUXUkcvOY31H23iNRsInFNCjM2D1fEVh/XQ7yG0IOxyiw OTtwGI0kXLcis6p4B+ZoNTERR/wWNt1zk+RPIxVdgSSAb1U856oZzc9b7VejlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697912346; a=rsa-sha256; cv=none; b=AWqFr+UkdfoUwVhMwGitbwVZ5bePfftUzJc3hKOownOzFLHwwz+G5y5kTsNeJepOz7tF0B dAAncS5in9HDpNpzlK9VJN79gGzs4cwufwkntd9VPbJmcn/X2fFpxWGH+gp251sbsWmyqH QVsA5ovRdMwnluTiLS3yBTBItQFR8t96ZYersEJf1A2ObNsfoMLvsoRrO4/dzsuUjaQcID zqdlgYoZ8Ak/oQtG6EBHBxcjdcgDgh4u3o4voL4s6wcfEl2tC+WwJU1jLe7Sh67k0nHQeM czzvnAZ9SJwPjkpks2dvbnctkoW8QCmb0Qf58UlVqoZLBvyOB+TP4jSoSNWvsw== 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=1697912346; 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=3Nm3vLDI5Eqr6smVSPnu5yjD8r2umI0lZfm+WMoPzEk=; b=ZFRoGncGOw71RwMyS6EHpczzT46E79WfOKnl9mspMvfSKiOEHejGfr1wwdxX4XSZFQOQlw 1CPb0HAf3xwAjZvle4DmPJXVXXyFRiFHUEmNR9ZJWNePeNYhS4UUouBoan8yBh2ffkwt5X RLMJh6YKTimF0HsKHepglh6B4wDnIGw95Scdyuu+5y1M+dlTEQRgVEowbs2mxTtvHuT1VY RlQJRryLqDSI5UmwKGNFcPNgUgY21kx2bVZ28BuD06yKXEbZHPCSujm45vhvVtRopUG0C7 m7SkcT8UKX/+eCL/C2DEnwbBaaGflYDrH2nsFIGYCJ9cH4TFFIyaQniaCXPknw== 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 4SCV8V4gDyzB85; Sat, 21 Oct 2023 18:19:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39LIJ6SP055738; Sat, 21 Oct 2023 18:19:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39LIJ6Wj055735; Sat, 21 Oct 2023 18:19:06 GMT (envelope-from git) Date: Sat, 21 Oct 2023 18:19:06 GMT Message-Id: <202310211819.39LIJ6Wj055735@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kurt Jaeger Subject: git: 433ffc21d6ed - main - databases/py-dbt-semantic-interfaces: new port 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 433ffc21d6ed48f6da712e477a7820ba37a4ccb0 Auto-Submitted: auto-generated The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=433ffc21d6ed48f6da712e477a7820ba37a4ccb0 commit 433ffc21d6ed48f6da712e477a7820ba37a4ccb0 Author: Pat Maddox AuthorDate: 2023-10-21 18:18:12 +0000 Commit: Kurt Jaeger CommitDate: 2023-10-21 18:18:12 +0000 databases/py-dbt-semantic-interfaces: new port dbt-semantic-interfaces contains the shared semantic classes, default validation, and tests designed to be used by both the dbt-core and MetricFlow projects. By centralizing these shared resources, we aim to maintain consistency and reduce code duplication across both projects. Features: - Protocols for shared semantic classes: Define the interfaces and common attributes that must be implemented by the objects in both projects. - Validation: Ensure that the objects comply with the expected structure and constraints. - Tests: Ensure that the objects' behavior is consistent and correct across both projects. PR: 274581 Author: Pat Maddox --- databases/Makefile | 1 + databases/py-dbt-semantic-interfaces/Makefile | 30 ++++++++++++++++++++++++++ databases/py-dbt-semantic-interfaces/distinfo | 3 +++ databases/py-dbt-semantic-interfaces/pkg-descr | 13 +++++++++++ 4 files changed, 47 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 93b6fb8e7719..131d57e56350 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -756,6 +756,7 @@ SUBDIR += py-couchdb SUBDIR += py-databases SUBDIR += py-dbf + SUBDIR += py-dbt-semantic-interfaces SUBDIR += py-dbutils SUBDIR += py-duckdb SUBDIR += py-fakeredis diff --git a/databases/py-dbt-semantic-interfaces/Makefile b/databases/py-dbt-semantic-interfaces/Makefile new file mode 100644 index 000000000000..e7b5dca287e9 --- /dev/null +++ b/databases/py-dbt-semantic-interfaces/Makefile @@ -0,0 +1,30 @@ +PORTNAME= dbt-semantic-interfaces +PORTVERSION= 0.2.0 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= dbt_semantic_interfaces-${PORTVERSION} + +MAINTAINER= pat@patmaddox.com +COMMENT= Shared semantic layer definitions that dbt-core and MetricFlow use +WWW= https://github.com/dbt-labs/dbt-semantic-interfaces + +LICENSE= APACHE20 + +BUILD_DEPENDS= hatch:devel/py-hatch@${PY_FLAVOR} \ + hatchling:devel/py-hatchling@${PY_FLAVOR} + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic>=1.10,<2:devel/py-pydantic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=3:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=6,<7:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}more-itertools>=8:devel/py-more-itertools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=3,<4:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=7,<9:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=6,<7:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4,<5:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +.include diff --git a/databases/py-dbt-semantic-interfaces/distinfo b/databases/py-dbt-semantic-interfaces/distinfo new file mode 100644 index 000000000000..dd479ea1f4a5 --- /dev/null +++ b/databases/py-dbt-semantic-interfaces/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691527201 +SHA256 (dbt_semantic_interfaces-0.2.0.tar.gz) = 4afecc6dc56f85ecce7ac424dea07561513467e0bf28ead7307b78a22e6b999b +SIZE (dbt_semantic_interfaces-0.2.0.tar.gz) = 69838 diff --git a/databases/py-dbt-semantic-interfaces/pkg-descr b/databases/py-dbt-semantic-interfaces/pkg-descr new file mode 100644 index 000000000000..99bb3bc9aee7 --- /dev/null +++ b/databases/py-dbt-semantic-interfaces/pkg-descr @@ -0,0 +1,13 @@ +dbt-semantic-interfaces contains the shared semantic classes, default +validation, and tests designed to be used by both the dbt-core and MetricFlow +projects. By centralizing these shared resources, we aim to maintain consistency +and reduce code duplication across both projects. + +Features: + +- Protocols for shared semantic classes: Define the interfaces and common + attributes that must be implemented by the objects in both projects. +- Validation: Ensure that the objects comply with the expected structure and + constraints. +- Tests: Ensure that the objects' behavior is consistent and correct across both + projects.