summaryrefslogtreecommitdiff
path: root/devel/py-omegaconf
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-omegaconf')
-rw-r--r--devel/py-omegaconf/Makefile29
-rw-r--r--devel/py-omegaconf/distinfo3
-rw-r--r--devel/py-omegaconf/pkg-descr4
3 files changed, 36 insertions, 0 deletions
diff --git a/devel/py-omegaconf/Makefile b/devel/py-omegaconf/Makefile
new file mode 100644
index 000000000000..52b6813df5ae
--- /dev/null
+++ b/devel/py-omegaconf/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= omegaconf
+DISTVERSION= 2.3.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Flexible configuration library
+WWW= https://github.com/omry/omegaconf
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}antlr4-python3-runtime>0:devel/py-antlr4-python3-runtime@${PY_FLAVOR}
+
+USES= java:build python
+
+USE_PYTHON= pep517 autoplist pytest
+
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
+
+NO_ARCH= yes
+
+# tests as of 2.3.0: 10 failed, 7761 passed, 354 skipped, 8 xfailed in 57.22s, failures are because if the missing build_helpers/test_files
+
+.include <bsd.port.mk>
diff --git a/devel/py-omegaconf/distinfo b/devel/py-omegaconf/distinfo
new file mode 100644
index 000000000000..004c4a425118
--- /dev/null
+++ b/devel/py-omegaconf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1755640997
+SHA256 (omegaconf-2.3.0.tar.gz) = d5d4b6d29955cc50ad50c46dc269bcd92c6e00f5f90d23ab5fee7bfca4ba4cc7
+SIZE (omegaconf-2.3.0.tar.gz) = 3298120
diff --git a/devel/py-omegaconf/pkg-descr b/devel/py-omegaconf/pkg-descr
new file mode 100644
index 000000000000..ac03bea30f49
--- /dev/null
+++ b/devel/py-omegaconf/pkg-descr
@@ -0,0 +1,4 @@
+OmegaConf is a hierarchical configuration system, with support for merging
+configurations from multiple sources (YAML config files, dataclasses/objects
+and CLI arguments) providing a consistent API regardless of how the
+configuration was created.