summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 12:50:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 12:50:14 +0000
commit992cd1f15de8ff596ee243222024b7d423c20976 (patch)
tree1273f237d197605fb7a6eaf9651874bdaad1eaf6
parentdf524ad26ae3a95f329255afb7c44b314c130b0e (diff)
automatic import of python-pyspread
-rw-r--r--.gitignore1
-rw-r--r--python-pyspread.spec370
-rw-r--r--sources1
3 files changed, 372 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..2043e75 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyspread-2.2.1.tar.gz
diff --git a/python-pyspread.spec b/python-pyspread.spec
new file mode 100644
index 0000000..30df5eb
--- /dev/null
+++ b/python-pyspread.spec
@@ -0,0 +1,370 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pyspread
+Version: 2.2.1
+Release: 1
+Summary: Pyspread is a non-traditional spreadsheet application that is based on and written in the programming language Python.
+License: GPL v3 :: GNU General Public License
+URL: https://pyspread.gitlab.io
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3c/0c/03d70b4c8ebc42794f552af972da12c6240a79892cca6c4f7bded9ffcb7a/pyspread-2.2.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-matplotlib
+Requires: python3-pip
+Requires: python3-plotnine
+Requires: python3-py-moneyed
+Requires: python3-pyenchant
+Requires: python3-dateutil
+Requires: python3-rpy2
+
+%description
+# pyspread
+
+[![pypi version](https://img.shields.io/pypi/v/pyspread.svg)](https://pypi.python.org/pypi/pyspread)
+[![CI pipeline](https://gitlab.com/pyspread/pyspread/badges/master/pipeline.svg)](https://gitlab.com/pyspread/pyspread/-/pipelines?page=1&scope=branches&ref=master)
+[![pyspread community board](https://badges.gitter.im/pyspread/community.svg)](https://gitter.im/pyspread/community)
+
+**pyspread** is a non-traditional spreadsheet that is
+based on and written in the programming language Python.
+
+It is released under the [GPL v3. LICENSE](LICENSE)
+
+- Homepage: https://pyspread.gitlab.io/
+- Repository: https://gitlab.com/pyspread/pyspread
+- API Docs: https://pyspread.gitlab.io/pyspread/
+
+
+# Installation
+
+The table below shows for which operating systems, pyspread is available in which version.
+If pyspread is unavailable or outdated for your operating system, you can install it using one of the three methods below.
+
+![Packaged](https://repology.org/badge/vertical-allrepos/pyspread.svg?header&columns=4)
+
+### With pip
+
+```bash
+pip install pyspread
+```
+
+### From git
+
+It is assumed that python3 and git are installed.
+
+**Get sources and enter dir**
+```bash
+git clone https://gitlab.com/pyspread/pyspread.git
+# or
+git clone git@gitlab.com:pyspread/pyspread.git
+# then
+cd pyspread
+```
+
+**Install dependencies and pyspread**
+```bash
+pip3 install -r requirements.txt
+# or if pip3 is not present
+pip install -r requirements.txt
+# next
+python3 setup.py install
+```
+
+## Getting the bleeding edge version from the code repository
+
+Note that there may unfixed bugs if you use the latest repository version.
+You may want to check the CI, which comprises unit tests at
+`https://gitlab.com/pyspread/pyspread/pipelines`.
+
+Get the latest tarball or zip at https://gitlab.com/pyspread/pyspread or
+clone the git repo at `https://gitlab.com/pyspread/pyspread.git`
+
+# Starting pyspread
+
+With an installation via pip, distutils or your OS's installer, simply run
+```
+$ pyspread
+```
+from any directory.
+
+In order to start pyspread without installation directly from the cloned
+repository or the extracted tarball or zip, run
+```
+$ ./pyspread/pyspread.py
+```
+or
+```
+$ python -m pyspread
+```
+inside the top directory.
+
+# Contribute
+
+## Issues
+
+Please submit issues in the gitlab issue tracker at
+- https://gitlab.com/pyspread/pyspread/issues
+
+## Code
+
+Commit your changes, push them into your fork and send a pull request.
+
+This page gives an overview how to do this:
+- https://help.github.com/articles/fork-a-repo
+
+You can find more more details about code organization at
+- https://pyspread.gitlab.io/pyspread/
+
+
+
+
+%package -n python3-pyspread
+Summary: Pyspread is a non-traditional spreadsheet application that is based on and written in the programming language Python.
+Provides: python-pyspread
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pyspread
+# pyspread
+
+[![pypi version](https://img.shields.io/pypi/v/pyspread.svg)](https://pypi.python.org/pypi/pyspread)
+[![CI pipeline](https://gitlab.com/pyspread/pyspread/badges/master/pipeline.svg)](https://gitlab.com/pyspread/pyspread/-/pipelines?page=1&scope=branches&ref=master)
+[![pyspread community board](https://badges.gitter.im/pyspread/community.svg)](https://gitter.im/pyspread/community)
+
+**pyspread** is a non-traditional spreadsheet that is
+based on and written in the programming language Python.
+
+It is released under the [GPL v3. LICENSE](LICENSE)
+
+- Homepage: https://pyspread.gitlab.io/
+- Repository: https://gitlab.com/pyspread/pyspread
+- API Docs: https://pyspread.gitlab.io/pyspread/
+
+
+# Installation
+
+The table below shows for which operating systems, pyspread is available in which version.
+If pyspread is unavailable or outdated for your operating system, you can install it using one of the three methods below.
+
+![Packaged](https://repology.org/badge/vertical-allrepos/pyspread.svg?header&columns=4)
+
+### With pip
+
+```bash
+pip install pyspread
+```
+
+### From git
+
+It is assumed that python3 and git are installed.
+
+**Get sources and enter dir**
+```bash
+git clone https://gitlab.com/pyspread/pyspread.git
+# or
+git clone git@gitlab.com:pyspread/pyspread.git
+# then
+cd pyspread
+```
+
+**Install dependencies and pyspread**
+```bash
+pip3 install -r requirements.txt
+# or if pip3 is not present
+pip install -r requirements.txt
+# next
+python3 setup.py install
+```
+
+## Getting the bleeding edge version from the code repository
+
+Note that there may unfixed bugs if you use the latest repository version.
+You may want to check the CI, which comprises unit tests at
+`https://gitlab.com/pyspread/pyspread/pipelines`.
+
+Get the latest tarball or zip at https://gitlab.com/pyspread/pyspread or
+clone the git repo at `https://gitlab.com/pyspread/pyspread.git`
+
+# Starting pyspread
+
+With an installation via pip, distutils or your OS's installer, simply run
+```
+$ pyspread
+```
+from any directory.
+
+In order to start pyspread without installation directly from the cloned
+repository or the extracted tarball or zip, run
+```
+$ ./pyspread/pyspread.py
+```
+or
+```
+$ python -m pyspread
+```
+inside the top directory.
+
+# Contribute
+
+## Issues
+
+Please submit issues in the gitlab issue tracker at
+- https://gitlab.com/pyspread/pyspread/issues
+
+## Code
+
+Commit your changes, push them into your fork and send a pull request.
+
+This page gives an overview how to do this:
+- https://help.github.com/articles/fork-a-repo
+
+You can find more more details about code organization at
+- https://pyspread.gitlab.io/pyspread/
+
+
+
+
+%package help
+Summary: Development documents and examples for pyspread
+Provides: python3-pyspread-doc
+%description help
+# pyspread
+
+[![pypi version](https://img.shields.io/pypi/v/pyspread.svg)](https://pypi.python.org/pypi/pyspread)
+[![CI pipeline](https://gitlab.com/pyspread/pyspread/badges/master/pipeline.svg)](https://gitlab.com/pyspread/pyspread/-/pipelines?page=1&scope=branches&ref=master)
+[![pyspread community board](https://badges.gitter.im/pyspread/community.svg)](https://gitter.im/pyspread/community)
+
+**pyspread** is a non-traditional spreadsheet that is
+based on and written in the programming language Python.
+
+It is released under the [GPL v3. LICENSE](LICENSE)
+
+- Homepage: https://pyspread.gitlab.io/
+- Repository: https://gitlab.com/pyspread/pyspread
+- API Docs: https://pyspread.gitlab.io/pyspread/
+
+
+# Installation
+
+The table below shows for which operating systems, pyspread is available in which version.
+If pyspread is unavailable or outdated for your operating system, you can install it using one of the three methods below.
+
+![Packaged](https://repology.org/badge/vertical-allrepos/pyspread.svg?header&columns=4)
+
+### With pip
+
+```bash
+pip install pyspread
+```
+
+### From git
+
+It is assumed that python3 and git are installed.
+
+**Get sources and enter dir**
+```bash
+git clone https://gitlab.com/pyspread/pyspread.git
+# or
+git clone git@gitlab.com:pyspread/pyspread.git
+# then
+cd pyspread
+```
+
+**Install dependencies and pyspread**
+```bash
+pip3 install -r requirements.txt
+# or if pip3 is not present
+pip install -r requirements.txt
+# next
+python3 setup.py install
+```
+
+## Getting the bleeding edge version from the code repository
+
+Note that there may unfixed bugs if you use the latest repository version.
+You may want to check the CI, which comprises unit tests at
+`https://gitlab.com/pyspread/pyspread/pipelines`.
+
+Get the latest tarball or zip at https://gitlab.com/pyspread/pyspread or
+clone the git repo at `https://gitlab.com/pyspread/pyspread.git`
+
+# Starting pyspread
+
+With an installation via pip, distutils or your OS's installer, simply run
+```
+$ pyspread
+```
+from any directory.
+
+In order to start pyspread without installation directly from the cloned
+repository or the extracted tarball or zip, run
+```
+$ ./pyspread/pyspread.py
+```
+or
+```
+$ python -m pyspread
+```
+inside the top directory.
+
+# Contribute
+
+## Issues
+
+Please submit issues in the gitlab issue tracker at
+- https://gitlab.com/pyspread/pyspread/issues
+
+## Code
+
+Commit your changes, push them into your fork and send a pull request.
+
+This page gives an overview how to do this:
+- https://help.github.com/articles/fork-a-repo
+
+You can find more more details about code organization at
+- https://pyspread.gitlab.io/pyspread/
+
+
+
+
+%prep
+%autosetup -n pyspread-2.2.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-pyspread -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d5f8aa4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+dfec04694e9e9f74687950972ed43e17 pyspread-2.2.1.tar.gz