Package Details: linode-cli 5.67.0-1

Git Clone URL: https://aur.archlinux.org/linode-cli.git (read-only, click to copy)
Package Base: linode-cli
Description: Linode API wrapper
Upstream URL: https://techdocs.akamai.com/cloud-computing/docs/cli
Keywords: cli python
Licenses: BSD-3-Clause
Replaces: linode-cli-dev
Submitter: slithery
Maintainer: morgenstern
Last Packager: morgenstern
Votes: 11
Popularity: 0.000000
First Submitted: 2015-08-12 20:52 (UTC)
Last Updated: 2026-04-25 09:14 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

the-k commented on 2022-01-30 23:32 (UTC)

BTW, another option is to just use the wheel package from PyPI according to https://wiki.archlinux.org/title/Python_package_guidelines#Source. This way, we wouldn't have to patch anything, including Makefile.

morgenstern commented on 2022-01-30 23:17 (UTC) (edited on 2022-01-30 23:31 (UTC) by morgenstern)

@the-k agreed, I will see what I can do in the interim.

EDIT - I have pushed an updated PKGBUILD that includes your sed command to patch setup.py. Let me know if that causes any issues. Thanks for the help.

the-k commented on 2022-01-30 23:10 (UTC)

@morgenstern I agree with you, but until it's fixed upstream, we might wanna implement one of my suggestions. Perhaps we can patch setup.py directly with something like sed -i "s/\(version=\)get_version()/\1'${pkgver}'/" setup.py in prepare(). It's very easy to add or remove and it's not blocked by the upstream.

morgenstern commented on 2022-01-30 20:17 (UTC)

@the-k if upstream is going to release tagged versions, then in my opinion they should fix their code that handles the version string so that it is independent of the git repository. I will open an issue upstream when I have the time.

the-k commented on 2022-01-30 09:39 (UTC) (edited on 2022-01-30 09:40 (UTC) by the-k)

The package version is broken as it says fatal.-.N.o instead of 5.15.0. This is likely due to https://github.com/linode/linode-cli/blob/db1c3793c14e208da919ed4fa591daf2cc68c434/version, which expects to be run in the Git repository. Therefore, this package should either switch to using the Git repository or patch the script to simply print the version from ${pkgver}.

morgenstern commented on 2021-05-09 04:54 (UTC)

Fixed, thanks @nogweii.

nogweii commented on 2021-05-09 04:42 (UTC)

@morgenstern there is an unspecified make dependency on python-setuptools. Attempting to build this package in a clean container/chroot after the update to 5.2.0 results in a "ModuleNotFoundError: No module named 'pkg_resources'" error. That module is provided by python-setuptools, which is commonly pulled in as a dependency on one way or another, so it's not surprising it was missed. :)

morgenstern commented on 2021-02-27 23:58 (UTC)

@krathalan thanks, fixed.

krathalan commented on 2021-02-27 23:28 (UTC)

The upstream URL should be https://github.com/linode/linode-cli. Notice the Github user has changed from "linode-cli" to just "linode". Your source=() array seems to fix this but $url doesn't.

Thanks for the great PKGBUILD.

morgenstern commented on 2021-02-06 22:37 (UTC)

As of version 3.2.1.20201118-4, this package has been updated to the enum34 commit and patched to eliminate any Python 2 dependencies.