summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 15:46:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 15:46:04 +0000
commit3e0d21727b4e038dd0177c991cc06c3840856e03 (patch)
treeb807f6c4ff91f1f267d1e04d2a0400cf2ed107aa
parent44bfdf0429335aef897992fffd93a852ee1ee263 (diff)
automatic import of python-pypet
-rw-r--r--.gitignore1
-rw-r--r--python-pypet.spec75
-rw-r--r--sources1
3 files changed, 77 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..62c6869 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pypet-0.6.1.tar.gz
diff --git a/python-pypet.spec b/python-pypet.spec
new file mode 100644
index 0000000..698e9b9
--- /dev/null
+++ b/python-pypet.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pypet
+Version: 0.6.1
+Release: 1
+Summary: A toolkit for numerical simulations to allow easy parameter exploration and storage of results.
+License: BSD
+URL: https://github.com/SmokinCaterpillar/pypet
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9e/d0/437d017d2f9bd5d8c0cb421a5561fd45f33103a36baa98325ec2defed2b0/pypet-0.6.1.tar.gz
+BuildArch: noarch
+
+
+%description
+A toolkit for numerical simulations to allow easy parameter exploration and storage of results.
+
+
+%package -n python3-pypet
+Summary: A toolkit for numerical simulations to allow easy parameter exploration and storage of results.
+Provides: python-pypet
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pypet
+A toolkit for numerical simulations to allow easy parameter exploration and storage of results.
+
+
+%package help
+Summary: Development documents and examples for pypet
+Provides: python3-pypet-doc
+%description help
+A toolkit for numerical simulations to allow easy parameter exploration and storage of results.
+
+
+%prep
+%autosetup -n pypet-0.6.1
+
+%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-pypet -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..72b2fdc
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+43aa03989eda9f16c14caa6756a1b263 pypet-0.6.1.tar.gz