summaryrefslogtreecommitdiff
path: root/python-quilt-lang.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-quilt-lang.spec')
-rw-r--r--python-quilt-lang.spec198
1 files changed, 198 insertions, 0 deletions
diff --git a/python-quilt-lang.spec b/python-quilt-lang.spec
new file mode 100644
index 0000000..0d95bb2
--- /dev/null
+++ b/python-quilt-lang.spec
@@ -0,0 +1,198 @@
+%global _empty_manifest_terminate_build 0
+Name: python-quilt-lang
+Version: 0.11.1
+Release: 1
+Summary: A Python library that lets you write less code to do more things.
+License: Apache Software License
+URL: https://github.com/Richienb/quilt
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/80/0e/4a2bdb7cb7865af5aadbb70b4eefd1384592c4bd6cdedab857a42dc95ccb/quilt-lang-0.11.1.tar.gz
+BuildArch: noarch
+
+
+%description
+[![Travis CI Build Status](https://img.shields.io/travis/com/Richienb/quilt/master.svg?style=for-the-badge)](https://travis-ci.com/Richienb/quilt)
+[![CodeFactor Score](https://www.codefactor.io/repository/github/richienb/quilt/badge?style=for-the-badge)](https://www.codefactor.io/repository/github/richienb/quilt)
+[![Codecov Score](https://img.shields.io/codecov/c/github/Richienb/quilt/master.svg?style=for-the-badge)](https://codecov.io/gh/Richienb/quilt)
+[![PyPI Status](https://img.shields.io/pypi/status/quilt-lang.svg?style=for-the-badge)](https://pypi.org/project/quilt-lang)
+
+[![Quilt Lang](https://a.icons8.com/flcKcVkP/ff3MYF/quilt-lang.svg)](#)
+
+A Python library that lets you write less code to do more things.
+
+Documentation available [here](https://quilt-lang.richie-bendall.ml/).
+
+## Getting started
+
+### Install via pip
+```sh
+pip install quilt-lang
+```
+
+### Importing
+```py
+import quilt_lang as _
+```
+
+### Example usage
+```py
+if _.ready: print("Quilt is ready.")
+```
+
+For more commands, visit [this website](https://quilt-lang.richie-bendall.ml/commands/quilt_lang.html).
+
+## How you can make Quilt better
+
+At the moment, you can help by
+- Adding more functions which you or someone else might find useful
+- Adding and maintaining the docstrings
+- Adding and improving unit tests
+
+## License
+
+Quilt is licensed under the [Apache 2.0 License](LICENSE).
+
+
+
+
+%package -n python3-quilt-lang
+Summary: A Python library that lets you write less code to do more things.
+Provides: python-quilt-lang
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-quilt-lang
+[![Travis CI Build Status](https://img.shields.io/travis/com/Richienb/quilt/master.svg?style=for-the-badge)](https://travis-ci.com/Richienb/quilt)
+[![CodeFactor Score](https://www.codefactor.io/repository/github/richienb/quilt/badge?style=for-the-badge)](https://www.codefactor.io/repository/github/richienb/quilt)
+[![Codecov Score](https://img.shields.io/codecov/c/github/Richienb/quilt/master.svg?style=for-the-badge)](https://codecov.io/gh/Richienb/quilt)
+[![PyPI Status](https://img.shields.io/pypi/status/quilt-lang.svg?style=for-the-badge)](https://pypi.org/project/quilt-lang)
+
+[![Quilt Lang](https://a.icons8.com/flcKcVkP/ff3MYF/quilt-lang.svg)](#)
+
+A Python library that lets you write less code to do more things.
+
+Documentation available [here](https://quilt-lang.richie-bendall.ml/).
+
+## Getting started
+
+### Install via pip
+```sh
+pip install quilt-lang
+```
+
+### Importing
+```py
+import quilt_lang as _
+```
+
+### Example usage
+```py
+if _.ready: print("Quilt is ready.")
+```
+
+For more commands, visit [this website](https://quilt-lang.richie-bendall.ml/commands/quilt_lang.html).
+
+## How you can make Quilt better
+
+At the moment, you can help by
+- Adding more functions which you or someone else might find useful
+- Adding and maintaining the docstrings
+- Adding and improving unit tests
+
+## License
+
+Quilt is licensed under the [Apache 2.0 License](LICENSE).
+
+
+
+
+%package help
+Summary: Development documents and examples for quilt-lang
+Provides: python3-quilt-lang-doc
+%description help
+[![Travis CI Build Status](https://img.shields.io/travis/com/Richienb/quilt/master.svg?style=for-the-badge)](https://travis-ci.com/Richienb/quilt)
+[![CodeFactor Score](https://www.codefactor.io/repository/github/richienb/quilt/badge?style=for-the-badge)](https://www.codefactor.io/repository/github/richienb/quilt)
+[![Codecov Score](https://img.shields.io/codecov/c/github/Richienb/quilt/master.svg?style=for-the-badge)](https://codecov.io/gh/Richienb/quilt)
+[![PyPI Status](https://img.shields.io/pypi/status/quilt-lang.svg?style=for-the-badge)](https://pypi.org/project/quilt-lang)
+
+[![Quilt Lang](https://a.icons8.com/flcKcVkP/ff3MYF/quilt-lang.svg)](#)
+
+A Python library that lets you write less code to do more things.
+
+Documentation available [here](https://quilt-lang.richie-bendall.ml/).
+
+## Getting started
+
+### Install via pip
+```sh
+pip install quilt-lang
+```
+
+### Importing
+```py
+import quilt_lang as _
+```
+
+### Example usage
+```py
+if _.ready: print("Quilt is ready.")
+```
+
+For more commands, visit [this website](https://quilt-lang.richie-bendall.ml/commands/quilt_lang.html).
+
+## How you can make Quilt better
+
+At the moment, you can help by
+- Adding more functions which you or someone else might find useful
+- Adding and maintaining the docstrings
+- Adding and improving unit tests
+
+## License
+
+Quilt is licensed under the [Apache 2.0 License](LICENSE).
+
+
+
+
+%prep
+%autosetup -n quilt-lang-0.11.1
+
+%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-quilt-lang -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.11.1-1
+- Package Spec generated