5 Star 0 Fork 4

src-openEuler/python-simpy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-simpy.spec 2.58 KB
一键复制 编辑 原始数据 按行查看 历史
jiangxinyu 提交于 2024-03-19 16:11 . Update package to version 4.1.1
%global _empty_manifest_terminate_build 0
Name: python-simpy
Version: 4.1.1
Release: 1
Summary: Event discrete, process based simulation for Python.
License: MIT
URL: https://gitlab.com/team-simpy/simpy
Source0: https://files.pythonhosted.org/packages/a8/66/860505ec021a16f9d8cf4b8c4d60ee07bb427649b643312303698c93b551/simpy-4.1.1.tar.gz
BuildArch: noarch
%description
SimPy is a process-based discrete-event simulation framework based on standard
Python. Processes in SimPy are defined by Python `generator`__ functions and
can, for example, be used to model active components like customers, vehicles or
agents. SimPy also provides various types of shared resources to model
limited capacity congestion points (like servers, checkout counters and tunnels).
%package -n python3-simpy
Summary: Event discrete, process based simulation for Python.
Provides: python-simpy = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-setuptools_scm
%description -n python3-simpy
SimPy is a process-based discrete-event simulation framework based on standard
Python. Processes in SimPy are defined by Python `generator`__ functions and
can, for example, be used to model active components like customers, vehicles or
agents. SimPy also provides various types of shared resources to model
limited capacity congestion points (like servers, checkout counters and tunnels).
%package help
Summary: Development documents and examples for simpy
Provides: python3-simpy-doc
%description help
SimPy is a process-based discrete-event simulation framework based on standard
Python. Processes in SimPy are defined by Python `generator`__ functions and
can, for example, be used to model active components like customers, vehicles or
agents. SimPy also provides various types of shared resources to model
limited capacity congestion points (like servers, checkout counters and tunnels).
%prep
%autosetup -n simpy-%{version}
%build
%pyproject_build
%install
%pyproject_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
%files -n python3-simpy
%{python3_sitelib}/*
%files help
%{_docdir}/*
%changelog
* Tue Mar 19 2024 jiangxinyu <[email protected]> - 4.1.1-1
- Update package to version 4.1.1
* Tue Aug 02 2022 liukuo <[email protected]> - 4.0.1-2
- License compliance rectification
* Mon Sep 27 2021 Python_Bot <[email protected]> - 4.0.1-1
- Package Init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-simpy.git
[email protected]:src-openeuler/python-simpy.git
src-openeuler
python-simpy
python-simpy
master

搜索帮助