View previous topic :: View next topic |
Author |
Message |
UlvHare n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Sep 2015 Posts: 24 Location: USSR
|
Posted: Mon Feb 03, 2025 10:59 am Post subject: [CLOSED] EcoAssist ebuild |
|
|
For my work I really need EcoAssist, but it has only very strange Linux installer, absolutely incompatible with Gentoo (see this).
Maybe anybody can write an ebuild for that stuff? As for tensorflow dependency, which is orphaned, I ask the author whether it strict, maybe pytorch is enough for work.
Last edited by UlvHare on Sat Feb 08, 2025 5:51 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UlvHare n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Sep 2015 Posts: 24 Location: USSR
|
Posted: Wed Feb 05, 2025 5:33 pm Post subject: |
|
|
There are some ideas here, but I understand that it is insufficient:
Code: |
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_EXT=1
inherit distutils-r1 prefix python-single-r1 git-r3
DESCRIPTION="EcoAssist is a Python application for ecological data analysis."
HOMEPAGE="https://github.com/PetervanLunteren/EcoAssist"
SRC_URI="https://github.com/PetervanLunteren/EcoAssist/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
net-misc/curl
x11-libs/libxcb
sci-geosciences/folium
dev-python/pyqt6[${PYTHON_USEDEP}]
dev-python/opencv-python[${PYTHON_USEDEP}]
dev-python/pytorch[${PYTHON_USEDEP}]
sci-libs/torchvision[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/scikit-learn[${PYTHON_USEDEP}]
dev-python/qt-range-slider
dev-python/gpsphoto
dev-python/exifread
dev-python/piexif
dev-python/openpyxl
dev-python/customtkinter
dev-python/CTkTable
dev-python/plotly
dev-python/gitpython>=3.1.30
dev-python/tensorboard>=2.4.1
dev-python/thop>=0.1.1
dev-python/pyside[${PYTHON_USEDEP}]
dev-python/humanfriendly>=10.0
dev-python/jsonpickle
dev-python/timm
dev-python/dill
dev-python/PytorchWildlife
"
DEPEND="${RDEPEND}"
src_unpack() {
default
mv "${WORKDIR}/EcoAssist-${PV}" "${S}" || die
}
src_install() {
python_domodule *
domenu ecoassist.desktop
dosym /usr/share/ecoassist/EcoAssist_GUI.py /usr/bin/ecoassist
}
|
A half of dependencies are out or portage tree but there are in https://github.com/gentoo-mirror/pypi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UlvHare n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Sep 2015 Posts: 24 Location: USSR
|
Posted: Sat Feb 08, 2025 6:01 am Post subject: |
|
|
Deeper exploring the sources I've now understood that there is no need for such ebuild. EcoAssist uses Anaconda and various venvs and doesn't integrates in a system.
So I'm closing this topic. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|