summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-14 06:39:10 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-14 06:39:10 +0000
commit78187fb86ac6bd935fa4b663bbcab59a45596ec3 (patch)
treed52484208710ac7475add21ff684eb82fbb15332
parent1f2ea20e09262a97acc43768f5fe021505172f3c (diff)
automatic import of fastai
-rw-r--r--.gitignore1
-rw-r--r--fastai.spec55
-rw-r--r--sources1
3 files changed, 57 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..23d8661 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fastai-2.7.14.tar.gz
diff --git a/fastai.spec b/fastai.spec
new file mode 100644
index 0000000..f174747
--- /dev/null
+++ b/fastai.spec
@@ -0,0 +1,55 @@
+%global _empty_manifest_terminate_build 0
+
+Name: fastai
+Version: 2.7.14
+Release: 1
+Summary: Data validation library for Python
+License: Apache-2.0
+URL: https://pydantic.dev/
+Source0: https://github.com/fastai/fastai/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+Requires: python3 >= 3.8.0
+
+%description
+fastai description
+
+%package -n python3-%{name}
+Summary: Data validation library for Python
+Provides: python-%{name}
+BuildRequires: python3-setuptools
+BuildRequires: python3-packaging
+#BuildRequires: python3-omegaconf
+
+%description -n python3-%{name}
+
+%package help
+Summary: Development documents and examples for pydantic
+Provides: python3-%{name}-doc
+%description help
+python3 accelerate
+
+%prep
+%autosetup -p1 -n %{name}-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+
+%files -n python3-%{name}
+#%doc *.md
+#%doc docs
+%license LICENSE
+%{_bindir}/*
+%{python3_sitelib}/%{name}/*
+%{python3_sitelib}/%{name}-%{version}.dist-info/*
+
+#%files help -f doclist.lst
+#%{_docdir}/*
+
+%changelog
+* Mon Jan 22 2024 menma <1316818279@qq.com> - 0.13.0-1
+- Package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..2af6e52
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0405fdb848764a7ab13b0bf4399f2415 fastai-2.7.14.tar.gz