summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-03-31 13:41:30 +0000
committerCoprDistGit <infra@openeuler.org>2024-03-31 13:41:30 +0000
commitb0e459a7d55463dab0a563f7620b2d05fbbc723f (patch)
tree19dd1c6d71b4b13151fb20d13a71c5c3d74f73f1
parentc3ab270cfeb917f2e9e9afab3ea1b987b45fafac (diff)
automatic import of pytorchvideoopeneuler23.09
-rw-r--r--.gitignore1
-rw-r--r--pytorchvideo.spec55
-rw-r--r--sources1
3 files changed, 57 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..880f40b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/0.1.3.tar.gz
diff --git a/pytorchvideo.spec b/pytorchvideo.spec
new file mode 100644
index 0000000..6742fef
--- /dev/null
+++ b/pytorchvideo.spec
@@ -0,0 +1,55 @@
+%global _empty_manifest_terminate_build 0
+%global _unpackaged_files_terminate_build 0
+
+Name: pytorchvideo
+Version: 0.1.3
+Release: 1%{?dist}
+Summary: %{name} is a torch ecosystem tools
+License: MIT
+URL: https://pytorchvideo.org
+Source0: https://github.com/facebookresearch/%{name}/archive/refs/tags/%{version}.tar.gz
+
+%description
+A deep learning library for video understanding research.
+
+# pkg section 1
+%package -n python3-pytorchvideo
+Summary: A deep learning library for video understanding research.
+Provides: python-pytorchvideo
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools_scm
+BuildRequires: python3-rpm-macros
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-hatchling
+
+# use the auto build requires
+%?python_enable_dependency_generator
+
+%description -n python3-pytorchvideo
+A deep learning library for video understanding research.
+
+%package help
+Summary: docs for the pytorchvideo
+Provides: python3-pytorchvideo-doc
+%description help
+description for the doc of the python3-pytorchvideo's usage
+
+%prep
+%autosetup -p1 -n %{name}-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+
+%files -n python3-%{name}
+%doc *.md
+%license LICENSE
+%{python3_sitelib}/%{name}/
+
+%changelog
+* Sun Mar 31 2024 XenoChou <xenochou@qq.com> - 0.1.3-1
+- Support 0.1.3
diff --git a/sources b/sources
new file mode 100644
index 0000000..3dd16c4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+996ee59f9df16ef87c4e8781f0c5858c 0.1.3.tar.gz