Re: question on py-simpy

2023-01-08 Thread Richard L. Hamilton

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  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 /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 
>>  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? Shoul

Re: question on py-simpy

2023-01-08 Thread Giuseppe 'ferdy' Miceli
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 /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 
>  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
> artem...@mac.com
> 



question on py-simpy

2023-01-08 Thread Artemio González López via macports-users
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
artem...@mac.com



smime.p7s
Description: S/MIME cryptographic signature