From 4e2733aec7d5c7be02dfca1d73b86a3ae636f1d1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 16 Apr 2025 08:49:29 +0200 Subject: [PATCH 1/3] Releasing debian version 3.0.30-1. Signed-off-by: Daniel Baumann --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index e774e1e..6052c88 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ptpython (3.0.30-1) sid; urgency=medium + + * Merging upstream version 3.0.30. + * Updating year in upstream copyright for 2025. + + -- Daniel Baumann Wed, 16 Apr 2025 08:49:26 +0200 + ptpython (3.0.29-3) sid; urgency=medium * Updating to standards version 4.7.1. From 335f6cb574c00752d71ed44c21e136826cad7384 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 16 Apr 2025 08:54:52 +0200 Subject: [PATCH 2/3] Refreshing platformdirs.patc. Signed-off-by: Daniel Baumann --- debian/patches/debian/0001-platformdirs.patch | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/debian/patches/debian/0001-platformdirs.patch b/debian/patches/debian/0001-platformdirs.patch index 1ba0eee..89775e2 100644 --- a/debian/patches/debian/0001-platformdirs.patch +++ b/debian/patches/debian/0001-platformdirs.patch @@ -15,19 +15,31 @@ diff -Naurp ptpython.orig/README.rst ptpython/README.rst precise location for your platform. A ``PTPYTHON_CONFIG_HOME`` environment variable, if set, can also be used to explicitly override where configuration is looked for. -diff -Naurp ptpython.orig/ptpython/entry_points/run_ptpython.py ptpython/ptpython/entry_points/run_ptpython.py ---- ptpython.orig/ptpython/entry_points/run_ptpython.py -+++ ptpython/ptpython/entry_points/run_ptpython.py -@@ -33,7 +33,7 @@ import sys +diff -Naurp ptpython.orig/pyproject.toml ptpython/pyproject.toml +--- ptpython.orig/pyproject.toml ++++ ptpython/pyproject.toml +@@ -18,7 +18,7 @@ classifiers = [ + ] + requires-python = ">=3.8" + dependencies = [ +- "appdirs", ++ "platformdirs", + "jedi>=0.16.0", + # Use prompt_toolkit 3.0.43, because of `OneStyleAndTextTuple` import. + "prompt_toolkit>=3.0.43,<3.1.0", +diff -Naurp ptpython.orig/src/ptpython/entry_points/run_ptpython.py ptpython/src/ptpython/entry_points/run_ptpython.py +--- ptpython.orig/src/ptpython/entry_points/run_ptpython.py ++++ ptpython/src/ptpython/entry_points/run_ptpython.py +@@ -34,7 +34,7 @@ from importlib import metadata from textwrap import dedent - from typing import IO + from typing import Protocol -import appdirs +import platformdirs from prompt_toolkit.formatted_text import HTML from prompt_toolkit.shortcuts import print_formatted_text -@@ -107,9 +107,9 @@ def get_config_and_history_file(namespac +@@ -106,9 +106,9 @@ def get_config_and_history_file(namespac """ config_dir = os.environ.get( "PTPYTHON_CONFIG_HOME", @@ -39,15 +51,3 @@ diff -Naurp ptpython.orig/ptpython/entry_points/run_ptpython.py ptpython/ptpytho # Create directories. for d in (config_dir, data_dir): -diff -Naurp ptpython.orig/setup.py ptpython/setup.py ---- ptpython.orig/setup.py -+++ ptpython/setup.py -@@ -26,7 +26,7 @@ setup( - packages=find_packages("."), - package_data={"ptpython": ["py.typed"]}, - install_requires=[ -- "appdirs", -+ "platformdirs", - "importlib_metadata;python_version<'3.8'", - "jedi>=0.16.0", - # Use prompt_toolkit 3.0.43, because of `OneStyleAndTextTuple` import. From 4a5d2a80e338347b77221ee1bfca7f7742e65242 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 16 Apr 2025 08:55:17 +0200 Subject: [PATCH 3/3] Releasing debian version 3.0.30-1. Signed-off-by: Daniel Baumann --- debian/changelog | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index e774e1e..1167716 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +ptpython (3.0.30-1) sid; urgency=medium + + * Merging upstream version 3.0.30. + * Updating year in upstream copyright for 2025. + * Refreshing platformdirs.patc. + + -- Daniel Baumann Wed, 16 Apr 2025 08:49:26 +0200 + ptpython (3.0.29-3) sid; urgency=medium * Updating to standards version 4.7.1.