[MacPorts] #70306: PasswordSafe: request to add a port

MacPorts noreply at macports.org
Sun Jun 30 01:46:16 UTC 2024


#70306: PasswordSafe: request to add a port
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  request       |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:  gnome
      Port:  PasswordSafe  |
---------------------------+--------------------

Comment (by JDLH):

 This is interesting!

 I don't know this project tooling well, but I do know Python a bit. I
 suspect that the Python dependencies are listed in
 [https://github.com/FalkAlexander/PasswordSafe/blob/e38d04d18db2faa2be0fa04dfadd0ce3d0c0b329/meson.build#L32-L37
 `meson.build`:L32-L37]:

 > 'pykeepass', 'pyotp', 'validators', 'zxcvbn', 'PyKCS11', 'yubico'

 As I understand it, the Python convention for handling dependencies is to
 make a virtual environment specific to the project, install the
 dependencies from PyPI.org in that environment, and build.  This is
 different from the MacPorts convention of turning Python libraries into
 ports, and installing them in the global MacPorts environment.  As I look
 at that list of Python dependencies, I feel reluctant to make all of them
 into MacPorts ports.

 There also appear to be some
 [https://github.com/FalkAlexander/PasswordSafe/blob/e38d04d18db2faa2be0fa04dfadd0ce3d0c0b329/meson.build#L50-L54
 Gnome library dependencies]:

 > 'glib-2.0', 'gio-2.0', 'gobject-introspection-1.0', 'gtk4',
 'libadwaita-1'

 Those might be straightforward, and perhaps have ports already. I have not
 looked.

 I hope these thoughts help the next person to work on this. I am not
 promising to take it on myself, sorry.

-- 
Ticket URL: <https://trac.macports.org/ticket/70306#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list