%global _empty_manifest_terminate_build 0 Name: python-parallelworkloads Version: 0.1.3 Release: 1 Summary: A Python Wrapper for the workload model proposed by Lublin License: MIT License URL: https://github.com/renatolfc/parallelworkloads Source0: https://mirrors.nju.edu.cn/pypi/web/packages/81/29/1e3f32c0d615dc1040333bc25b7c35f00a0a0b20274648976ad9de8d89ea/parallelworkloads-0.1.3.tar.gz BuildArch: noarch Requires: python3-cython %description A Python port of the Workload Model proposed by Lublin & Feitelson. The following code shows how to use it: from parallelworkloads import lublin99 w = lublin99.Lublin99(1, 2) # Will use both batch and interactive jobs w.numJobs=4 # will generate four jobs w.generate() # The four generated jobs are shown below [SwfJob(jobId=1, submissionTime=103, waitTime=-1, runTime=12379, allocProcs=16, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=1, partNum=-1, precedingJob=-1, thinkTime=-1), SwfJob(jobId=2, submissionTime=3089, waitTime=-1, runTime=177, allocProcs=16, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=1, partNum=-1, precedingJob=-1, thinkTime=-1), SwfJob(jobId=3, submissionTime=3150, waitTime=-1, runTime=10, allocProcs=2, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=0, partNum=-1, precedingJob=-1, thinkTime=-1), SwfJob(jobId=4, submissionTime=3172, waitTime=-1, runTime=7, allocProcs=32, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=0, partNum=-1, precedingJob=-1, thinkTime=-1)] %package -n python3-parallelworkloads Summary: A Python Wrapper for the workload model proposed by Lublin Provides: python-parallelworkloads BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-parallelworkloads A Python port of the Workload Model proposed by Lublin & Feitelson. The following code shows how to use it: from parallelworkloads import lublin99 w = lublin99.Lublin99(1, 2) # Will use both batch and interactive jobs w.numJobs=4 # will generate four jobs w.generate() # The four generated jobs are shown below [SwfJob(jobId=1, submissionTime=103, waitTime=-1, runTime=12379, allocProcs=16, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=1, partNum=-1, precedingJob=-1, thinkTime=-1), SwfJob(jobId=2, submissionTime=3089, waitTime=-1, runTime=177, allocProcs=16, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=1, partNum=-1, precedingJob=-1, thinkTime=-1), SwfJob(jobId=3, submissionTime=3150, waitTime=-1, runTime=10, allocProcs=2, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=0, partNum=-1, precedingJob=-1, thinkTime=-1), SwfJob(jobId=4, submissionTime=3172, waitTime=-1, runTime=7, allocProcs=32, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=0, partNum=-1, precedingJob=-1, thinkTime=-1)] %package help Summary: Development documents and examples for parallelworkloads Provides: python3-parallelworkloads-doc %description help A Python port of the Workload Model proposed by Lublin & Feitelson. The following code shows how to use it: from parallelworkloads import lublin99 w = lublin99.Lublin99(1, 2) # Will use both batch and interactive jobs w.numJobs=4 # will generate four jobs w.generate() # The four generated jobs are shown below [SwfJob(jobId=1, submissionTime=103, waitTime=-1, runTime=12379, allocProcs=16, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=1, partNum=-1, precedingJob=-1, thinkTime=-1), SwfJob(jobId=2, submissionTime=3089, waitTime=-1, runTime=177, allocProcs=16, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=1, partNum=-1, precedingJob=-1, thinkTime=-1), SwfJob(jobId=3, submissionTime=3150, waitTime=-1, runTime=10, allocProcs=2, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=0, partNum=-1, precedingJob=-1, thinkTime=-1), SwfJob(jobId=4, submissionTime=3172, waitTime=-1, runTime=7, allocProcs=32, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=0, partNum=-1, precedingJob=-1, thinkTime=-1)] %prep %autosetup -n parallelworkloads-0.1.3 %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-parallelworkloads -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 0.1.3-1 - Package Spec generated