diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-vividhues.spec | 177 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 179 insertions, 0 deletions
@@ -0,0 +1 @@ +/VividHues-5.9.2.tar.gz diff --git a/python-vividhues.spec b/python-vividhues.spec new file mode 100644 index 0000000..a5910d5 --- /dev/null +++ b/python-vividhues.spec @@ -0,0 +1,177 @@ +%global _empty_manifest_terminate_build 0 +Name: python-VividHues +Version: 5.9.2 +Release: 1 +Summary: VividHues: Super light Python string formatter! +License: AGPL-3.0 +URL: https://github.com/KennyOliver/VividHues +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/88/06/cecfcd2f0d7eac68f2ce0ba126bf6f94d03424f1447137fbe0eab7477e42/VividHues-5.9.2.tar.gz +BuildArch: noarch + + +%description +## :hammer_and_wrench: Official Installation +### :zap: _Instant Installer + Updater_ +<img src="https://user-images.githubusercontent.com/70860732/163634599-31351517-3333-43f5-b2c2-87408522aefe.png" width="70%" /> +<big> :point_right: </big><kbd><a href="https://gitcdn.link/cdn/KennyOliver/VividHues/main/install_vividhues.sh" download><img src="https://custom-icon-badges.herokuapp.com/badge/-Instant%20Installer-FFD700?style=for-the-badge&logo=zap&logoColor=FFD700&labelColor=303030" /></a></kbd><big> :point_left:</big> +#### :page_with_curl: Instant Installer — Instructions +##### **Once you've downloaded `install_vividhues.sh`...** +###### Run the command `bash install_vividhues.sh` in your shell/CLI. (Or... double click the `install_vividhues.sh` file) +> :memo: **Note!** +> +> This requires Bash to be installed on your OS. +> Git Bash or WSL are two of many to pick from! +#### :cyclone: Replit Installation +<details> +<summary>👉 <i><b>Replit instructions in here!</i></b> 👈</summary> +1. Upload the installer script to your project's file system +<img src="https://user-images.githubusercontent.com/70860732/162637390-af2be82f-929a-4053-a5f5-ce788bf7f9c4.png" /> +2. Run `bash install_vividhues.sh` in the _**shell**_ +<img src="https://user-images.githubusercontent.com/70860732/162637572-f096ccf2-2ff3-4fee-8028-2432fc31806b.png" /> +</details> +#### :shell: Manual Shell Installation +<details> +<summary>👉 <i><b>Manual instructions in here!</i></b> 👈</summary> +##### Pop this command in your CLI/shell/terminal to install VividHues. +```bash +$ pip install VividHues +``` +> #### :bulb: Tip +> ###### Use this command to update +> ```bash +> pip install --upgrade VividHues +> ``` +## :ship: Importing +##### Stick this wherever you need VividHues! +```py +from VividHues import Clr +``` + +%package -n python3-VividHues +Summary: VividHues: Super light Python string formatter! +Provides: python-VividHues +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-VividHues +## :hammer_and_wrench: Official Installation +### :zap: _Instant Installer + Updater_ +<img src="https://user-images.githubusercontent.com/70860732/163634599-31351517-3333-43f5-b2c2-87408522aefe.png" width="70%" /> +<big> :point_right: </big><kbd><a href="https://gitcdn.link/cdn/KennyOliver/VividHues/main/install_vividhues.sh" download><img src="https://custom-icon-badges.herokuapp.com/badge/-Instant%20Installer-FFD700?style=for-the-badge&logo=zap&logoColor=FFD700&labelColor=303030" /></a></kbd><big> :point_left:</big> +#### :page_with_curl: Instant Installer — Instructions +##### **Once you've downloaded `install_vividhues.sh`...** +###### Run the command `bash install_vividhues.sh` in your shell/CLI. (Or... double click the `install_vividhues.sh` file) +> :memo: **Note!** +> +> This requires Bash to be installed on your OS. +> Git Bash or WSL are two of many to pick from! +#### :cyclone: Replit Installation +<details> +<summary>👉 <i><b>Replit instructions in here!</i></b> 👈</summary> +1. Upload the installer script to your project's file system +<img src="https://user-images.githubusercontent.com/70860732/162637390-af2be82f-929a-4053-a5f5-ce788bf7f9c4.png" /> +2. Run `bash install_vividhues.sh` in the _**shell**_ +<img src="https://user-images.githubusercontent.com/70860732/162637572-f096ccf2-2ff3-4fee-8028-2432fc31806b.png" /> +</details> +#### :shell: Manual Shell Installation +<details> +<summary>👉 <i><b>Manual instructions in here!</i></b> 👈</summary> +##### Pop this command in your CLI/shell/terminal to install VividHues. +```bash +$ pip install VividHues +``` +> #### :bulb: Tip +> ###### Use this command to update +> ```bash +> pip install --upgrade VividHues +> ``` +## :ship: Importing +##### Stick this wherever you need VividHues! +```py +from VividHues import Clr +``` + +%package help +Summary: Development documents and examples for VividHues +Provides: python3-VividHues-doc +%description help +## :hammer_and_wrench: Official Installation +### :zap: _Instant Installer + Updater_ +<img src="https://user-images.githubusercontent.com/70860732/163634599-31351517-3333-43f5-b2c2-87408522aefe.png" width="70%" /> +<big> :point_right: </big><kbd><a href="https://gitcdn.link/cdn/KennyOliver/VividHues/main/install_vividhues.sh" download><img src="https://custom-icon-badges.herokuapp.com/badge/-Instant%20Installer-FFD700?style=for-the-badge&logo=zap&logoColor=FFD700&labelColor=303030" /></a></kbd><big> :point_left:</big> +#### :page_with_curl: Instant Installer — Instructions +##### **Once you've downloaded `install_vividhues.sh`...** +###### Run the command `bash install_vividhues.sh` in your shell/CLI. (Or... double click the `install_vividhues.sh` file) +> :memo: **Note!** +> +> This requires Bash to be installed on your OS. +> Git Bash or WSL are two of many to pick from! +#### :cyclone: Replit Installation +<details> +<summary>👉 <i><b>Replit instructions in here!</i></b> 👈</summary> +1. Upload the installer script to your project's file system +<img src="https://user-images.githubusercontent.com/70860732/162637390-af2be82f-929a-4053-a5f5-ce788bf7f9c4.png" /> +2. Run `bash install_vividhues.sh` in the _**shell**_ +<img src="https://user-images.githubusercontent.com/70860732/162637572-f096ccf2-2ff3-4fee-8028-2432fc31806b.png" /> +</details> +#### :shell: Manual Shell Installation +<details> +<summary>👉 <i><b>Manual instructions in here!</i></b> 👈</summary> +##### Pop this command in your CLI/shell/terminal to install VividHues. +```bash +$ pip install VividHues +``` +> #### :bulb: Tip +> ###### Use this command to update +> ```bash +> pip install --upgrade VividHues +> ``` +## :ship: Importing +##### Stick this wherever you need VividHues! +```py +from VividHues import Clr +``` + +%prep +%autosetup -n VividHues-5.9.2 + +%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-VividHues -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 5.9.2-1 +- Package Spec generated @@ -0,0 +1 @@ +308b1d58f9b8558aa440318a8ece1190 VividHues-5.9.2.tar.gz |
