git: ed41b3295ccf - main - sysutils/linux-miniconda-installer: Aid for installing and using miniconda

Jason W. Bacon jwb at FreeBSD.org
Fri Apr 16 16:26:23 UTC 2021


The branch main has been updated by jwb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ed41b3295ccf8c6653298dc333766392e556bd28

commit ed41b3295ccf8c6653298dc333766392e556bd28
Author:     Jason W. Bacon <jwb at FreeBSD.org>
AuthorDate: 2021-04-16 16:23:56 +0000
Commit:     Jason W. Bacon <jwb at FreeBSD.org>
CommitDate: 2021-04-16 16:25:47 +0000

    sysutils/linux-miniconda-installer: Aid for installing and using miniconda
    
    Conda, like pip and CRAN, is a popular system that allows non-root users to
    install many binary software packages in their own directories.  The system
    includes a base "channel" (repository) as well as 3rd party community
    channels, such as "bioconda".  QC for community channels is generally below
    that of the base channel and FreeBSD ports, but they provide users with a
    convenient way to install software not yet available in FreeBSD ports.
    
    Packages are available for Linux, MacOS, and Windows.  Linux Conda packages
    work about as well on FreeBSD as they do on CentOS, which is the basis of
    FreeBSD's Linux compatibility tool set.  However, Conda and its packages
    require a complete Linux environment for full functionality.
    
    Typical Conda users do not know how to configure this environment on FreeBSD.
    Miniconda-installer ensures a proper environment for installing and using
    Miniconda and the packages it provides.
---
 sysutils/Makefile                            |  1 +
 sysutils/linux-miniconda-installer/Makefile  | 27 +++++++++++++++++++++++++++
 sysutils/linux-miniconda-installer/distinfo  |  3 +++
 sysutils/linux-miniconda-installer/pkg-descr | 17 +++++++++++++++++
 4 files changed, 48 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 32af6f4f7f89..a436b23e9871 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -608,6 +608,7 @@
     SUBDIR += linux-c7-lttng-ust
     SUBDIR += linux-c7-numactl-libs
     SUBDIR += linux-c7-userspace-rcu
+    SUBDIR += linux-miniconda-installer
     SUBDIR += linux-rkbin
     SUBDIR += linuxfdisk
     SUBDIR += lizardfs
diff --git a/sysutils/linux-miniconda-installer/Makefile b/sysutils/linux-miniconda-installer/Makefile
new file mode 100644
index 000000000000..0ef78ba1af1b
--- /dev/null
+++ b/sysutils/linux-miniconda-installer/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	miniconda-installer
+DISTVERSION=	0.1.0
+CATEGORIES=	sysutils linux
+PKGNAMEPREFIX=	linux-
+
+MAINTAINER=	jwb at FreeBSD.org
+COMMENT=	Aid for installing and using miniconda
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+ONLY_FOR_ARCHS=	amd64
+
+RUN_DEPENDS=	auto-admin>=0.7.2:sysutils/auto-admin
+
+USES=		linux python:3.8
+USE_GITHUB=	yes
+
+GH_ACCOUNT=	outpaddling
+NO_BUILD=	yes
+PLIST_FILES=	bin/miniconda-installer bin/conda-shell
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/miniconda-installer ${WRKSRC}/conda-shell \
+		${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/sysutils/linux-miniconda-installer/distinfo b/sysutils/linux-miniconda-installer/distinfo
new file mode 100644
index 000000000000..cf2dcdcdcca8
--- /dev/null
+++ b/sysutils/linux-miniconda-installer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1618589744
+SHA256 (outpaddling-miniconda-installer-0.1.0_GH0.tar.gz) = 60d99e614aa9a89ec538ae21d08f09fc055284254d771a18bc271df5df259a85
+SIZE (outpaddling-miniconda-installer-0.1.0_GH0.tar.gz) = 2434
diff --git a/sysutils/linux-miniconda-installer/pkg-descr b/sysutils/linux-miniconda-installer/pkg-descr
new file mode 100644
index 000000000000..77ed7f4a4c2c
--- /dev/null
+++ b/sysutils/linux-miniconda-installer/pkg-descr
@@ -0,0 +1,17 @@
+Conda, like pip and CRAN, is a popular system that allows non-root users to
+install many binary software packages in their own directories.  The system
+includes a base "channel" (repository) as well as 3rd party community
+channels, such as "bioconda".  QC for community channels is generally below
+that of the base channel and FreeBSD ports, but they provide users with a
+convenient way to install software not yet available in FreeBSD ports.
+
+Packages are available for Linux, MacOS, and Windows.  Linux Conda packages
+work about as well on FreeBSD as they do on CentOS, which is the basis of
+FreeBSD's Linux compatibility tool set.  However, Conda and its packages
+require a complete Linux environment for full functionality.
+
+Typical Conda users do not know how to configure this environment on FreeBSD.
+Miniconda-installer ensures a proper environment for installing and using
+Miniconda and the packages it provides.
+
+WWW: https://github.com/outpaddling/miniconda-installer


More information about the dev-commits-ports-all mailing list