Package Details: python-audible-cli 0.2.4-2

Git Clone URL: https://aur.archlinux.org/python-audible-cli.git (read-only, click to copy)
Package Base: python-audible-cli
Description: Command line interface (cli) for the audible package.
Upstream URL: https://github.com/mkb79/audible-cli
Licenses: AGPL3
Conflicts: python-audible-cli
Provides: python-audible-cli
Submitter: mattski
Maintainer: mattski
Last Packager: mattski
Votes: 0
Popularity: 0.000000
First Submitted: 2022-10-25 07:18 (UTC)
Last Updated: 2022-10-25 07:31 (UTC)

Latest Comments

dreieck commented on 2024-03-26 13:01 (UTC)

Build with setup.py should no longer be used.

Please, add to makedepends 'python-build' 'python-installer' 'python-wheel', and then use in build():

python -m build --wheel --no-isolation

and in package():

python -m installer --destdir="${pkgdir}" dist/*.whl

instead of the calls to setup.py.

Regards and thanks for maintaining!

dreieck commented on 2024-03-26 12:51 (UTC)

Version 0.3.2b1 is available.

dreieck commented on 2023-04-26 10:54 (UTC)

Tab completion files are available. Can you install them, too?

Regards!

dreieck commented on 2023-04-26 10:47 (UTC) (edited on 2023-04-26 10:47 (UTC) by dreieck)

Can you please rename your package to audible-cli, since it provides end-user executable? (And you might want to add replaces=("python-audible-cli"), provides=("python-audible-cli=${pkgver}"), conflicts=("python-audible-cli").)

Regards!

dreieck commented on 2023-04-26 10:45 (UTC)

To make this work with newer versions of python-httpx, the upper version restriction needs to be removed.

A patch that does it: remove-httpx-upper-version-restriction.patch:

diff -U0 -r audible-cli-0.2.4.orig/setup.py audible-cli-0.2.4/setup.py
--- audible-cli-0.2.4.orig/setup.py 2023-04-26 12:35:55.889734682 +0200
+++ audible-cli-0.2.4/setup.py  2023-04-26 12:36:56.759732778 +0200
@@ -52 +52 @@
-        "httpx>=0.20.0,<0.24.0",
+        "httpx>=0.20.0",
diff -U0 -r audible-cli-0.2.4.orig/src/audible_cli.egg-info/requires.txt audible-cli-0.2.4/src/audible_cli.egg-info/requires.txt
--- audible-cli-0.2.4.orig/src/audible_cli.egg-info/requires.txt    2023-04-26 12:35:55.899734681 +0200
+++ audible-cli-0.2.4/src/audible_cli.egg-info/requires.txt 2023-04-26 12:36:43.309733198 +0200
@@ -4 +4 @@
-httpx<0.24.0,>=0.20.0
+httpx>=0.20.0

And the following to be added to the PKGBUILD:

source+=('remove-httpx-upper-version-restriction.patch')
sha256sums+=('f0e3b799e221fcde8e4c6b4fa01f49c65ca823246defe2f80e51e311ac1b81d7')

prepare() {
  cd $srcdir/${_name}-$pkgver
  patch -N -p1 --follow-symlinks -i "${srcdir}/remove-httpx-upper-version-restriction.patch"
}

Regards!

dreieck commented on 2023-04-26 10:32 (UTC)

It is the python-httpx package that does the version restriction on python-rfc3986.

python-audible-cli does not need python-rfc3986 directly.

But on the other hand, the setup.py has a version restriction on python-httpx: >=0.20.0, <0.24.0.

dreieck commented on 2023-04-26 10:20 (UTC)

Dependency version requirement python-rfc3986<2.0.0 cannot be fulfilled, as the version in the repositories is 2.0.0.

Regards!

gypaetus commented on 2022-11-17 10:43 (UTC)

Is python-rfc3986<2.0.0 required?