summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 08:22:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 08:22:07 +0000
commit2725784e4886e2c04eaf3af914214ed41318a664 (patch)
tree77cdce45912f628ef87ac1744191d2ec9268c62c
parent429baff9cefadae89398121e16fe9b8baf5b7533 (diff)
automatic import of python-aghplctoolsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-aghplctools.spec79
-rw-r--r--sources1
3 files changed, 81 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4233dcf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/aghplctools-4.8.6.tar.gz
diff --git a/python-aghplctools.spec b/python-aghplctools.spec
new file mode 100644
index 0000000..740489e
--- /dev/null
+++ b/python-aghplctools.spec
@@ -0,0 +1,79 @@
+%global _empty_manifest_terminate_build 0
+Name: python-aghplctools
+Version: 4.8.6
+Release: 1
+Summary: Interaction package for Agilent ChemStation report files
+License: Copyright 2019 Lars Yunker / Hein Group Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+URL: https://gitlab.com/heingroup/aghplctools
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/90/46/84a307ecf4f2e331c78b509c3e1535e7016edf74d907f5179f20f5452ba2/aghplctools-4.8.6.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-matplotlib
+Requires: python3-tqdm
+Requires: python3-unithandler
+Requires: python3-openpyxl
+Requires: python3-hein-utilities
+Requires: python3-aston
+
+%description
+
+
+%package -n python3-aghplctools
+Summary: Interaction package for Agilent ChemStation report files
+Provides: python-aghplctools
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-aghplctools
+
+
+%package help
+Summary: Development documents and examples for aghplctools
+Provides: python3-aghplctools-doc
+%description help
+
+
+%prep
+%autosetup -n aghplctools-4.8.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-aghplctools -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 4.8.6-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..c204030
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+193b9fb5babbd6d7c7370184168b51eb aghplctools-4.8.6.tar.gz