You are not logged in.
pybind11 remove the setup.py and the setup dont work by default
I change the following lines and for me work:
build() {
cd ${_base}-${pkgver}
pypy3 setup.py build
}
package() {
cd ${_base}-${pkgver}
PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" pypy3 setup.py install --prefix=/opt/pypy3 --root="$pkgdir" --skip-build --optimize='1'
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}for
build() {
cd ${_base}-${pkgver}
python -m build
}
package() {
cd ${_base}-${pkgver}
PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" pypy3 -m pip install . --prefix=/opt/pypy3 --root="$pkgdir"
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}I hope that help to fix the issue
Offline
I'm confused. What, exactly, are you trying to do? Where is this partial PKGBUILD from?
Online
Hi:
The PKGBUILD is from the package pybind11. The package download the sources fron github. the team from pybind11 remove the file setup.py from the sources. When i try to update to pybind11 3.0.0-1 i get an error that said the setup.py not found.
They give me this link "https://packaging.python.org/en/latest/discussions/setup-py-deprecated/#what-commands-should-be-used-instead "
Offline
Hi:
The PKGBUILD is from the package pybind11. The package download the sources fron github. the team from pybind11 remove the file setup.py from the sources. When i try to update to pybind11 3.0.0-1 i get an error that said the setup.py not found.
https://aur.archlinux.org/packages/pypy3-pybind11 is not https://archlinux.org/packages/extra/any/pybind11/ which does not use setup.py for the reasons you mentioned.
Edit:
Please consider notifying the maintainer of pypy3-pybind11 that their latest update https://aur.archlinux.org/cgit/aur.git/ … bf2f8b78c8 breaks the build.
Last edited by loqs (2025-07-21 22:35:41)
Offline
OMG, Sorry for the mistake
Offline
Mod note: moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline