Package Details: virtualfish 2.5.7-4

Git Clone URL: https://aur.archlinux.org/virtualfish.git (read-only, click to copy)
Package Base: virtualfish
Description: Fish shell tool for managing Python virtual environments
Upstream URL: https://github.com/justinmayer/virtualfish
Keywords: environment fish python virtual
Licenses: MIT
Submitter: XenGi
Maintainer: XenGi
Last Packager: XenGi
Votes: 10
Popularity: 0.48
First Submitted: 2017-09-24 15:17 (UTC)
Last Updated: 2024-04-15 09:38 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4

eschwartz commented on 2018-07-01 15:04 (UTC)

Uh.

That's not how it works.

This package abuses depends=() to provide makedepends

They do, all four of them, need to be makedepends... And makedepends inside the package_*() function is not makepkg metadata, it is just line noise. You might as well define the useless variable uselessvariable=('python-setuptools'), because inside a package function they both do the same (i.e. nothing).

Incidentally, the setup.py claims that this depends on python-xdg and python-psutil (for the new loader that does not ask you to eval things in your shell configuration, which is slow.)

So you'll need to add all of these dependencies for both python and python2, to the global makedepends, then additionally add all of them for python to the package_python-virtualfish() depends, and likewise for the python2 ones in package_python2-virtualfish.

setuptools is absolutely a runtime dependency, as it uses automatic script creation per https://wiki.archlinux.org/index.php/Python_package_guidelines#setuptools

XenGi commented on 2018-07-01 14:40 (UTC)

Fixed it. Thx for helping out!

eschwartz commented on 2018-01-28 18:29 (UTC)

This package abuses depends=() to provide makedepends, and then overwrites the depends=() array in the split package functions.

Please fix this by properly using makedepends, as this breaks reliable determination of the build dependency tree.