Package Details: salt-onedir 3007.1-2

Git Clone URL: https://aur.archlinux.org/salt-onedir.git (read-only, click to copy)
Package Base: salt-onedir
Description: Central system and configuration manager (onedir installation +[])
Upstream URL: http://saltstack.org/
Licenses: Apache-2.0
Conflicts: salt, salt-raet, salt-zmq
Provides: salt
Replaces: salt-raet, salt-zmq
Submitter: spookfish
Maintainer: spookfish
Last Packager: spookfish
Votes: 2
Popularity: 0.073967
First Submitted: 2024-05-20 17:10 (UTC)
Last Updated: 2024-10-05 12:15 (UTC)

Latest Comments

spookfish commented on 2024-11-17 15:35 (UTC)

Hi @ogarcia

Thank you for your suggestion! I've heard of uv but didn't get to play around with it yet. I'll give this a try as soon as time permits :)

ogarcia commented on 2024-11-17 10:41 (UTC)

Hi @spookfish first of all, I am not a salt user, I just came here because of the topic I have seen on the mailing lists that the package is going to be officially abandoned because of the problem with Python. That said, I just came to tell you that you might be more comfortable using uv to create the package. It would be something like this (I put only the most relevant):

makedepends=('rsync' 'uv')

# create the venv environment into which we will install Salt
uv venv -p 3.10.15 "${onedir}"

# Install salt into the relenv environment
# Note: This must be an absolute path, otherwise pip interprets it as pkg name
uv pip install "${srcdir}/salt-${pkgver}" --directory "${onedir}"
# Add additional python deps for Salt
if [[ -n ${SALT_ADDITIONAL_PIP_PACKAGES} ]]; then
  uv pip install ${SALT_ADDITIONAL_PIP_PACKAGES} --directory "${onedir}"
fi

If you already know uv or have already thought about it, forget what I said, if not, keep an eye on it as you may be able to create the package much faster (and the good thing is that uv is an official Arch package).

Greetings.

spookfish commented on 2024-08-18 14:40 (UTC)

Hi @StefanT,

Thank you for comment. Good to know that there is a relenv distribution for aarch64. I will update the supported architectures accordingly!

Regarding the makedepends: AUR packages assume base-devel is installed as prerequisite (ref: https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites), which is why packages from that group are not listed in makedepends.

StefanT commented on 2024-08-18 09:43 (UTC)

I installed the package on a fresh aarch64 system. It took quite some time to build but in the end it worked. Some things I noticed:

  • these packages are missing in the makedepends: gcc, patch
  • please add 'aarch64' to the supported architectures

Thank you for providing salt-onedir!