commit 55279bd2d5768070400967821d07ee5cae4527a83d70bc67030465a72876215c Author: Dirk Mueller Date: Sun Jul 13 13:39:46 2025 +0000 - update to 2.8: * New collection folder methods `move_release` and `uncategorize_release` allowing to change folder of collection items * Add Python 3.13 to GitHub Actions build workflow and removed EOL Python 3.8 * Refactor some outdated Python code style along the way in https://github.com/joalla/discogs_client/pull/165 - Update to 2.3.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-discogs-client?expand=0&rev=16 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/discogs-client-2.3.0.tar.gz b/discogs-client-2.3.0.tar.gz new file mode 100644 index 0000000..e69e4c8 --- /dev/null +++ b/discogs-client-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc979fcbb5283f74d388c7111c8ed6bef920b01614a014d6b1c5d6fbb554bfc3 +size 24716 diff --git a/python-discogs-client.changes b/python-discogs-client.changes new file mode 100644 index 0000000..4551267 --- /dev/null +++ b/python-discogs-client.changes @@ -0,0 +1,60 @@ +------------------------------------------------------------------- +Sun Jul 13 13:39:26 UTC 2025 - Dirk Müller + +- update to 2.8: + * New collection folder methods `move_release` and + `uncategorize_release` allowing to change folder of + collection items + * Add Python 3.13 to GitHub Actions build workflow and removed + EOL Python 3.8 + * Refactor some outdated Python code style along the way in + https://github.com/joalla/discogs_client/pull/165 + +------------------------------------------------------------------- +Thu Nov 28 03:14:29 UTC 2024 - Steve Kowalik + +- Update to 2.7.1: + * Small fixes for Python 3.12 references + * Parse artist role field +- Drop seperate LICENSE file + +------------------------------------------------------------------- +Thu Apr 13 11:02:51 UTC 2023 - pgajdos@suse.com + +- switch to active fork +- version update to 2.6 +- python-six is not required + +------------------------------------------------------------------- +Tue Sep 27 18:26:10 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 2.3.0 + This project is no longer maintained. You can still use a REST client like Requests or other + third-party Python library to access the Discogs REST API. + +------------------------------------------------------------------- +Tue May 25 06:52:41 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + +------------------------------------------------------------------- +Fri Mar 8 13:12:53 UTC 2019 - Tomáš Chvátal + +- Update to 2.2.2: + * Dependency updates + +------------------------------------------------------------------- +Tue Dec 4 12:47:18 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Thu Sep 7 20:07:01 UTC 2017 - toddrme2178@gmail.com + +- Implement single-spec version. + +------------------------------------------------------------------- +Tue Oct 20 23:08:08 UTC 2015 - hpj@urpla.net + +- version 0.5: initial build + diff --git a/python-discogs-client.spec b/python-discogs-client.spec new file mode 100644 index 0000000..88caeb3 --- /dev/null +++ b/python-discogs-client.spec @@ -0,0 +1,67 @@ +# +# spec file for package python-discogs-client +# +# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2015 LISA GmbH, Bingen, Germany. +# +# 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/ +# + + +Name: python-discogs-client +Version: 2.8 +Release: 0 +Summary: Python API client for Discogs +License: BSD-2-Clause +URL: https://github.com/joalla/discogs_client/ +Source: https://github.com/joalla/discogs_client/archive/refs/tags/v%{version}.tar.gz +BuildRequires: %{python_module oauthlib} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-oauthlib +Requires: python-python-dateutil +Requires: python-requests +BuildArch: noarch +%python_subpackages + +%description +This is the official Discogs API client for Python. It enables you to query the +Discogs database for information on artists, releases, labels, users, +Marketplace listings, and more. It also supports OAuth 1.0a authorization, +which allows you to change user data such as profile information, collections +and wantlists, inventory, and orders. + +%prep +%autosetup -p1 -n discogs_client-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pyunittest discover -v discogs_client/tests + +%files %{python_files} +%license LICENSE +%doc README.mkd +%{python_sitelib}/discogs_client +%{python_sitelib}/python3_discogs_client-%{version}.dist-info + +%changelog diff --git a/v2.7.1.tar.gz b/v2.7.1.tar.gz new file mode 100644 index 0000000..95c181f --- /dev/null +++ b/v2.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6cc7fd29aa99181cf119ca14100290d3ebf5f5dfa19df4e94f1e4f551d1db28f +size 56452 diff --git a/v2.8.tar.gz b/v2.8.tar.gz new file mode 100644 index 0000000..32fdd13 --- /dev/null +++ b/v2.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf08d0c9267548d4eb3f12096298a0e4c8484ae2e618e82ac591314cb83fd0a9 +size 57029