diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:38:14 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:38:14 +0000 |
| commit | d06ac0ca2d249bc1e9efca11f7ec6232f6d1fe25 (patch) | |
| tree | 6929bd5f79ff9e43b762fe2f75e599591e64897b | |
| parent | 6c9b87c6a11af679fa4bd2a825087e6a0b79019a (diff) | |
automatic import of python-pythonic
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-pythonic.spec | 81 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 83 insertions, 0 deletions
@@ -0,0 +1 @@ +/Pythonic-1.11.tar.gz diff --git a/python-pythonic.spec b/python-pythonic.spec new file mode 100644 index 0000000..5a47c59 --- /dev/null +++ b/python-pythonic.spec @@ -0,0 +1,81 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Pythonic +Version: 1.11 +Release: 1 +Summary: Graphical automation tool +License: GPLv3 +URL: https://github.com/hANSIc99/Pythonic +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2f/36/1b642d3dae036ba19a960bfabc5dfc84fb995ded2a8956e01d5972839b89/Pythonic-1.11.tar.gz +BuildArch: noarch + + +%description +# Pythonic + +You can find a detailed description and +source files available at [Github](https://github.com/hANSIc99/Pythonics) + +%package -n python3-Pythonic +Summary: Graphical automation tool +Provides: python-Pythonic +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Pythonic +# Pythonic + +You can find a detailed description and +source files available at [Github](https://github.com/hANSIc99/Pythonics) + +%package help +Summary: Development documents and examples for Pythonic +Provides: python3-Pythonic-doc +%description help +# Pythonic + +You can find a detailed description and +source files available at [Github](https://github.com/hANSIc99/Pythonics) + +%prep +%autosetup -n Pythonic-1.11 + +%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-Pythonic -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 1.11-1 +- Package Spec generated @@ -0,0 +1 @@ +365575f527b6820e9cb37605be2fabc9 Pythonic-1.11.tar.gz |
