summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 09:45:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 09:45:12 +0000
commit74acd498a3d7a77b70ebcab7d97ab466ebd5eea2 (patch)
tree9da516a98851e049ee567ae2161795b6a7e1feb4
parent0d80ee147b8643ad6b65d74219b5b087de63ddb2 (diff)
automatic import of python-PythonStringsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-pythonstrings.spec186
-rw-r--r--sources1
3 files changed, 188 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b2ddfe4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PythonStrings-0.2.0.tar.gz
diff --git a/python-pythonstrings.spec b/python-pythonstrings.spec
new file mode 100644
index 0000000..177c93a
--- /dev/null
+++ b/python-pythonstrings.spec
@@ -0,0 +1,186 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PythonStrings
+Version: 0.2.0
+Release: 1
+Summary: A library made to make string easier to use in python
+License: MIT
+URL: https://github.com/Sas2k/PythonStrings
+Source0: https://mirrors.aliyun.com/pypi/web/packages/9a/83/4f97f995701321fa9aa81dade4cf78b5cc3dcc444ae7fe8aa9670babda9e/PythonStrings-0.2.0.tar.gz
+BuildArch: noarch
+
+
+%description
+
+# PythonStrings🧵 2.0.0 [Library/Package]
+
+A simple python library to help with strings
+
+
+## Installation
+
+You can download the file with pip
+
+### Windows
+```cmd
+Users/user>pip install PythonStrings
+```
+### Linux/MacOS
+```bash
+$ pip3 install PythonStrings
+#or
+$ pip install PythonStrings
+#or
+$ python3 -m pip install PythonStrings
+```
+## Documentation
+
+`revstring(:string:)` Reverces the string in the brackets and returns it <br>
+`encodestr(string)` encodes the string with utf-16 and returns it [not sure if works these are some old code that i wrote some months back <br>
+`decodestr(string)` decodes the string with utf-16 and returns it [same for this one also, I think? 🤔] <br>
+`Capatilize(string)` Capitalizes the first letter of the string and returns it <br>
+`Cap(string)` Returns the length of the string
+## Authors
+
+- [@Sas2k](https://www.github.com/Sas2k)
+
+
+## Badges
+
+![PyPI - Downloads](https://img.shields.io/pypi/dd/PythonStrings)
+
+
+
+%package -n python3-PythonStrings
+Summary: A library made to make string easier to use in python
+Provides: python-PythonStrings
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-PythonStrings
+
+# PythonStrings🧵 2.0.0 [Library/Package]
+
+A simple python library to help with strings
+
+
+## Installation
+
+You can download the file with pip
+
+### Windows
+```cmd
+Users/user>pip install PythonStrings
+```
+### Linux/MacOS
+```bash
+$ pip3 install PythonStrings
+#or
+$ pip install PythonStrings
+#or
+$ python3 -m pip install PythonStrings
+```
+## Documentation
+
+`revstring(:string:)` Reverces the string in the brackets and returns it <br>
+`encodestr(string)` encodes the string with utf-16 and returns it [not sure if works these are some old code that i wrote some months back <br>
+`decodestr(string)` decodes the string with utf-16 and returns it [same for this one also, I think? 🤔] <br>
+`Capatilize(string)` Capitalizes the first letter of the string and returns it <br>
+`Cap(string)` Returns the length of the string
+## Authors
+
+- [@Sas2k](https://www.github.com/Sas2k)
+
+
+## Badges
+
+![PyPI - Downloads](https://img.shields.io/pypi/dd/PythonStrings)
+
+
+
+%package help
+Summary: Development documents and examples for PythonStrings
+Provides: python3-PythonStrings-doc
+%description help
+
+# PythonStrings🧵 2.0.0 [Library/Package]
+
+A simple python library to help with strings
+
+
+## Installation
+
+You can download the file with pip
+
+### Windows
+```cmd
+Users/user>pip install PythonStrings
+```
+### Linux/MacOS
+```bash
+$ pip3 install PythonStrings
+#or
+$ pip install PythonStrings
+#or
+$ python3 -m pip install PythonStrings
+```
+## Documentation
+
+`revstring(:string:)` Reverces the string in the brackets and returns it <br>
+`encodestr(string)` encodes the string with utf-16 and returns it [not sure if works these are some old code that i wrote some months back <br>
+`decodestr(string)` decodes the string with utf-16 and returns it [same for this one also, I think? 🤔] <br>
+`Capatilize(string)` Capitalizes the first letter of the string and returns it <br>
+`Cap(string)` Returns the length of the string
+## Authors
+
+- [@Sas2k](https://www.github.com/Sas2k)
+
+
+## Badges
+
+![PyPI - Downloads](https://img.shields.io/pypi/dd/PythonStrings)
+
+
+
+%prep
+%autosetup -n PythonStrings-0.2.0
+
+%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-PythonStrings -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..6685dd9
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+deea2567da1c4f3956582dd5e68e1c97 PythonStrings-0.2.0.tar.gz