diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 09:24:54 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 09:24:54 +0000 |
| commit | 466afa4bd2fde16b921ea533b5c79f369c9c4619 (patch) | |
| tree | 2a0d5cf95c1843e03784433f87a8d9ff73e5595e | |
| parent | 54fec7ced215a610bda7050ff0fa2809519832ca (diff) | |
automatic import of python-incremental
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-incremental.spec | 89 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 91 insertions, 0 deletions
@@ -0,0 +1 @@ +/incremental-22.10.0.tar.gz diff --git a/python-incremental.spec b/python-incremental.spec new file mode 100644 index 0000000..6fb16cf --- /dev/null +++ b/python-incremental.spec @@ -0,0 +1,89 @@ +%global _empty_manifest_terminate_build 0 +Name: python-incremental +Version: 22.10.0 +Release: 1 +Summary: "A small library that versions your Python projects." +License: MIT +URL: https://github.com/twisted/incremental +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/86/42/9e87f04fa2cd40e3016f27a4b4572290e95899c6dce317e2cdb580f3ff09/incremental-22.10.0.tar.gz +BuildArch: noarch + +Requires: python3-click +Requires: python3-twisted +Requires: python3-mypy +Requires: python3-click +Requires: python3-twisted + +%description +|gha| +|pypi| +|coverage| +Incremental is a small library that versions your Python projects. +API documentation can be found `here <https://twisted.github.io/incremental/docs/>`_. + +%package -n python3-incremental +Summary: "A small library that versions your Python projects." +Provides: python-incremental +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-incremental +|gha| +|pypi| +|coverage| +Incremental is a small library that versions your Python projects. +API documentation can be found `here <https://twisted.github.io/incremental/docs/>`_. + +%package help +Summary: Development documents and examples for incremental +Provides: python3-incremental-doc +%description help +|gha| +|pypi| +|coverage| +Incremental is a small library that versions your Python projects. +API documentation can be found `here <https://twisted.github.io/incremental/docs/>`_. + +%prep +%autosetup -n incremental-22.10.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-incremental -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 22.10.0-1 +- Package Spec generated @@ -0,0 +1 @@ +9fffa2490ca649550c79a78e85ef2eef incremental-22.10.0.tar.gz |
