@gothicVI yes its due to the code being python3 flavored, I doubt that it can be made compatible with python2.
EDIT: pushed a change that forces python3 to be used.
Git Clone URL: | https://aur.archlinux.org/python-eduvpn-client.git (read-only, click to copy) |
---|---|
Package Base: | python-eduvpn-client |
Description: | Linux client and Python client API for eduVPN |
Upstream URL: | https://codeberg.org/eduVPN/linux-app |
Keywords: | vpn |
Licenses: | GPL-3.0-or-later |
Submitter: | hv15 |
Maintainer: | hv15 |
Last Packager: | hv15 |
Votes: | 6 |
Popularity: | 0.080952 |
First Submitted: | 2021-04-21 07:42 (UTC) |
Last Updated: | 2024-12-25 08:55 (UTC) |
@gothicVI yes its due to the code being python3 flavored, I doubt that it can be made compatible with python2.
EDIT: pushed a change that forces python3 to be used.
Installation fails with
==> Starting build()...
File "setup.py", line 39
def extra_files_line(dir_: str):
^
SyntaxError: invalid syntax
==> ERROR: A failure occurred in build().
Aborting...
error making: python-eduvpn-client
EDIT: Somewhat solved:
I have ~/bin/python
being a symlink to /bin/python2
in order to have some old scripts working.
Removing that symlink allowed for a smooth build...
Maybe this can be addressed upstream. I'll add that to my issue here:
https://github.com/eduvpn/python-eduvpn-client/issues/411
@lowph thanks!
I had to add python-wheel to the depends array and python-pip to the makedepends to get it to build.
Pinned Comments
hv15 commented on 2023-03-07 14:28 (UTC)
Re-added signature, users need to retrieve the PGP public key from upstream: https://app.eduvpn.org/linux/v4/deb/app+linux@eduvpn.org.asc.
For convenience, you can also do the following (note the dash - at the end of the line!):