aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-04-19 17:46:30 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-04-19 17:49:34 +0000
commit803d1a2dcfc37346fc37e6d3f38f46b9f5004fc7 (patch)
tree6165a2606dcabf452d87b34ff8a3bdebcf8cc952
parentcd7b91a56a20ee2aaf37c3f48e8f386b42b82cd4 (diff)
devel/py-conda-inject: New port: Inject a conda environment into the current Python environment
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-conda-inject/Makefile23
-rw-r--r--devel/py-conda-inject/distinfo3
-rw-r--r--devel/py-conda-inject/pkg-descr3
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c4267d589b2d..2f53351b47ef 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4755,6 +4755,7 @@
SUBDIR += py-commandlines
SUBDIR += py-commentjson
SUBDIR += py-commoncode
+ SUBDIR += py-conda-inject
SUBDIR += py-condense-json
SUBDIR += py-conditional
SUBDIR += py-confection
diff --git a/devel/py-conda-inject/Makefile b/devel/py-conda-inject/Makefile
new file mode 100644
index 000000000000..48f66c6086cd
--- /dev/null
+++ b/devel/py-conda-inject/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= conda-inject
+DISTVERSION= 1.3.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= conda_inject-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Inject a conda environment into the current Python environment
+WWW= https://pypi.org/project/conda-inject/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-conda-inject/distinfo b/devel/py-conda-inject/distinfo
new file mode 100644
index 000000000000..53b25c7d888a
--- /dev/null
+++ b/devel/py-conda-inject/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1776617675
+SHA256 (conda_inject-1.3.2.tar.gz) = 0b8cde8c47998c118d8ff285a04977a3abcf734caf579c520fca469df1cd0aac
+SIZE (conda_inject-1.3.2.tar.gz) = 3635
diff --git a/devel/py-conda-inject/pkg-descr b/devel/py-conda-inject/pkg-descr
new file mode 100644
index 000000000000..c5c7616741ad
--- /dev/null
+++ b/devel/py-conda-inject/pkg-descr
@@ -0,0 +1,3 @@
+conda-inject provides helper functions for injecting a conda environment
+into the current Python environment by modifying sys.path, without
+actually changing the current Python environment.