dev-python/conda: version bump
This commit is contained in:
1 parent
ae41059f80
commit
98943b9e1c
3 files changed
+57
-1
No files matched your search
@@ -1 +1 @@
|
||||
DIST conda-4.14.0.tar.gz 21595189 BLAKE2B 3b0301034a97211c7472f4aa4f005285e36aee3940c6d36de28a2f581f84506c415f310d1715a38af832fed5a61f8458977f035f7da1532e486dce65855d1338 SHA512 4070e7670b3adde45e30a5f1194f0e99a76be465bf6ee54f340c142f7dcb090b091a97aa58cd02210f3194137602d3b29670f69083dda6e276ea5d08bf5a22cf
|
||||
DIST conda-22.9.0.tar.gz 21558230 BLAKE2B 3eed09fd8b8b1e43d274e53d0272d554b93394d40c2e84303d430e760dad9141917ddb5bcac21343b57cd95bd888fbf6d7f39f2237f9a39639729516ea5965a9 SHA512 67fab87ab081d83fb3bf0f4516f428dfc3db13ff678e5915dc48e91b123a79c7b8757b5fe010998ee2671ad0e74fe366471333b316df66c25a842eb8b9250ca1
|
||||
@@ -0,0 +1,56 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="OS-agnostic, system-level binary package manager and ecosystem"
|
||||
HOMEPAGE="https://conda.io/"
|
||||
SRC_URI="https://github.com/conda/conda/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-vcs/git
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
||||
dev-python/toolz[${PYTHON_USEDEP}]
|
||||
dev-python/conda-package-handling[${PYTHON_USEDEP}]
|
||||
dev-python/pycosat[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
IUSE="+user"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
echo ${PV} > conda/.version || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
rm "${ED}/usr/bin/conda" || die
|
||||
cp "${S}/conda/shell/bin/conda" "${ED}/usr/bin/conda" || die
|
||||
# no need for Python Byte compiling and multi python slot, please do not use python_doscript
|
||||
# this ebuild just use one stable python target
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use user ; then
|
||||
insinto /etc/conda
|
||||
doins "${FILESDIR}/condarc"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Initialize conda for shell interaction, "
|
||||
elog "run 'conda init shells' "
|
||||
elog "Currently compatible shells are {bash, fish, powershell, tcsh, xonsh, zsh}"
|
||||
elog "base environment is managed by portage, do not use conda in base env!"
|
||||
}
|
||||
File renamed without changes.
Reference in new issue
Block a user