summaryrefslogtreecommitdiff
path: root/python-dython.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-dython.spec')
-rw-r--r--python-dython.spec214
1 files changed, 214 insertions, 0 deletions
diff --git a/python-dython.spec b/python-dython.spec
new file mode 100644
index 0000000..d9867ef
--- /dev/null
+++ b/python-dython.spec
@@ -0,0 +1,214 @@
+%global _empty_manifest_terminate_build 0
+Name: python-dython
+Version: 0.7.3
+Release: 1
+Summary: A set of data tools in Python
+License: MIT
+URL: http://shakedzy.xyz/dython
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d6/98/d221ca7a798d917a8550e7a3f1939fe15227ba2469020438c4c43b8772de/dython-0.7.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-seaborn
+Requires: python3-scipy
+Requires: python3-matplotlib
+Requires: python3-scikit-learn
+Requires: python3-scikit-plot
+Requires: python3-psutil
+Requires: python3-pytest[testing]
+Requires: python3-hypothesis
+Requires: python3-black
+Requires: python3-pre-commit
+Requires: python3-pytest-black-multipy
+
+%description
+![banner](http://shakedzy.xyz/dython/images/index_banner.png)
+
+# Dython
+
+[![PyPI Version](https://img.shields.io/pypi/v/dython.svg)](https://pypi.org/project/dython/)
+[![Conda Version](https://img.shields.io/conda/vn/conda-forge/dython)](https://anaconda.org/conda-forge/dython)
+[![Python Version](https://img.shields.io/pypi/pyversions/dython.svg)](https://pypi.org/project/dython/)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/dython)](https://pypistats.org/packages/dython)
+[![License](https://img.shields.io/pypi/l/dython)](https://github.com/shakedzy/dython/blob/master/LICENSE)
+
+A set of **D**ata analysis tools in p**YTHON** 3.x.
+
+Dython was designed with analysis usage in mind - meaning ease-of-use, functionality and readability are the core
+values of this library. Production-grade performance, on the other hand, were not considered.
+
+## Documentation:
+Modules documentation can be found on [shakedzy.xyz/dython](http://shakedzy.xyz/dython)
+
+## Installation:
+Dython can be installed directly using `pip`:
+```
+pip install dython
+```
+Or, via the `conda` package manager:
+```
+conda install -c conda-forge dython
+```
+If you wish to install from source:
+```
+pip install git+https://github.com/shakedzy/dython.git
+```
+
+**Dependencies:** `numpy`, `pandas`, `seaborn`, `scipy`, `matplotlib`, `sklearn`, `scikit-plot`
+
+## Contributing:
+Contributions are always welcomed - if you found something you can fix, or have an idea for a new feature, feel free to write it and open a pull request. Please make sure to go over the [contributions guidelines](https://github.com/shakedzy/dython/blob/master/CONTRIBUTING.md).
+
+## Change log:
+Change log is available, see [CHANGELOG.md](https://github.com/shakedzy/dython/blob/master/CHANGELOG.md).
+
+## Related blogposts:
+Learn more about some of the main methods of this library and their usage on
+[these blogposts](http://shakedzy.xyz/dython/related_blogposts).
+
+
+%package -n python3-dython
+Summary: A set of data tools in Python
+Provides: python-dython
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-dython
+![banner](http://shakedzy.xyz/dython/images/index_banner.png)
+
+# Dython
+
+[![PyPI Version](https://img.shields.io/pypi/v/dython.svg)](https://pypi.org/project/dython/)
+[![Conda Version](https://img.shields.io/conda/vn/conda-forge/dython)](https://anaconda.org/conda-forge/dython)
+[![Python Version](https://img.shields.io/pypi/pyversions/dython.svg)](https://pypi.org/project/dython/)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/dython)](https://pypistats.org/packages/dython)
+[![License](https://img.shields.io/pypi/l/dython)](https://github.com/shakedzy/dython/blob/master/LICENSE)
+
+A set of **D**ata analysis tools in p**YTHON** 3.x.
+
+Dython was designed with analysis usage in mind - meaning ease-of-use, functionality and readability are the core
+values of this library. Production-grade performance, on the other hand, were not considered.
+
+## Documentation:
+Modules documentation can be found on [shakedzy.xyz/dython](http://shakedzy.xyz/dython)
+
+## Installation:
+Dython can be installed directly using `pip`:
+```
+pip install dython
+```
+Or, via the `conda` package manager:
+```
+conda install -c conda-forge dython
+```
+If you wish to install from source:
+```
+pip install git+https://github.com/shakedzy/dython.git
+```
+
+**Dependencies:** `numpy`, `pandas`, `seaborn`, `scipy`, `matplotlib`, `sklearn`, `scikit-plot`
+
+## Contributing:
+Contributions are always welcomed - if you found something you can fix, or have an idea for a new feature, feel free to write it and open a pull request. Please make sure to go over the [contributions guidelines](https://github.com/shakedzy/dython/blob/master/CONTRIBUTING.md).
+
+## Change log:
+Change log is available, see [CHANGELOG.md](https://github.com/shakedzy/dython/blob/master/CHANGELOG.md).
+
+## Related blogposts:
+Learn more about some of the main methods of this library and their usage on
+[these blogposts](http://shakedzy.xyz/dython/related_blogposts).
+
+
+%package help
+Summary: Development documents and examples for dython
+Provides: python3-dython-doc
+%description help
+![banner](http://shakedzy.xyz/dython/images/index_banner.png)
+
+# Dython
+
+[![PyPI Version](https://img.shields.io/pypi/v/dython.svg)](https://pypi.org/project/dython/)
+[![Conda Version](https://img.shields.io/conda/vn/conda-forge/dython)](https://anaconda.org/conda-forge/dython)
+[![Python Version](https://img.shields.io/pypi/pyversions/dython.svg)](https://pypi.org/project/dython/)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/dython)](https://pypistats.org/packages/dython)
+[![License](https://img.shields.io/pypi/l/dython)](https://github.com/shakedzy/dython/blob/master/LICENSE)
+
+A set of **D**ata analysis tools in p**YTHON** 3.x.
+
+Dython was designed with analysis usage in mind - meaning ease-of-use, functionality and readability are the core
+values of this library. Production-grade performance, on the other hand, were not considered.
+
+## Documentation:
+Modules documentation can be found on [shakedzy.xyz/dython](http://shakedzy.xyz/dython)
+
+## Installation:
+Dython can be installed directly using `pip`:
+```
+pip install dython
+```
+Or, via the `conda` package manager:
+```
+conda install -c conda-forge dython
+```
+If you wish to install from source:
+```
+pip install git+https://github.com/shakedzy/dython.git
+```
+
+**Dependencies:** `numpy`, `pandas`, `seaborn`, `scipy`, `matplotlib`, `sklearn`, `scikit-plot`
+
+## Contributing:
+Contributions are always welcomed - if you found something you can fix, or have an idea for a new feature, feel free to write it and open a pull request. Please make sure to go over the [contributions guidelines](https://github.com/shakedzy/dython/blob/master/CONTRIBUTING.md).
+
+## Change log:
+Change log is available, see [CHANGELOG.md](https://github.com/shakedzy/dython/blob/master/CHANGELOG.md).
+
+## Related blogposts:
+Learn more about some of the main methods of this library and their usage on
+[these blogposts](http://shakedzy.xyz/dython/related_blogposts).
+
+
+%prep
+%autosetup -n dython-0.7.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-dython -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.3-1
+- Package Spec generated