question on py-simpy
Richard L. Hamilton
rlhamil at smart.net
Sun Jan 8 16:34:49 UTC 2023
sh-3.2$ port contents py-simpy
Port py-simpy contains:
/opt/local/share/doc/py-simpy/README
sh-3.2$ cat /opt/local/share/doc/py-simpy/README
py-simpy is a stub port
(installing it causes py39-simpy to be installed)
sh-3.2$ port contents py39-simpy
Port py39-simpy contains:
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy-4.0.1-py3.9.egg-info/PKG-INFO
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy-4.0.1-py3.9.egg-info/SOURCES.txt
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy-4.0.1-py3.9.egg-info/dependency_links.txt
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy-4.0.1-py3.9.egg-info/not-zip-safe
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy-4.0.1-py3.9.egg-info/top_level.txt
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/__init__.py
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/__pycache__/__init__.cpython-39.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/__pycache__/core.cpython-39.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/__pycache__/events.cpython-39.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/__pycache__/exceptions.cpython-39.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/__pycache__/rt.cpython-39.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/__pycache__/util.cpython-39.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/core.py
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/events.py
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/exceptions.py
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/py.typed
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/resources/__init__.py
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/resources/__pycache__/__init__.cpython-39.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/resources/__pycache__/base.cpython-39.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/resources/__pycache__/container.cpython-39.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/resources/__pycache__/resource.cpython-39.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/resources/__pycache__/store.cpython-39.pyc
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/resources/base.py
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/resources/container.py
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/resources/resource.py
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/resources/store.py
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/rt.py
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simpy/util.py
> On Jan 8, 2023, at 10:30 AM, Giuseppe 'ferdy' Miceli <ferdy at ferdy.it> wrote:
>
> ciao,
>
> as rule of thumb, python modules ports have supbort for different python version.
>
> you can see what specific python version subport the generic port install (based on your default variants in <prefix>/etc/macports/variants.conf) looking at the library dependencies.
>
> py-simpy @4.0.1_1 (python)
> Sub-ports: py37-simpy, py38-simpy, py39-simpy, py37-simpy-docs, py38-simpy-docs, py39-simpy-docs
>
> Description: SimPy is an object-oriented, process-based discrete-event simulation language based on standard Python.
> Homepage: https://simpy.readthedocs.io
>
> Library Dependencies: py39-simpy
>
>
> thus: no, this is not a conflict and no, you are not supposed to uninstall any of them.
>
> hth,
> —
> ferdy
>
>> On 8 Jan 2023, at 15:32, Artemio González López via macports-users <macports-users at lists.macports.org> wrote:
>>
>> I just installed py39-simpy, without realizing that py-simpy was actually installed. So now
>>
>> port installed py\*-simpy
>>
>> produces
>>
>> The following ports are currently installed:
>> py-simpy @4.0.1_1 (active)
>> py39-simpy @4.0.1_0 (active)
>>
>> Is this a conflict? Should I uninstall one of the two ports? And, more generally, how does a generic port like py-simpy works compared to installing whatever version of py-simpy by hand?
>>
>> Thanks a lot in advance,
>>
>> Artemio
>>
>>
>> Artemio Gonzalez Lopez
>> artemiog at mac.com
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20230108/11e40b5d/attachment.htm>
More information about the macports-users
mailing list