summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-pythondebugtools.spec235
-rw-r--r--sources1
3 files changed, 237 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..668d05a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PythonDebugTools-2.2.3.tar.gz
diff --git a/python-pythondebugtools.spec b/python-pythondebugtools.spec
new file mode 100644
index 0000000..84c88bc
--- /dev/null
+++ b/python-pythondebugtools.spec
@@ -0,0 +1,235 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PythonDebugTools
+Version: 2.2.3
+Release: 1
+Summary: A set of helpers for debugging Python 3.x.
+License: GPL 3.0
+URL: https://github.com/Jakar510/PythonDebugTools
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/75/33/9a779b5924a94185d5734d2c261a823507d3a596bc5ba60b7d8b94ada16f/PythonDebugTools-2.2.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-BaseExtensions
+
+%description
+# PythonDebugTools
+
+*Pull requests and sugestions are welcome.*
+
+## Getting Started
+
+Helper tools to ease development.
+
+### Tkinter
+All named colors in tkinter can be found in [colors.png](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/colors.png)
+
+All custom colors in tkinter can be found in [colors.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/colors.py)
+
+All themes in tkinter can be found in [TkinterThemes.jpg](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/TkinterThemes.jpg)
+
+
+### Debug
+
+[console.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/console.py) has functions to format an object to the console, allowing for easier debug.
+
+[converters.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/converters.py) has functions to convert any object to a dict.
+
+[decorators.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/decorators.py) has functions to be used as decorators to make debug more efficent.
+
+[chains.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/chains.py) has functions to be used as decorators, in certain cases, to make debug more efficent.
+
+
+
+
+## Installing
+
+using pip3 or pip,
+
+pip3 install PythonDebugTools
+
+## Contributing
+
+Please read [CONTRIBUTING.md](https://github.com/Jakar510/PythonDebugTools/tree/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
+
+## Authors
+
+* **Tyler Stegmaier** - *Initial work* - [Jakar510](https://github.com/Jakar510)
+
+See also the list of [contributors](https://github.com/Jakar510/PythonDebugTools/blob/master/contributors.md) who participated in this project.
+
+## License
+
+This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the [LICENSE.md](https://github.com/Jakar510/PythonDebugTools/blob/master/LICENSE) file for details
+
+## Acknowledgments
+
+* [StackOverFlow Answer](https://stackoverflow.com/a/31485450/9530917)
+
+
+
+
+%package -n python3-PythonDebugTools
+Summary: A set of helpers for debugging Python 3.x.
+Provides: python-PythonDebugTools
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-PythonDebugTools
+# PythonDebugTools
+
+*Pull requests and sugestions are welcome.*
+
+## Getting Started
+
+Helper tools to ease development.
+
+### Tkinter
+All named colors in tkinter can be found in [colors.png](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/colors.png)
+
+All custom colors in tkinter can be found in [colors.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/colors.py)
+
+All themes in tkinter can be found in [TkinterThemes.jpg](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/TkinterThemes.jpg)
+
+
+### Debug
+
+[console.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/console.py) has functions to format an object to the console, allowing for easier debug.
+
+[converters.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/converters.py) has functions to convert any object to a dict.
+
+[decorators.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/decorators.py) has functions to be used as decorators to make debug more efficent.
+
+[chains.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/chains.py) has functions to be used as decorators, in certain cases, to make debug more efficent.
+
+
+
+
+## Installing
+
+using pip3 or pip,
+
+pip3 install PythonDebugTools
+
+## Contributing
+
+Please read [CONTRIBUTING.md](https://github.com/Jakar510/PythonDebugTools/tree/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
+
+## Authors
+
+* **Tyler Stegmaier** - *Initial work* - [Jakar510](https://github.com/Jakar510)
+
+See also the list of [contributors](https://github.com/Jakar510/PythonDebugTools/blob/master/contributors.md) who participated in this project.
+
+## License
+
+This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the [LICENSE.md](https://github.com/Jakar510/PythonDebugTools/blob/master/LICENSE) file for details
+
+## Acknowledgments
+
+* [StackOverFlow Answer](https://stackoverflow.com/a/31485450/9530917)
+
+
+
+
+%package help
+Summary: Development documents and examples for PythonDebugTools
+Provides: python3-PythonDebugTools-doc
+%description help
+# PythonDebugTools
+
+*Pull requests and sugestions are welcome.*
+
+## Getting Started
+
+Helper tools to ease development.
+
+### Tkinter
+All named colors in tkinter can be found in [colors.png](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/colors.png)
+
+All custom colors in tkinter can be found in [colors.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/colors.py)
+
+All themes in tkinter can be found in [TkinterThemes.jpg](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/TkinterThemes.jpg)
+
+
+### Debug
+
+[console.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/console.py) has functions to format an object to the console, allowing for easier debug.
+
+[converters.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/converters.py) has functions to convert any object to a dict.
+
+[decorators.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/decorators.py) has functions to be used as decorators to make debug more efficent.
+
+[chains.py](https://github.com/Jakar510/PythonDebugTools/tree/master/src/PythonDebugTools/chains.py) has functions to be used as decorators, in certain cases, to make debug more efficent.
+
+
+
+
+## Installing
+
+using pip3 or pip,
+
+pip3 install PythonDebugTools
+
+## Contributing
+
+Please read [CONTRIBUTING.md](https://github.com/Jakar510/PythonDebugTools/tree/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
+
+## Authors
+
+* **Tyler Stegmaier** - *Initial work* - [Jakar510](https://github.com/Jakar510)
+
+See also the list of [contributors](https://github.com/Jakar510/PythonDebugTools/blob/master/contributors.md) who participated in this project.
+
+## License
+
+This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the [LICENSE.md](https://github.com/Jakar510/PythonDebugTools/blob/master/LICENSE) file for details
+
+## Acknowledgments
+
+* [StackOverFlow Answer](https://stackoverflow.com/a/31485450/9530917)
+
+
+
+
+%prep
+%autosetup -n PythonDebugTools-2.2.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-PythonDebugTools -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..fffe672
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b945e71b402704993680b1a7d652580a PythonDebugTools-2.2.3.tar.gz