Control: tags 1088161 + patch Control: tags 1088161 + pending
Dear maintainer, I've prepared an NMU for python-xbox-webapi (versioned as 2.1.0-1.2) and uploaded it to DELAYED/10. Please feel free to tell me if I should delay it longer. Regards.
diff -Nru python-xbox-webapi-2.1.0/debian/changelog python-xbox-webapi-2.1.0/debian/changelog --- python-xbox-webapi-2.1.0/debian/changelog 2024-11-26 14:09:18.000000000 +0100 +++ python-xbox-webapi-2.1.0/debian/changelog 2024-12-15 23:50:51.000000000 +0100 @@ -1,3 +1,10 @@ +python-xbox-webapi (2.1.0-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Replace appdirs with platformdirs (Closes: #1088161) + + -- Chris Hofstaedtler <z...@debian.org> Sun, 15 Dec 2024 23:50:51 +0100 + python-xbox-webapi (2.1.0-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru python-xbox-webapi-2.1.0/debian/control python-xbox-webapi-2.1.0/debian/control --- python-xbox-webapi-2.1.0/debian/control 2024-11-26 14:08:53.000000000 +0100 +++ python-xbox-webapi-2.1.0/debian/control 2024-12-15 23:50:51.000000000 +0100 @@ -8,11 +8,11 @@ dh-sequence-python3, pybuild-plugin-pyproject, python3-all, - python3-appdirs, python3-coverage, python3-ecdsa, python3-httpx, python3-ms-cv, + python3-platformdirs, python3-pydantic, python3-pytest, python3-pytest-asyncio, diff -Nru python-xbox-webapi-2.1.0/debian/patches/replace-appdirs-with-platformdirs.patch python-xbox-webapi-2.1.0/debian/patches/replace-appdirs-with-platformdirs.patch --- python-xbox-webapi-2.1.0/debian/patches/replace-appdirs-with-platformdirs.patch 1970-01-01 01:00:00.000000000 +0100 +++ python-xbox-webapi-2.1.0/debian/patches/replace-appdirs-with-platformdirs.patch 2024-12-15 23:50:51.000000000 +0100 @@ -0,0 +1,37 @@ +From: Chris Hofstaedtler <z...@debian.org> +Date: Sun, 15 Dec 2024 23:50:29 +0100 +X-Dgit-Generated: 2.1.0-1.2 6511813619c1c491cc698dc554116f509bccf14e +Subject: Replace appdirs with platformdirs + +Closes: #1088161 + +--- + +diff --git a/pyproject.toml b/pyproject.toml +index dc2d9e5..9535108 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -6,10 +6,10 @@ authors = [ + {name = "OpenXbox"}, + ] + dependencies = [ +- "appdirs", + "ecdsa", + "httpx", + "ms_cv", ++ "platformdirs", + "pydantic==2.*", + ] + requires-python = ">=3.8" +diff --git a/xbox/webapi/scripts/__init__.py b/xbox/webapi/scripts/__init__.py +index 6eca9df..aa75f23 100644 +--- a/xbox/webapi/scripts/__init__.py ++++ b/xbox/webapi/scripts/__init__.py +@@ -1,6 +1,6 @@ + import os + +-from appdirs import user_data_dir ++from platformdirs import user_data_dir + + CLIENT_ID = "388ea51c-0b25-4029-aae2-17df49d23905" + # No secret needed, we registered as "Desktop App" in Azure AD diff -Nru python-xbox-webapi-2.1.0/debian/patches/series python-xbox-webapi-2.1.0/debian/patches/series --- python-xbox-webapi-2.1.0/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ python-xbox-webapi-2.1.0/debian/patches/series 2024-12-15 23:50:51.000000000 +0100 @@ -0,0 +1 @@ +replace-appdirs-with-platformdirs.patch