summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 06:09:19 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 06:09:19 +0000
commit5b5073ca5c25ce1e320deda74e85e6d959497994 (patch)
treedff8ca2d91be999d80f99c152cb925e6346ec4a9
parenta49f28a7406d16792dfd61d8ccf829f329254755 (diff)
automatic import of python-datajoint
-rw-r--r--.gitignore1
-rw-r--r--python-datajoint.spec88
-rw-r--r--sources1
3 files changed, 90 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..2e02862 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/datajoint-0.14.0.tar.gz
diff --git a/python-datajoint.spec b/python-datajoint.spec
new file mode 100644
index 0000000..40774e8
--- /dev/null
+++ b/python-datajoint.spec
@@ -0,0 +1,88 @@
+%global _empty_manifest_terminate_build 0
+Name: python-datajoint
+Version: 0.14.0
+Release: 1
+Summary: A relational data pipeline framework.
+License: GNU LGPL
+URL: https://datajoint.com
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f4/ca/5760e09f25ed93a55cf77532886dc61357ba5afc5a5668783aab71871e48/datajoint-0.14.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-pymysql
+Requires: python3-pyparsing
+Requires: python3-ipython
+Requires: python3-pandas
+Requires: python3-tqdm
+Requires: python3-networkx
+Requires: python3-pydot
+Requires: python3-minio
+Requires: python3-matplotlib
+Requires: python3-cryptography
+Requires: python3-otumat
+Requires: python3-urllib3
+
+%description
+A relational data framework for scientific data pipelines with MySQL backend.
+
+
+%package -n python3-datajoint
+Summary: A relational data pipeline framework.
+Provides: python-datajoint
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-datajoint
+A relational data framework for scientific data pipelines with MySQL backend.
+
+
+%package help
+Summary: Development documents and examples for datajoint
+Provides: python3-datajoint-doc
+%description help
+A relational data framework for scientific data pipelines with MySQL backend.
+
+
+%prep
+%autosetup -n datajoint-0.14.0
+
+%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-datajoint -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.14.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..480ba8d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+47a6f48d7ecb7614de66284ea4b54581 datajoint-0.14.0.tar.gz