commit:     fdff63042066d3b81a067cc860e349c5bcd0b901
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  8 16:17:49 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Apr  8 16:17:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdff6304

sci-ml/fastai: new package, add 2.7.19

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/fastai/Manifest             |  1 +
 sci-ml/fastai/fastai-2.7.19.ebuild | 25 +++++++++++++++++++++++++
 sci-ml/fastai/metadata.xml         | 12 ++++++++++++
 3 files changed, 38 insertions(+)

diff --git a/sci-ml/fastai/Manifest b/sci-ml/fastai/Manifest
new file mode 100644
index 000000000000..ea593c0e1ee2
--- /dev/null
+++ b/sci-ml/fastai/Manifest
@@ -0,0 +1 @@
+DIST fastai-2.7.19.tar.gz 216774 BLAKE2B 
bdebc2a7867141437707b6141990655dc4a52ddc6858083ea61fa7cbcbd6e0f1f4ba30cff18c84000e33db5bf90531707f366ba8741340d15a6f2183566f2f4d
 SHA512 
1f1797859aeaa823009c9b4a0530737573a9dc97b37b7f8f515af5ee805bc3e778c20781b57040f164b921e2df8ca33141b00ccd32f3d6f9cc81dd8a55910dd9

diff --git a/sci-ml/fastai/fastai-2.7.19.ebuild 
b/sci-ml/fastai/fastai-2.7.19.ebuild
new file mode 100644
index 000000000000..b0025d449330
--- /dev/null
+++ b/sci-ml/fastai/fastai-2.7.19.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+inherit distutils-r1 pypi
+
+DESCRIPTION="The fastai deep learning library"
+HOMEPAGE="https://www.fast.ai/";
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test" # No test available
+
+RDEPEND="
+       sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}]
+       $(python_gen_cond_dep '
+               sci-ml/fastcore[${PYTHON_USEDEP}]
+               sci-ml/fastdownload[${PYTHON_USEDEP}]
+               sci-ml/fastprogress[${PYTHON_USEDEP}]
+       ')
+"

diff --git a/sci-ml/fastai/metadata.xml b/sci-ml/fastai/metadata.xml
new file mode 100644
index 000000000000..e90c81240a1c
--- /dev/null
+++ b/sci-ml/fastai/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Alfredo Tupone</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">fastai/fastai</remote-id>
+               <remote-id type="pypi">fastai</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to