View | Details | Raw Unified | Return to bug 274581
Collapse All | Expand All

(-)b/databases/Makefile (+1 lines)
Lines 755-760 Link Here
755
    SUBDIR += py-couchdb
755
    SUBDIR += py-couchdb
756
    SUBDIR += py-databases
756
    SUBDIR += py-databases
757
    SUBDIR += py-dbf
757
    SUBDIR += py-dbf
758
    SUBDIR += py-dbt-semantic-interfaces
758
    SUBDIR += py-dbutils
759
    SUBDIR += py-dbutils
759
    SUBDIR += py-duckdb
760
    SUBDIR += py-duckdb
760
    SUBDIR += py-fakeredis
761
    SUBDIR += py-fakeredis
(-)b/databases/py-dbt-semantic-interfaces/Makefile (+30 lines)
Added Link Here
1
PORTNAME=	dbt-semantic-interfaces
2
PORTVERSION=	0.2.0
3
CATEGORIES=	databases python
4
MASTER_SITES=	PYPI
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
DISTNAME=	dbt_semantic_interfaces-${PORTVERSION}
7
8
MAINTAINER=	pat@patmaddox.com
9
COMMENT=	Shared semantic layer definitions that dbt-core and MetricFlow use
10
WWW=		https://github.com/dbt-labs/dbt-semantic-interfaces
11
12
LICENSE=	APACHE20
13
14
BUILD_DEPENDS=	hatch:devel/py-hatch@${PY_FLAVOR} \
15
		hatchling:devel/py-hatchling@${PY_FLAVOR}
16
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pydantic>=1.10,<2:devel/py-pydantic@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}jsonschema>=3:devel/py-jsonschema@${PY_FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}yaml>=6,<7:devel/py-yaml@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}more-itertools>=8:devel/py-more-itertools@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}Jinja2>=3,<4:devel/py-Jinja2@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}click>=7,<9:devel/py-click@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \
24
		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=6,<7:devel/py-importlib-metadata@${PY_FLAVOR} \
25
		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4,<5:devel/py-typing-extensions@${PY_FLAVOR}
26
27
USES=		python
28
USE_PYTHON=	autoplist concurrent pep517
29
30
.include <bsd.port.mk>
(-)b/databases/py-dbt-semantic-interfaces/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1691527201
2
SHA256 (dbt_semantic_interfaces-0.2.0.tar.gz) = 4afecc6dc56f85ecce7ac424dea07561513467e0bf28ead7307b78a22e6b999b
3
SIZE (dbt_semantic_interfaces-0.2.0.tar.gz) = 69838
(-)b/databases/py-dbt-semantic-interfaces/pkg-descr (-1 / +13 lines)
Added Link Here
0
- 
1
dbt-semantic-interfaces contains the shared semantic classes, default
2
validation, and tests designed to be used by both the dbt-core and MetricFlow
3
projects. By centralizing these shared resources, we aim to maintain consistency
4
and reduce code duplication across both projects.
5
6
Features:
7
8
- Protocols for shared semantic classes: Define the interfaces and common
9
  attributes that must be implemented by the objects in both projects.
10
- Validation: Ensure that the objects comply with the expected structure and
11
  constraints.
12
- Tests: Ensure that the objects' behavior is consistent and correct across both
13
  projects.

Return to bug 274581