summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 07:19:21 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 07:19:21 +0000
commit4a639452036d21efd61d48a45a2ff50c414a39ab (patch)
tree522e39d89803a850d3e2429b2a34ec692e8da05d
parent4a25922bdbefdcaeadc045f1c0473269e9e67039 (diff)
automatic import of python-vrpsolver
-rw-r--r--.gitignore1
-rw-r--r--python-vrpsolver.spec87
-rw-r--r--sources1
3 files changed, 89 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..fb3dc59 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/vrpSolver-0.0.54.tar.gz
diff --git a/python-vrpsolver.spec b/python-vrpsolver.spec
new file mode 100644
index 0000000..2392097
--- /dev/null
+++ b/python-vrpsolver.spec
@@ -0,0 +1,87 @@
+%global _empty_manifest_terminate_build 0
+Name: python-vrpSolver
+Version: 0.0.54
+Release: 1
+Summary: VRP Solver
+License: MIT
+URL: https://github.com/isaac0821/vrpSolver
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c0/7d/5926cdeb4a1234ff609474f8d8ac9590010f4d31bbdd7086c1e704b9fc05/vrpSolver-0.0.54.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-matplotlib
+
+%description
+
+Working project: Learn VRP by coding
+
+
+
+
+%package -n python3-vrpSolver
+Summary: VRP Solver
+Provides: python-vrpSolver
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-vrpSolver
+
+Working project: Learn VRP by coding
+
+
+
+
+%package help
+Summary: Development documents and examples for vrpSolver
+Provides: python3-vrpSolver-doc
+%description help
+
+Working project: Learn VRP by coding
+
+
+
+
+%prep
+%autosetup -n vrpSolver-0.0.54
+
+%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-vrpSolver -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.54-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1773f3d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f5cf5df4b44d91f83e9c1401b8ec92db vrpSolver-0.0.54.tar.gz