pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/cad/py-simpy



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jan 22 09:30:16 UTC 2025

Modified Files:
        pkgsrc/cad/py-simpy: Makefile PLIST distinfo

Log Message:
py-simpy: updated to 4.1.1

4.1.1 - 2023-11-12

- [FIX] ``EventCallback`` typing using ``TypeVar``
- [FIX] suppress some pyright typecheck issues involving ClassVars
- [CHANGE] some inner exceptions are now raise from None
- [CHANGE] ``Event.fail`` raises ``TypeError`` if it is not passed an ``Exception``
- [CHANGE] use ruff for code formatting and linting
- [CHANGE] add pyright typechecking to test suite
- [CHANGE] code refactoring for ruff conformance
- [DOCS] update examples to fix various lint issues

4.1.0 - 2023-11-05

- [BREAKING] Python 3.8 is the minimum supported version
- [BREAKING] Contemporary setuptools based packaging
- [NEW] Add ``Process.name`` property
- [FIX] Support Python 3.12
- [CHANGE] use PEP-563 postponed evaluation of annotations
- [CHANGE] remove __path__ munging for namespace package
- [DOCS] Fix machine shop example to avoid negative times
- [DOCS] Update to sphinx 7.2.6
- [DOCS] Remove sys.path hack in sphinx config
- [DOCS] Remove sphinx ``TYPE_CHECKING`` circular import hack
- [DOCS] Remove sphinx extensions circular import hack
- [DOCS] SimJulia renamed to ConcurrentSim.jl

4.0.2 - 2023-07-30

- [CHANGE] Tested with Python 3.9, 3.10, and 3.11
- [CHANGE] Improved docs w.r.t. triggered and processed events
- [CHANGE] Improved gas station example
- [FIX] ClassVar annotations in BaseResource
- [FIX] Documentation typos
- [FIX] Help static analyzers find exported symbols
- [FIX] ``license_file`` deprecation in setup.cfg
- [FIX] Do not re-annotate type of ``__path__``
- [FIX] Annotate ``ConditionValue.__init__()`` return value
- [FIX] Unbreak docs build by updating to Sphinx 6.2.1
- [FIX] Workaround Sphinx circular import problem

4.0.1 - 2020-04-15

- [FIX] Typing repair for Get and Put as ContextManagers

4.0.0 - 2020-04-06

- [BREAKING] Python 3.6 is the minimum supported version
- [BREAKING] ``BaseEnvironment`` is eliminated. Inherit ``Environment`` instead.
- [BREAKING] ``Environment.exit()`` is eliminated. Use ``return`` instead.
- [NEW] "Porting from SimPy 3 to 4" topical guide in docs
- [NEW] SimPy is now fully type annotated (PEP-483, PEP-484)
- [NEW] PEP-517/PEP-518 compatible build system


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/cad/py-simpy/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/cad/py-simpy/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/cad/py-simpy/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/cad/py-simpy/Makefile
diff -u pkgsrc/cad/py-simpy/Makefile:1.25 pkgsrc/cad/py-simpy/Makefile:1.26
--- pkgsrc/cad/py-simpy/Makefile:1.25   Tue Jan  4 20:52:36 2022
+++ pkgsrc/cad/py-simpy/Makefile        Wed Jan 22 09:30:16 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2022/01/04 20:52:36 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2025/01/22 09:30:16 adam Exp $
 
-DISTNAME=      simpy-3.0.11
+DISTNAME=      simpy-4.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    cad math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/simpy/}
 
@@ -11,5 +10,8 @@ HOMEPAGE=     https://simpy.readthedocs.io/
 COMMENT=       Discrete event simulation framework
 LICENSE=       mit
 
-.include "../../lang/python/egg.mk"
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=64:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=8.0:../../devel/py-setuptools
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/cad/py-simpy/PLIST
diff -u pkgsrc/cad/py-simpy/PLIST:1.10 pkgsrc/cad/py-simpy/PLIST:1.11
--- pkgsrc/cad/py-simpy/PLIST:1.10      Tue Nov 20 11:49:38 2018
+++ pkgsrc/cad/py-simpy/PLIST   Wed Jan 22 09:30:16 2025
@@ -1,14 +1,12 @@
-@comment $NetBSD: PLIST,v 1.10 2018/11/20 11:49:38 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.11 2025/01/22 09:30:16 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.rst
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/simpy/__init__.py
 ${PYSITELIB}/simpy/__init__.pyc
 ${PYSITELIB}/simpy/__init__.pyo
-${PYSITELIB}/simpy/_compat.py
-${PYSITELIB}/simpy/_compat.pyc
-${PYSITELIB}/simpy/_compat.pyo
 ${PYSITELIB}/simpy/core.py
 ${PYSITELIB}/simpy/core.pyc
 ${PYSITELIB}/simpy/core.pyo
@@ -18,6 +16,7 @@ ${PYSITELIB}/simpy/events.pyo
 ${PYSITELIB}/simpy/exceptions.py
 ${PYSITELIB}/simpy/exceptions.pyc
 ${PYSITELIB}/simpy/exceptions.pyo
+${PYSITELIB}/simpy/py.typed
 ${PYSITELIB}/simpy/resources/__init__.py
 ${PYSITELIB}/simpy/resources/__init__.pyc
 ${PYSITELIB}/simpy/resources/__init__.pyo

Index: pkgsrc/cad/py-simpy/distinfo
diff -u pkgsrc/cad/py-simpy/distinfo:1.13 pkgsrc/cad/py-simpy/distinfo:1.14
--- pkgsrc/cad/py-simpy/distinfo:1.13   Tue Oct 26 10:04:15 2021
+++ pkgsrc/cad/py-simpy/distinfo        Wed Jan 22 09:30:16 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 10:04:15 nia Exp $
+$NetBSD: distinfo,v 1.14 2025/01/22 09:30:16 adam Exp $
 
-BLAKE2s (simpy-3.0.11.tar.gz) = 48055812d81245afb9f4bef37002b0be23ee738d8c0fcf2e12f85f11f38f0fcb
-SHA512 (simpy-3.0.11.tar.gz) = df18815b77daf14d3a8a9befe18a431c3ab700ae9cad288eac71770435d2f7b6033c5157635d95c94e993f948dbf20143faa3a725d850377c3b51743d512558b
-Size (simpy-3.0.11.tar.gz) = 388624 bytes
+BLAKE2s (simpy-4.1.1.tar.gz) = 920911022b2460b09adf11039a75f3dc91d5ebce7350407d74525ca4e2a0fa83
+SHA512 (simpy-4.1.1.tar.gz) = f7e84ceb92285eb0f282892be5eba7bb6e2ba538ecb45221600c41a39aba77cfb0455c9e99ed2c688af0aca8d390f1afe9b6849b4a30be05fb5b7faec27b7253
+Size (simpy-4.1.1.tar.gz) = 408997 bytes



Home | Main Index | Thread Index | Old Index