Opened 5 months ago

Last modified 5 months ago

#70306 new request

PasswordSafe: request to add a port

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: gnome Cc:
Port: PasswordSafe

Description

It will be nice to have this in MacPorts: https://github.com/FalkAlexander/PasswordSafe

(It needs some Python stuff to be added, which I am not good with.)

Change History (2)

comment:1 Changed 5 months ago by JDLH (Jim DeLaHunt)

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 `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 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.

comment:2 in reply to:  1 Changed 5 months ago by barracuda156

Replying to JDLH:

We have everything Gnome for this (I recently made a port for libadwaita), only Python stuff is missing. However I am not on friendly terms with Python, so hope someone will step in to help with that. If Python stuff is sorted, I can do the rest myself, I guess.

Note: See TracTickets for help on using tickets.