From caf32d75b3eab42ebeeba99cd6b990193e1c66be Mon Sep 17 00:00:00 2001
From: Thorge Petersen <petersen@rz.uni-kiel.de>
Date: Thu, 9 Jan 2025 13:07:52 +0100
Subject: [PATCH] Prepared v2.4.6

---
 CHANGELOG.md                       | 10 +++++++++-
 ckanext/odsh/i18n/ckanext-odsh.pot |  2 +-
 setup.py                           |  2 +-
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index edae18b..8205de8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,15 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
-## [2.4.5] 2024-12-17
+## [2.4.6] - 2025-01-09
+
+### Added
+
+- Added parsing logic for `politicalGeocodingURI` in `ODSHDCATdeProfile`.
+  - If a dataset contains a `politicalGeocodingURI` but lacks a `spatial_uri`, the `politicalGeocodingURI` value is now extracted and used to populate the `spatial_uri` field in the dataset's extras.
+  - This ensures that datasets with a political geocoding URI but without a spatial URI are handled correctly in the profile.
+
+## [2.4.5] - 2024-12-17
 
 ### Added
 
diff --git a/ckanext/odsh/i18n/ckanext-odsh.pot b/ckanext/odsh/i18n/ckanext-odsh.pot
index 035263c..b5c63cc 100644
--- a/ckanext/odsh/i18n/ckanext-odsh.pot
+++ b/ckanext/odsh/i18n/ckanext-odsh.pot
@@ -6,7 +6,7 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: ckanext-odsh 2.4.5\n"
+"Project-Id-Version: ckanext-odsh 2.4.6\n"
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
 "POT-Creation-Date: 2024-09-20 11:17+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
diff --git a/setup.py b/setup.py
index a9ddf84..acaf427 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ setup(
     # Versions should comply with PEP440.  For a discussion on single-sourcing
     # the version across setup.py and the project code, see
     # http://packaging.python.org/en/latest/tutorial.html#version
-    version='2.4.5',
+    version='2.4.6',
 
     description='''A general extension for CKAN that is used for the Open Data Schleswig-Holstein project''',
     long_description=long_description,
-- 
GitLab