summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 12:44:53 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 12:44:53 +0000
commite8f8d781ebf36e2c64c24ee120ef7311f2b35fbc (patch)
tree56d2877df2fcef58a9f1ffcae04c327edaec1a3a
parentb71b983d2d39f51a8a68e774664af57f7a04683d (diff)
automatic import of python-geoanalyticsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-geoanalytics.spec130
-rw-r--r--sources1
3 files changed, 132 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3b6fd06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/geoAnalytics-2022.7.27.tar.gz
diff --git a/python-geoanalytics.spec b/python-geoanalytics.spec
new file mode 100644
index 0000000..0c57585
--- /dev/null
+++ b/python-geoanalytics.spec
@@ -0,0 +1,130 @@
+%global _empty_manifest_terminate_build 0
+Name: python-geoAnalytics
+Version: 2022.7.27
+Release: 1
+Summary: This software is being developed at the University of Aizu, Aizu-Wakamatsu, Fukushima, Japan
+License: GPLv3
+URL: https://github.com/udayRage/geoAnalytics
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c6/1a/28819f027d6f535aa54ad9cf1a21f2fa3591c28402635434f060595536f1/geoAnalytics-2022.7.27.tar.gz
+BuildArch: noarch
+
+Requires: python3-psutil
+Requires: python3-pandas
+Requires: python3-matplotlib
+Requires: python3-resource
+Requires: python3-validators
+Requires: python3-urllib3
+Requires: python3-psycopg2-binary
+
+%description
+# geoAnalytics
+
+## Installation using Anaconda.
+
+1. Install and set up Anaconda. URL: https://linuxize.com/post/how-to-install-anaconda-on-centos-7
+2. Create a virtual environment using conda. E.g., coda create --name geoAnalytics
+3. Enter into virtual environment. E.g., conda activate geoAnalytics
+4. Install python. E.g., conda install python
+5. Install pycharm from the website
+6. Open Pycharm and using VCS download the latest copy of geoAnalytics from GitHub
+7. In the pycharm, add geoAnalytics as the interpreter
+8. Open the terminal in pycharm, and execute the following command
+
+ pip install mplcursors matplotlib sklearn pandas
+
+
+
+
+
+%package -n python3-geoAnalytics
+Summary: This software is being developed at the University of Aizu, Aizu-Wakamatsu, Fukushima, Japan
+Provides: python-geoAnalytics
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-geoAnalytics
+# geoAnalytics
+
+## Installation using Anaconda.
+
+1. Install and set up Anaconda. URL: https://linuxize.com/post/how-to-install-anaconda-on-centos-7
+2. Create a virtual environment using conda. E.g., coda create --name geoAnalytics
+3. Enter into virtual environment. E.g., conda activate geoAnalytics
+4. Install python. E.g., conda install python
+5. Install pycharm from the website
+6. Open Pycharm and using VCS download the latest copy of geoAnalytics from GitHub
+7. In the pycharm, add geoAnalytics as the interpreter
+8. Open the terminal in pycharm, and execute the following command
+
+ pip install mplcursors matplotlib sklearn pandas
+
+
+
+
+
+%package help
+Summary: Development documents and examples for geoAnalytics
+Provides: python3-geoAnalytics-doc
+%description help
+# geoAnalytics
+
+## Installation using Anaconda.
+
+1. Install and set up Anaconda. URL: https://linuxize.com/post/how-to-install-anaconda-on-centos-7
+2. Create a virtual environment using conda. E.g., coda create --name geoAnalytics
+3. Enter into virtual environment. E.g., conda activate geoAnalytics
+4. Install python. E.g., conda install python
+5. Install pycharm from the website
+6. Open Pycharm and using VCS download the latest copy of geoAnalytics from GitHub
+7. In the pycharm, add geoAnalytics as the interpreter
+8. Open the terminal in pycharm, and execute the following command
+
+ pip install mplcursors matplotlib sklearn pandas
+
+
+
+
+
+%prep
+%autosetup -n geoAnalytics-2022.7.27
+
+%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-geoAnalytics -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2022.7.27-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1899c04
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+2c60ec41645903a7411aaca087a456d6 geoAnalytics-2022.7.27.tar.gz