From ebdad6e556094daf45dfa804e56389346390bc02 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 05:06:08 +0000 Subject: automatic import of python-pysts --- .gitignore | 1 + python-pysts.spec | 211 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 213 insertions(+) create mode 100644 python-pysts.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..319d915 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pysts-0.9.45.tar.gz diff --git a/python-pysts.spec b/python-pysts.spec new file mode 100644 index 0000000..8ba0465 --- /dev/null +++ b/python-pysts.spec @@ -0,0 +1,211 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pysts +Version: 0.9.45 +Release: 1 +Summary: Basic python utilities +License: MIT +URL: https://github.com/sdswart/pysts.git +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c3/8a/6cf6c81ad6689c9b983db0e465adbc8364eb9f7be8e96a1c036cf14c73a2/pysts-0.9.45.tar.gz +BuildArch: noarch + +Requires: python3-setuptools +Requires: python3-wheel +Requires: python3-twine +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-plotly +Requires: python3-dash +Requires: python3-quart +Requires: python3-quart-compress +Requires: python3-dash-core-components +Requires: python3-dash-bootstrap-components +Requires: python3-dash-html-components +Requires: python3-dash-table + +%description +[![Download](https://img.shields.io/pypi/v/pysts?label=pysts)](https://pypi.org/project/pysts/) [![License](https://img.shields.io/pypi/l/pysts)](https://pypi.org/project/pysts/) [![Status](https://img.shields.io/pypi/status/pysts)](https://pypi.org/project/pysts/) [![Build Status](https://travis-ci.com/sdswart/pysts.svg?branch=master)](https://travis-ci.com/sdswart/pysts) [![Coverage Status](https://coveralls.io/repos/github/sdswart/pysts/badge.svg?branch=dev)](https://coveralls.io/github/sdswart/pysts?branch=dev) [![Python](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/) + +# description + +This is a utility package composed of several modules. + +# Installation + +`pip install pysts` + +## Tests + +If the module is installed through pip: +`pytest` + +Run the tests from the local setup directory: +`python -m pytest` + + +## Code coverage + +Generate coverage report with: `py.test --cov=python_utils tests/` + +#### before_script: +#### - bumpversion minor setup.py +#### or +#### - bumpversion --new-version 0.9.13 setup.py +#### script: +#### - pip install --user --upgrade setuptools wheel twine numpy +#### - python setup.py sdist bdist_wheel +#### - python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/pysts-0.9.13* -u USERNAME -p PASSWORD +NOTE: Delete previous builds before uploading + +#### Add pypi repo: +#### - pip config --user set global.gtlpypi https://pypi.gtl.fyi/simple/ + +#### download: +#### - pip install --upgrade -i https://pypi.gtl.fyi/simple pysts +OR +#### -pip install --upgrade git+https://github.com/sdswart/pysts.git + + + + +%package -n python3-pysts +Summary: Basic python utilities +Provides: python-pysts +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pysts +[![Download](https://img.shields.io/pypi/v/pysts?label=pysts)](https://pypi.org/project/pysts/) [![License](https://img.shields.io/pypi/l/pysts)](https://pypi.org/project/pysts/) [![Status](https://img.shields.io/pypi/status/pysts)](https://pypi.org/project/pysts/) [![Build Status](https://travis-ci.com/sdswart/pysts.svg?branch=master)](https://travis-ci.com/sdswart/pysts) [![Coverage Status](https://coveralls.io/repos/github/sdswart/pysts/badge.svg?branch=dev)](https://coveralls.io/github/sdswart/pysts?branch=dev) [![Python](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/) + +# description + +This is a utility package composed of several modules. + +# Installation + +`pip install pysts` + +## Tests + +If the module is installed through pip: +`pytest` + +Run the tests from the local setup directory: +`python -m pytest` + + +## Code coverage + +Generate coverage report with: `py.test --cov=python_utils tests/` + +#### before_script: +#### - bumpversion minor setup.py +#### or +#### - bumpversion --new-version 0.9.13 setup.py +#### script: +#### - pip install --user --upgrade setuptools wheel twine numpy +#### - python setup.py sdist bdist_wheel +#### - python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/pysts-0.9.13* -u USERNAME -p PASSWORD +NOTE: Delete previous builds before uploading + +#### Add pypi repo: +#### - pip config --user set global.gtlpypi https://pypi.gtl.fyi/simple/ + +#### download: +#### - pip install --upgrade -i https://pypi.gtl.fyi/simple pysts +OR +#### -pip install --upgrade git+https://github.com/sdswart/pysts.git + + + + +%package help +Summary: Development documents and examples for pysts +Provides: python3-pysts-doc +%description help +[![Download](https://img.shields.io/pypi/v/pysts?label=pysts)](https://pypi.org/project/pysts/) [![License](https://img.shields.io/pypi/l/pysts)](https://pypi.org/project/pysts/) [![Status](https://img.shields.io/pypi/status/pysts)](https://pypi.org/project/pysts/) [![Build Status](https://travis-ci.com/sdswart/pysts.svg?branch=master)](https://travis-ci.com/sdswart/pysts) [![Coverage Status](https://coveralls.io/repos/github/sdswart/pysts/badge.svg?branch=dev)](https://coveralls.io/github/sdswart/pysts?branch=dev) [![Python](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/) + +# description + +This is a utility package composed of several modules. + +# Installation + +`pip install pysts` + +## Tests + +If the module is installed through pip: +`pytest` + +Run the tests from the local setup directory: +`python -m pytest` + + +## Code coverage + +Generate coverage report with: `py.test --cov=python_utils tests/` + +#### before_script: +#### - bumpversion minor setup.py +#### or +#### - bumpversion --new-version 0.9.13 setup.py +#### script: +#### - pip install --user --upgrade setuptools wheel twine numpy +#### - python setup.py sdist bdist_wheel +#### - python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/pysts-0.9.13* -u USERNAME -p PASSWORD +NOTE: Delete previous builds before uploading + +#### Add pypi repo: +#### - pip config --user set global.gtlpypi https://pypi.gtl.fyi/simple/ + +#### download: +#### - pip install --upgrade -i https://pypi.gtl.fyi/simple pysts +OR +#### -pip install --upgrade git+https://github.com/sdswart/pysts.git + + + + +%prep +%autosetup -n pysts-0.9.45 + +%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-pysts -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot - 0.9.45-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..df8efa1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +2922419382af8e83fbfd1cd1a80abf51 pysts-0.9.45.tar.gz -- cgit v1.2.3