diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:25:05 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:25:05 +0000 |
commit | e8d89eb9edd81ec794bcb9132c29f211cca59ee3 (patch) | |
tree | 7771624448156a67c4212989ffad57a18e504365 | |
parent | 107ea11585cab5839076087639ed512581d9ef88 (diff) |
automatic import of python-agile-toolkit
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-agile-toolkit.spec | 103 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 105 insertions, 0 deletions
@@ -0,0 +1 @@ +/agile-toolkit-0.6.0.tar.gz diff --git a/python-agile-toolkit.spec b/python-agile-toolkit.spec new file mode 100644 index 0000000..87c950d --- /dev/null +++ b/python-agile-toolkit.spec @@ -0,0 +1,103 @@ +%global _empty_manifest_terminate_build 0 +Name: python-agile-toolkit +Version: 0.6.0 +Release: 1 +Summary: Agile toolkit for publishing and repository management +License: BSD License +URL: https://github.com/quantmind/agile-toolkit +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7a/ef/5f5bf06a94412a3cbf49d8f7e2614489bcf62e1556cfc4843a11eaf4a334/agile-toolkit-0.6.0.tar.gz +BuildArch: noarch + +Requires: python3-click +Requires: python3-dotenv +Requires: python3-pyyaml +Requires: python3-requests +Requires: python3-jinja2 +Requires: python3-slackclient +Requires: python3-aio-kong + +%description +# Agile toolkit + +[](https://badge.fury.io/py/agile-toolkit) +[](https://pypi.org/project/agile-toolkit) +[](https://github.com/quantmind/agile-toolkit/actions?query=workflow%3Abuild) +[](https://codecov.io/gh/quantmind/agile-toolkit) + + + + +%package -n python3-agile-toolkit +Summary: Agile toolkit for publishing and repository management +Provides: python-agile-toolkit +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-agile-toolkit +# Agile toolkit + +[](https://badge.fury.io/py/agile-toolkit) +[](https://pypi.org/project/agile-toolkit) +[](https://github.com/quantmind/agile-toolkit/actions?query=workflow%3Abuild) +[](https://codecov.io/gh/quantmind/agile-toolkit) + + + + +%package help +Summary: Development documents and examples for agile-toolkit +Provides: python3-agile-toolkit-doc +%description help +# Agile toolkit + +[](https://badge.fury.io/py/agile-toolkit) +[](https://pypi.org/project/agile-toolkit) +[](https://github.com/quantmind/agile-toolkit/actions?query=workflow%3Abuild) +[](https://codecov.io/gh/quantmind/agile-toolkit) + + + + +%prep +%autosetup -n agile-toolkit-0.6.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-agile-toolkit -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.0-1 +- Package Spec generated @@ -0,0 +1 @@ +49e6caba40bd42840f7e0cea0c90bece agile-toolkit-0.6.0.tar.gz |