diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-quilt-lang.spec | 198 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 200 insertions, 0 deletions
@@ -0,0 +1 @@ +/quilt-lang-0.11.1.tar.gz 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 +[](https://travis-ci.com/Richienb/quilt) +[](https://www.codefactor.io/repository/github/richienb/quilt) +[](https://codecov.io/gh/Richienb/quilt) +[](https://pypi.org/project/quilt-lang) + +[](#) + +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 +[](https://travis-ci.com/Richienb/quilt) +[](https://www.codefactor.io/repository/github/richienb/quilt) +[](https://codecov.io/gh/Richienb/quilt) +[](https://pypi.org/project/quilt-lang) + +[](#) + +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 +[](https://travis-ci.com/Richienb/quilt) +[](https://www.codefactor.io/repository/github/richienb/quilt) +[](https://codecov.io/gh/Richienb/quilt) +[](https://pypi.org/project/quilt-lang) + +[](#) + +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 @@ -0,0 +1 @@ +c38698159a253227b5cf2eaf4d42942e quilt-lang-0.11.1.tar.gz |
