diff options
Diffstat (limited to 'python-jupitest.spec')
-rw-r--r-- | python-jupitest.spec | 166 |
1 files changed, 166 insertions, 0 deletions
diff --git a/python-jupitest.spec b/python-jupitest.spec new file mode 100644 index 0000000..a10c5eb --- /dev/null +++ b/python-jupitest.spec @@ -0,0 +1,166 @@ +%global _empty_manifest_terminate_build 0 +Name: python-jupitest +Version: 0.0.14 +Release: 1 +Summary: Graphical Test Runner built with Pyrustic +License: MIT +URL: https://github.com/pyrustic/jupitest +Source0: https://mirrors.aliyun.com/pypi/web/packages/ab/ad/7c735785809ce28a10afc3570010a609f8582d15774ebfe675b0b7e37ab7/jupitest-0.0.14.tar.gz +BuildArch: noarch + +Requires: python3-tkf + +%description +<!-- Image --> +<div align="center"> + <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/jupitest-screenshot.png" alt="Figure"> + <p align="center"> + Jupitest + </p> +</div> + +<!-- Intro Text --> +# Jupitest +<b> Graphical test runner built with Pyrustic Framework </b> + +This project is part of the [Pyrustic Ecosystem](https://pyrustic.github.io). + +<!-- Image --> +<div align="center"> + <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/jupitest.gif" alt="Figure" width="650"> + <p align="center"> + <b> Jupitest in action </b> + </p> +</div> + + +`Jupitest` uses the dark theme [cyberpunk-theme](https://github.com/pyrustic/cyberpunk-theme) and the tk-compatible multithreading library [threadom](https://github.com/pyrustic/threadom). + + +## Installation +```bash +pip install jupitest +``` + + + +%package -n python3-jupitest +Summary: Graphical Test Runner built with Pyrustic +Provides: python-jupitest +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-jupitest +<!-- Image --> +<div align="center"> + <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/jupitest-screenshot.png" alt="Figure"> + <p align="center"> + Jupitest + </p> +</div> + +<!-- Intro Text --> +# Jupitest +<b> Graphical test runner built with Pyrustic Framework </b> + +This project is part of the [Pyrustic Ecosystem](https://pyrustic.github.io). + +<!-- Image --> +<div align="center"> + <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/jupitest.gif" alt="Figure" width="650"> + <p align="center"> + <b> Jupitest in action </b> + </p> +</div> + + +`Jupitest` uses the dark theme [cyberpunk-theme](https://github.com/pyrustic/cyberpunk-theme) and the tk-compatible multithreading library [threadom](https://github.com/pyrustic/threadom). + + +## Installation +```bash +pip install jupitest +``` + + + +%package help +Summary: Development documents and examples for jupitest +Provides: python3-jupitest-doc +%description help +<!-- Image --> +<div align="center"> + <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/jupitest-screenshot.png" alt="Figure"> + <p align="center"> + Jupitest + </p> +</div> + +<!-- Intro Text --> +# Jupitest +<b> Graphical test runner built with Pyrustic Framework </b> + +This project is part of the [Pyrustic Ecosystem](https://pyrustic.github.io). + +<!-- Image --> +<div align="center"> + <img src="https://raw.githubusercontent.com/pyrustic/misc/master/media/jupitest.gif" alt="Figure" width="650"> + <p align="center"> + <b> Jupitest in action </b> + </p> +</div> + + +`Jupitest` uses the dark theme [cyberpunk-theme](https://github.com/pyrustic/cyberpunk-theme) and the tk-compatible multithreading library [threadom](https://github.com/pyrustic/threadom). + + +## Installation +```bash +pip install jupitest +``` + + + +%prep +%autosetup -n jupitest-0.0.14 + +%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-jupitest -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.14-1 +- Package Spec generated |