summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 05:16:21 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 05:16:21 +0000
commit7bc03dda1d7438591ae346d92c5c56a655c1c14e (patch)
treef7e165173754c72c8548796db374133e28bd8827
parent955bbc88ea50358c34191dee60d8a56889d3198d (diff)
automatic import of python-lab-assistant-utilsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-lab-assistant-utils.spec85
-rw-r--r--sources1
3 files changed, 87 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d17b4ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lab-assistant-utils-0.5.23.tar.gz
diff --git a/python-lab-assistant-utils.spec b/python-lab-assistant-utils.spec
new file mode 100644
index 0000000..3543389
--- /dev/null
+++ b/python-lab-assistant-utils.spec
@@ -0,0 +1,85 @@
+%global _empty_manifest_terminate_build 0
+Name: python-lab-assistant-utils
+Version: 0.5.23
+Release: 1
+Summary: Lab Assistant Utilities
+License: MIT License
+URL: https://github.com/enclarify/lab-assistant
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7c/1d/814eb1d777e505aab36a04dc929b4ac7a97b7248b34a8d62e8cc6c1e9f43/lab-assistant-utils-0.5.23.tar.gz
+BuildArch: noarch
+
+Requires: python3-pytz
+Requires: python3-click
+Requires: python3-docker
+Requires: python3-importlib-metadata
+Requires: python3-astpretty
+Requires: python3-ipykernel
+Requires: python3-docstring-parser
+
+%description
+# Supporting utilities to create a lab-assistant compatible project
+
+
+
+%package -n python3-lab-assistant-utils
+Summary: Lab Assistant Utilities
+Provides: python-lab-assistant-utils
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-lab-assistant-utils
+# Supporting utilities to create a lab-assistant compatible project
+
+
+
+%package help
+Summary: Development documents and examples for lab-assistant-utils
+Provides: python3-lab-assistant-utils-doc
+%description help
+# Supporting utilities to create a lab-assistant compatible project
+
+
+
+%prep
+%autosetup -n lab-assistant-utils-0.5.23
+
+%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-lab-assistant-utils -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.23-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..428cc69
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+2b4d09a419f74326176866da868dfea1 lab-assistant-utils-0.5.23.tar.gz