Matej Cepl 2024-09-26 17:44:30 +00:00 committed by Git OBS Bridge
commit 350e4f9b26
5 changed files with 169 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
audible-0.10.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:125b3accc9ffbda020dd25818264cabe5d748a40559cb9b9c10611d87bb14ebb
size 43286

72
python-audible.changes Normal file
View File

@ -0,0 +1,72 @@
-------------------------------------------------------------------
Thu Sep 26 16:06:24 UTC 2024 - Michael Vetter <mvetter@suse.com>
- 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 <mvetter@suse.com>
- Add audible-pyver.patch:
Patch out Python version requirement. See gh/mkb79/Audible#510
-------------------------------------------------------------------
Fri Sep 6 10:26:01 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Update to 0.9.1
* fix: fix login issues on brazilian marketplace (#204)
-------------------------------------------------------------------
Fri Sep 6 10:25:19 UTC 2024 - Michael Vetter <mvetter@suse.com>
- 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 <mvetter@suse.com>
- 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 <mvetter@suse.com>
- 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 <mvetter@suse.com>
- 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 <mvetter@suse.com>
- Initial package of python-audible 0.7.2 for openSUSE

70
python-audible.spec Normal file
View File

@ -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