summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 00:55:59 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 00:55:59 +0000
commitb65deca8ae8cb58ff44934d8fd3f2c8f9d92119e (patch)
tree99706f815c91c3872cc24e9de8e86f417c1899d8
parentf2d1bbe01e536e1da3251edb3839c05284e6514f (diff)
automatic import of python-ezdxf
-rw-r--r--.gitignore1
-rw-r--r--python-ezdxf.spec105
-rw-r--r--sources1
3 files changed, 107 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..08c9b9d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ezdxf-1.0.3.zip
diff --git a/python-ezdxf.spec b/python-ezdxf.spec
new file mode 100644
index 0000000..6b34329
--- /dev/null
+++ b/python-ezdxf.spec
@@ -0,0 +1,105 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ezdxf
+Version: 1.0.3
+Release: 1
+Summary: A Python package to create/manipulate DXF drawings.
+License: MIT License
+URL: https://ezdxf.mozman.at
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cd/40/5be5f10bb2ed12f4946d64d53d03ba74f617ef558e143e48bd8fd0894ece/ezdxf-1.0.3.zip
+
+Requires: python3-pyparsing
+Requires: python3-typing-extensions
+Requires: python3-matplotlib
+Requires: python3-PySide6
+Requires: python3-Pillow
+Requires: python3-setuptools
+Requires: python3-wheel
+Requires: python3-Cython
+Requires: python3-pytest
+Requires: python3-geomdl
+Requires: python3-matplotlib
+Requires: python3-PyQt5
+Requires: python3-Pillow
+Requires: python3-setuptools
+Requires: python3-wheel
+Requires: python3-Cython
+Requires: python3-pytest
+Requires: python3-geomdl
+Requires: python3-setuptools
+Requires: python3-wheel
+Requires: python3-Cython
+Requires: python3-pytest
+Requires: python3-geomdl
+Requires: python3-matplotlib
+Requires: python3-PySide6
+Requires: python3-Pillow
+Requires: python3-matplotlib
+Requires: python3-PyQt5
+Requires: python3-Pillow
+Requires: python3-pytest
+Requires: python3-geomdl
+
+%description
+
+
+%package -n python3-ezdxf
+Summary: A Python package to create/manipulate DXF drawings.
+Provides: python-ezdxf
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-ezdxf
+
+
+%package help
+Summary: Development documents and examples for ezdxf
+Provides: python3-ezdxf-doc
+%description help
+
+
+%prep
+%autosetup -n ezdxf-1.0.3
+
+%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-ezdxf -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7704773
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1fc6a47e2c042e529db9f023857f3948 ezdxf-1.0.3.zip