diff --git a/python-simpy.spec b/python-simpy.spec new file mode 100644 index 0000000000000000000000000000000000000000..d695a4cd555afef740bdd1399d914deeace4d403 --- /dev/null +++ b/python-simpy.spec @@ -0,0 +1,79 @@ +%global srcname simpy +%global sum Python simulation framework + +Name: python-%{srcname} +Version: 3.0.9 +Release: 1 +Summary: %{sum} +License: LGPLv2+ +URL: https://www.freshports.org/devel/py-simpy +Source0: https://files.pythonhosted.org/packages/source/s/simpy/simpy-3.0.9.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + + +%description +SimPy (= Simulation in Python) is an object-oriented, process-based +discrete-event simulation language based on standard Python. It +provides the modeler with components of a simulation model including +processes, for active components like customers, messages, and +vehicles, and resources, for passive components that form limited +capacity congestion points like servers, checkout counters, and +tunnels. It also provides monitor variables to aid in gathering +statistics. Random variates are provided by the standard Python random +module. + + +%package -n python3-%{srcname} +Summary: %{sum} +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} +SimPy (= Simulation in Python3) is an object-oriented, process-based +discrete-event simulation language based on standard Python. It +provides the modeler with components of a simulation model including +processes, for active components like customers, messages, and +vehicles, and resources, for passive components that form limited +capacity congestion points like servers, checkout counters, and +tunnels. It also provides monitor variables to aid in gathering +statistics. Random variates are provided by the standard Python random +module. + + +%package doc +Summary: Documentation for SimPy, the Python simulation framework + +%description doc +SimPy (= Simulation in Python) is an object-oriented, process-based +discrete-event simulation language based on standard Python. This +package contains the documentation including source code documentation. + + +%prep +%setup -q -n simpy-%{version} + +%build +%py3_build + + +%install +rm -rf $RPM_BUILD_ROOT +%py3_install + + +%files -n python3-%{srcname} +%{python3_sitelib}/* +%doc CHANGES.txt AUTHORS.txt README.txt PKG-INFO +%license LICENSE.txt + + +%files doc +%doc docs/examples/ + + +%changelog +* Thu Jul 08 2021 wanglixing -3.0.9 +- init project diff --git a/simpy-3.0.9.tar.gz b/simpy-3.0.9.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1d8030289848c4f1041765017efd17c014628456 Binary files /dev/null and b/simpy-3.0.9.tar.gz differ