summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-01-28 14:19:46 +0000
committerCoprDistGit <infra@openeuler.org>2024-01-28 14:19:46 +0000
commit5eea6605a3e58ce9932c99f567715444b5537372 (patch)
tree8db930012e06b61a07749ab322be6dbf3e31828c
parentc69a3a75a43c852e5d5b596e9397ca97da2ade2a (diff)
automatic import of python-fvcoreopeneuler23.09
-rw-r--r--.gitignore1
-rw-r--r--python-fvcore.spec43
-rw-r--r--sources1
3 files changed, 45 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e81f98f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fvcore-0.1.5.post20221221.tar.gz
diff --git a/python-fvcore.spec b/python-fvcore.spec
new file mode 100644
index 0000000..4bf639a
--- /dev/null
+++ b/python-fvcore.spec
@@ -0,0 +1,43 @@
+%global debug_package %{nil}
+
+Name: python-fvcore
+Version: 0.1.5.post20221221
+Release: 1
+Summary: Collection of common code that's shared among different research projects in FAIR computer vision team.
+License: Apache-2.0
+URL: https://github.com/facebookresearch/fvcore
+Source0: https://files.pythonhosted.org/packages/a5/93/d056a9c4efc6c79ba7b5159cc66bb436db93d2cc46dca18ed65c59cc8e4e/fvcore-%{version}.tar.gz
+
+BuildRequires: python3-devel python3-setuptools python3-setuptools_scm gcc
+
+%description
+fvcore is a light-weight core library that provides the most common and essential functionality
+shared in various computer vision frameworks developed in FAIR, such as Detectron2, PySlowFast, and ClassyVision.
+All components in this library are type-annotated, tested, and benchmarked.
+
+%package -n python3-fvcore
+Summary: Collection of common code that's shared among different research projects in FAIR computer vision team.
+
+%{?python_provide:%python_provide python3-fvcore}
+
+%description -n python3-fvcore
+fvcore is a light-weight core library that provides the most common and essential functionality
+shared in various computer vision frameworks developed in FAIR, such as Detectron2, PySlowFast, and ClassyVision.
+All components in this library are type-annotated, tested, and benchmarked.
+
+
+%prep
+%autosetup -n fvcore-%{version} -p1
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%files -n python3-fvcore
+%{python3_sitelib}/*
+
+%changelog
+* Sun Jan 28 2024 Binshuo Zu <274620705z@gmail.com> - 0.1.5-1
+- Package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..eabd116
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e9807aded27a74bf6e5e8a3f08d391fe fvcore-0.1.5.post20221221.tar.gz