From f8dd5b19271ef3e7d4255597019198b5107d036c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 09:22:51 +0000 Subject: automatic import of python-pykrete --- .gitignore | 1 + python-pykrete.spec | 138 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 140 insertions(+) create mode 100644 python-pykrete.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..50a4369 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pykrete-1.4.7.tar.gz diff --git a/python-pykrete.spec b/python-pykrete.spec new file mode 100644 index 0000000..5f91829 --- /dev/null +++ b/python-pykrete.spec @@ -0,0 +1,138 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pykrete +Version: 1.4.7 +Release: 1 +Summary: Build script foundation +License: MIT +URL: http://ait-tool-center.iil.intel.com/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a1/14/f1ad27cd153006b913b461e5009a7f86b70fa7aa8d347e4df3e7f1fb3d12/pykrete-1.4.7.tar.gz +BuildArch: noarch + + +%description +# python-utils +Common python utilities, currently for Build scripts + +## pykrete +Python package for import in Build scripts: +pykrete +|-- args - argument types verifiers +|-- builder - build management +|-- calls - shell calls +|-- ci - manage Continuous Integration +|-- credentials - manage access credentials +|-- distrib - distutils commands +| . |-- pylint - pylint commands +|-- io - I/O management +| . |-- file - file I/O +|-- logging - logging helpers +|-- packages - package management +|-- patterns - Design patterns bases +| . |-- visitor - Visitor pattern bases +|-- repo - repository management +|-- source - source code management +|-- tools - tool wrappers +|-- versioning - version management + +%package -n python3-pykrete +Summary: Build script foundation +Provides: python-pykrete +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pykrete +# python-utils +Common python utilities, currently for Build scripts + +## pykrete +Python package for import in Build scripts: +pykrete +|-- args - argument types verifiers +|-- builder - build management +|-- calls - shell calls +|-- ci - manage Continuous Integration +|-- credentials - manage access credentials +|-- distrib - distutils commands +| . |-- pylint - pylint commands +|-- io - I/O management +| . |-- file - file I/O +|-- logging - logging helpers +|-- packages - package management +|-- patterns - Design patterns bases +| . |-- visitor - Visitor pattern bases +|-- repo - repository management +|-- source - source code management +|-- tools - tool wrappers +|-- versioning - version management + +%package help +Summary: Development documents and examples for pykrete +Provides: python3-pykrete-doc +%description help +# python-utils +Common python utilities, currently for Build scripts + +## pykrete +Python package for import in Build scripts: +pykrete +|-- args - argument types verifiers +|-- builder - build management +|-- calls - shell calls +|-- ci - manage Continuous Integration +|-- credentials - manage access credentials +|-- distrib - distutils commands +| . |-- pylint - pylint commands +|-- io - I/O management +| . |-- file - file I/O +|-- logging - logging helpers +|-- packages - package management +|-- patterns - Design patterns bases +| . |-- visitor - Visitor pattern bases +|-- repo - repository management +|-- source - source code management +|-- tools - tool wrappers +|-- versioning - version management + +%prep +%autosetup -n pykrete-1.4.7 + +%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-pykrete -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot - 1.4.7-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..16c9253 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +b371e661b6cc7847755dd638bab42a45 pykrete-1.4.7.tar.gz -- cgit v1.2.3