summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 04:04:30 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 04:04:30 +0000
commit3b8e15a2c30fb9550958838f249b2f66244a9f4c (patch)
tree9bfc9db8ee173bdad57a4503f1ff90e03437a4be
parentaba6465a3cc0e31e69a881ec8a39532bc6619db9 (diff)
automatic import of python-pycollector
-rw-r--r--.gitignore1
-rw-r--r--python-pycollector.spec88
-rw-r--r--sources1
3 files changed, 90 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..28fd8c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pycollector-0.4.6.tar.gz
diff --git a/python-pycollector.spec b/python-pycollector.spec
new file mode 100644
index 0000000..83118b8
--- /dev/null
+++ b/python-pycollector.spec
@@ -0,0 +1,88 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pycollector
+Version: 0.4.6
+Release: 1
+Summary: Visym Collector
+License: GNU General Public License v3 (GPLv3)
+URL: https://github.com/visym/collector
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/12/7e/007ddf1e44fcf2313ed6317d7ff499d0dfc328091db863fdd84b85c41bb3/pycollector-0.4.6.tar.gz
+BuildArch: noarch
+
+Requires: python3-vipy
+Requires: python3-heyvi
+Requires: python3-dask
+Requires: python3-distributed
+Requires: python3-boto3
+Requires: python3-pandas
+Requires: python3-torch
+Requires: python3-torchvision
+Requires: python3-pytorch-lightning
+Requires: python3-ujson
+
+%description
+Visym Collector Python Tools for Live Visual Datasets
+
+
+
+%package -n python3-pycollector
+Summary: Visym Collector
+Provides: python-pycollector
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pycollector
+Visym Collector Python Tools for Live Visual Datasets
+
+
+
+%package help
+Summary: Development documents and examples for pycollector
+Provides: python3-pycollector-doc
+%description help
+Visym Collector Python Tools for Live Visual Datasets
+
+
+
+%prep
+%autosetup -n pycollector-0.4.6
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-pycollector -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.6-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..378248c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+cdcfaa702cac43ff6873c8c175a502fc pycollector-0.4.6.tar.gz