Open D3vil0p3r opened 1 month ago
--no-deps
is specified, which ignores dependencies of package. It would be much cleaner IMO to install packages python-installer instead of PIP.
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
AUR package does it this way. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-thinc
Question
On PKGBUILD with PEP517 template like python-thinc, since in
package()
thepip install
command is run, I guess it will install all the dependencies specified inpyproject.toml
file. At this point, is there a sense to still specify dependencies independs
variable of PKGBUILD if they are already installed bypip install
?