From e9586009a144efbfd087110eefd7bdb50cfd2184 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 04:35:56 +0000 Subject: automatic import of python-autoclass --- .gitignore | 1 + python-autoclass.spec | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 125 insertions(+) create mode 100644 python-autoclass.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..98588b2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/autoclass-2.2.0.tar.gz diff --git a/python-autoclass.spec b/python-autoclass.spec new file mode 100644 index 0000000..54b4c46 --- /dev/null +++ b/python-autoclass.spec @@ -0,0 +1,123 @@ +%global _empty_manifest_terminate_build 0 +Name: python-autoclass +Version: 2.2.0 +Release: 1 +Summary: Helps you write compact python classes +License: BSD 3-Clause +URL: https://github.com/smarie/python-autoclass +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cb/2b/a731e25f7596f5f1a92dbe2d7879191c30ebdb1160fcb009a6120412f36d/autoclass-2.2.0.tar.gz +BuildArch: noarch + +Requires: python3-decopatch +Requires: python3-makefun +Requires: python3-funcsigs +Requires: python3-PyContracts +Requires: python3-enforce +Requires: python3-valid8 + +%description +# python-autoclass + +*Write compact python classes* + +[![Python versions](https://img.shields.io/pypi/pyversions/autoclass.svg)](https://pypi.python.org/pypi/autoclass/) [![Build Status](https://travis-ci.org/smarie/python-autoclass.svg?branch=master)](https://travis-ci.org/smarie/python-autoclass) [![Tests Status](https://smarie.github.io/python-autoclass/junit/junit-badge.svg?dummy=8484744)](https://smarie.github.io/python-autoclass/junit/report.html) [![codecov](https://codecov.io/gh/smarie/python-autoclass/branch/master/graph/badge.svg)](https://codecov.io/gh/smarie/python-autoclass) + +[![Documentation](https://img.shields.io/badge/doc-latest-blue.svg)](https://smarie.github.io/python-autoclass/) [![PyPI](https://img.shields.io/pypi/v/autoclass.svg)](https://pypi.python.org/pypi/autoclass/) [![Downloads](https://pepy.tech/badge/autoclass)](https://pepy.tech/project/autoclass) [![Downloads per week](https://pepy.tech/badge/autoclass/week)](https://pepy.tech/project/autoclass) [![GitHub stars](https://img.shields.io/github/stars/smarie/python-autoclass.svg)](https://github.com/smarie/python-autoclass/stargazers) + +Helps you to write compact python classes. + +The documentation for users is available here: [https://smarie.github.io/python-autoclass/](https://smarie.github.io/python-autoclass/) + +A readme for developers is available here: [https://github.com/smarie/python-autoclass](https://github.com/smarie/python-autoclass) + + + + +%package -n python3-autoclass +Summary: Helps you write compact python classes +Provides: python-autoclass +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-autoclass +# python-autoclass + +*Write compact python classes* + +[![Python versions](https://img.shields.io/pypi/pyversions/autoclass.svg)](https://pypi.python.org/pypi/autoclass/) [![Build Status](https://travis-ci.org/smarie/python-autoclass.svg?branch=master)](https://travis-ci.org/smarie/python-autoclass) [![Tests Status](https://smarie.github.io/python-autoclass/junit/junit-badge.svg?dummy=8484744)](https://smarie.github.io/python-autoclass/junit/report.html) [![codecov](https://codecov.io/gh/smarie/python-autoclass/branch/master/graph/badge.svg)](https://codecov.io/gh/smarie/python-autoclass) + +[![Documentation](https://img.shields.io/badge/doc-latest-blue.svg)](https://smarie.github.io/python-autoclass/) [![PyPI](https://img.shields.io/pypi/v/autoclass.svg)](https://pypi.python.org/pypi/autoclass/) [![Downloads](https://pepy.tech/badge/autoclass)](https://pepy.tech/project/autoclass) [![Downloads per week](https://pepy.tech/badge/autoclass/week)](https://pepy.tech/project/autoclass) [![GitHub stars](https://img.shields.io/github/stars/smarie/python-autoclass.svg)](https://github.com/smarie/python-autoclass/stargazers) + +Helps you to write compact python classes. + +The documentation for users is available here: [https://smarie.github.io/python-autoclass/](https://smarie.github.io/python-autoclass/) + +A readme for developers is available here: [https://github.com/smarie/python-autoclass](https://github.com/smarie/python-autoclass) + + + + +%package help +Summary: Development documents and examples for autoclass +Provides: python3-autoclass-doc +%description help +# python-autoclass + +*Write compact python classes* + +[![Python versions](https://img.shields.io/pypi/pyversions/autoclass.svg)](https://pypi.python.org/pypi/autoclass/) [![Build Status](https://travis-ci.org/smarie/python-autoclass.svg?branch=master)](https://travis-ci.org/smarie/python-autoclass) [![Tests Status](https://smarie.github.io/python-autoclass/junit/junit-badge.svg?dummy=8484744)](https://smarie.github.io/python-autoclass/junit/report.html) [![codecov](https://codecov.io/gh/smarie/python-autoclass/branch/master/graph/badge.svg)](https://codecov.io/gh/smarie/python-autoclass) + +[![Documentation](https://img.shields.io/badge/doc-latest-blue.svg)](https://smarie.github.io/python-autoclass/) [![PyPI](https://img.shields.io/pypi/v/autoclass.svg)](https://pypi.python.org/pypi/autoclass/) [![Downloads](https://pepy.tech/badge/autoclass)](https://pepy.tech/project/autoclass) [![Downloads per week](https://pepy.tech/badge/autoclass/week)](https://pepy.tech/project/autoclass) [![GitHub stars](https://img.shields.io/github/stars/smarie/python-autoclass.svg)](https://github.com/smarie/python-autoclass/stargazers) + +Helps you to write compact python classes. + +The documentation for users is available here: [https://smarie.github.io/python-autoclass/](https://smarie.github.io/python-autoclass/) + +A readme for developers is available here: [https://github.com/smarie/python-autoclass](https://github.com/smarie/python-autoclass) + + + + +%prep +%autosetup -n autoclass-2.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-autoclass -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot - 2.2.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..bbf90c1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ee691ae67511660f7c7343fb9b2b8f4b autoclass-2.2.0.tar.gz -- cgit v1.2.3