diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 05:06:08 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 05:06:08 +0000 |
| commit | ebdad6e556094daf45dfa804e56389346390bc02 (patch) | |
| tree | 7f846cca6099e19c56d4b17fa97c5fe9d0a222ba | |
| parent | 56f4f64bfa29ec43c8a1b6b2408c51d8b3dbfe8e (diff) | |
automatic import of python-pysts
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-pysts.spec | 211 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 213 insertions, 0 deletions
@@ -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 +[](https://pypi.org/project/pysts/) [](https://pypi.org/project/pysts/) [](https://pypi.org/project/pysts/) [](https://travis-ci.com/sdswart/pysts) [](https://coveralls.io/github/sdswart/pysts?branch=dev) [](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 +[](https://pypi.org/project/pysts/) [](https://pypi.org/project/pysts/) [](https://pypi.org/project/pysts/) [](https://travis-ci.com/sdswart/pysts) [](https://coveralls.io/github/sdswart/pysts?branch=dev) [](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 +[](https://pypi.org/project/pysts/) [](https://pypi.org/project/pysts/) [](https://pypi.org/project/pysts/) [](https://travis-ci.com/sdswart/pysts) [](https://coveralls.io/github/sdswart/pysts?branch=dev) [](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 <Python_Bot@openeuler.org> - 0.9.45-1 +- Package Spec generated @@ -0,0 +1 @@ +2922419382af8e83fbfd1cd1a80abf51 pysts-0.9.45.tar.gz |
