summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 05:50:52 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 05:50:52 +0000
commitab0dc59d690820724fb0f9c1ba51b701e411185a (patch)
tree7f999db0318f70eacaaf78de5ebab80003a2ad11
parent3bf8da4a6df7a75edf7fda3e47a0ade80367a4a4 (diff)
automatic import of python-pymcubesopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-pymcubes.spec83
-rw-r--r--sources1
3 files changed, 85 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b99bab8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PyMCubes-0.1.4.tar.gz
diff --git a/python-pymcubes.spec b/python-pymcubes.spec
new file mode 100644
index 0000000..387303f
--- /dev/null
+++ b/python-pymcubes.spec
@@ -0,0 +1,83 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PyMCubes
+Version: 0.1.4
+Release: 1
+Summary: Marching cubes for Python
+License: BSD 3-clause
+URL: https://github.com/pmneila/PyMCubes
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/22/4a/fd2e95b1a2010d2a21c071313472f8d7e66cb8cb3351cef1b83c5ebb7cbe/PyMCubes-0.1.4.tar.gz
+
+
+%description
+
+ Marching cubes for Python
+
+
+
+%package -n python3-PyMCubes
+Summary: Marching cubes for Python
+Provides: python-PyMCubes
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-PyMCubes
+
+ Marching cubes for Python
+
+
+
+%package help
+Summary: Development documents and examples for PyMCubes
+Provides: python3-PyMCubes-doc
+%description help
+
+ Marching cubes for Python
+
+
+
+%prep
+%autosetup -n PyMCubes-0.1.4
+
+%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-PyMCubes -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..548d369
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+09d8fdc133440f1eda8f0aa6292c0c7c PyMCubes-0.1.4.tar.gz