commit 350e4f9b263bfcc69a5577e889ec963ab805d58735df0e2b4c096cddc3aaa62a Author: Matej Cepl Date: Thu Sep 26 17:44:30 2024 +0000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-audible?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/audible-0.10.0.tar.gz b/audible-0.10.0.tar.gz new file mode 100644 index 0000000..716f490 --- /dev/null +++ b/audible-0.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:125b3accc9ffbda020dd25818264cabe5d748a40559cb9b9c10611d87bb14ebb +size 43286 diff --git a/python-audible.changes b/python-audible.changes new file mode 100644 index 0000000..1722541 --- /dev/null +++ b/python-audible.changes @@ -0,0 +1,72 @@ +------------------------------------------------------------------- +Thu Sep 26 16:06:24 UTC 2024 - Michael Vetter + +- Update to 0.10.0: + * Fix autodetect_locale function + * Drop support for Python 3.8 and 3.9 + * Add support for Python 3.12 +- Drop audible-pyver.patch + +------------------------------------------------------------------- +Thu Sep 19 09:25:40 UTC 2024 - Michael Vetter + +- Add audible-pyver.patch: + Patch out Python version requirement. See gh/mkb79/Audible#510 + +------------------------------------------------------------------- +Fri Sep 6 10:26:01 UTC 2024 - Michael Vetter + +- Update to 0.9.1 + * fix: fix login issues on brazilian marketplace (#204) + +------------------------------------------------------------------- +Fri Sep 6 10:25:19 UTC 2024 - Michael Vetter + +- Update to 0.9.0: + * ci: update release workflow (#181) + * build: bump poetry and virtualenv (#150) + * style(login.py): restyle line length (#149) + * fix: login.py MFA form id updated (#128) + * 116 switch to poetry implement ci+cd remove python version < 38 (#129) + * remove pdf_url, add rights, customer_rights product_details (#126) + * Fix spelling mistake in index.rst file (#125) + * Update external_api.rst (#121) + * Update external_api.rst (#115) + * Multiple fixes for XXTEA encryption/decryption in metadata module (#109) + * Grammar check on authorization.rst (#105) + * Additional catalog/products response groups. (#96) + * feat: add brazilian marketplace (#195) + +------------------------------------------------------------------- +Wed Nov 9 14:11:40 UTC 2022 - Michael Vetter + +- Update to 0.8.2: + * Allow httpx v0.23.x to fix a security issue in httpx + +------------------------------------------------------------------- +Wed Nov 9 14:11:18 UTC 2022 - Michael Vetter + +- Update to 0.8.1: + * fix a bug in Client.delete and AsyncClient.delete method + +------------------------------------------------------------------- +Wed Nov 9 14:09:49 UTC 2022 - Michael Vetter + +- Update to 0.8.0: + Added: + * full support of pre-Amazon accounts (e.g. refresh access token, + deregister device) + * Client and AsynClient now accepts session kwargs which are + bypassed to the underlying httpx Client + * a respone_callback can now be set to Client and AsyncClient + class to allow custom preparation of response output + * An absolut url can now be passed to a client get, post, delete + and put method as the path arg. So in most cases the client + raw_request method is not needed anymore. + Changed: + * rename (and rework) Client._split_kwargs to Client._prepare_params + +------------------------------------------------------------------- +Fri Apr 8 16:25:06 UTC 2022 - Michael Vetter + +- Initial package of python-audible 0.7.2 for openSUSE diff --git a/python-audible.spec b/python-audible.spec new file mode 100644 index 0000000..d7b8573 --- /dev/null +++ b/python-audible.spec @@ -0,0 +1,70 @@ +# +# spec file for package python-audible +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-audible +Version: 0.10.0 +Release: 0 +Summary: A(Sync) Interface for internal Audible API +License: AGPL-3 +URL: https://github.com/mkb79/audible +Source: https://files.pythonhosted.org/packages/source/a/audible/audible-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module poetry-core} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module beautifulsoup4} +BuildRequires: %{python_module httpx >= 0.20.0} +BuildRequires: %{python_module pbkdf2} +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module pyaes} +BuildRequires: %{python_module rsa} +BuildRequires: fdupes +Requires: python-beautifulsoup4 +Requires: python-httpx >= 0.20.0 +Requires: python-pbkdf2 +Requires: python-Pillow +Requires: python-pyaes +Requires: python-rsa +Suggests: python-sphinx +Suggests: python-sphinx_rtd_theme +Suggests: python-sphinxcontrib-httpdomain +Suggests: python-sphinx-autodoc-typehints +BuildArch: noarch +%python_subpackages + +%description +A(Sync) Interface for internal Audible API written in pure Python. + +%prep +%autosetup -n audible-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/* + +%changelog