diff --git a/packages/p/python-Tempita/.files b/packages/p/python-Tempita/.files
index ca634e39f48..3ca4d56093a 100644
Binary files a/packages/p/python-Tempita/.files and b/packages/p/python-Tempita/.files differ
diff --git a/packages/p/python-Tempita/.rev b/packages/p/python-Tempita/.rev
index 95f93aa48c9..081b10ed7d7 100644
--- a/packages/p/python-Tempita/.rev
+++ b/packages/p/python-Tempita/.rev
@@ -107,4 +107,23 @@
- Run through spec-cleaner
746338
+
+ 0433660d563608f13da77b0cd0c35e96
+ 0.5.2+git.1630978236.a30af77
+
+ dimstar_suse
+ - Update to version 0.5.2+git.1630978236.a30af77:
+ * Update to Python 3.6, drop 2to3
+ * invalid commands
+ * versionbump
+ * shebang
+ * small performance patch for Tempita
+ * order imports
+ * compatability is hard
+ * py3 unicode
+- Switch upstream (the original is so dead, it is hard to find it
+ even in the Web Archive; gh#nsoranzo/tempita#1).
+
+ 963785
+
diff --git a/packages/p/python-Tempita/.servicemark b/packages/p/python-Tempita/.servicemark
new file mode 100644
index 00000000000..8e5519bc121
--- /dev/null
+++ b/packages/p/python-Tempita/.servicemark
@@ -0,0 +1 @@
+afb60fc5d00dec4c629d1ce1bfcf1ee2
diff --git a/packages/p/python-Tempita/Tempita-0.5.2.tar.gz b/packages/p/python-Tempita/Tempita-0.5.2.tar.gz
deleted file mode 120000
index 79589252f3c..00000000000
--- a/packages/p/python-Tempita/Tempita-0.5.2.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreigkz3hqxkthju2wmqpr2qdlrp7r25lnoooenodjuvg6kfoqrzx4tq
\ No newline at end of file
diff --git a/packages/p/python-Tempita/_service b/packages/p/python-Tempita/_service
new file mode 100644
index 00000000000..ffeb18f169b
--- /dev/null
+++ b/packages/p/python-Tempita/_service
@@ -0,0 +1,15 @@
+
+
+ https://github.com/nsoranzo/tempita.git
+ git
+ 0.5.2+git
+ main
+ enable
+ mcepl@cepl.eu
+
+
+ *.tar
+ gz
+
+
+
diff --git a/packages/p/python-Tempita/_servicedata b/packages/p/python-Tempita/_servicedata
new file mode 100644
index 00000000000..64b30658f94
--- /dev/null
+++ b/packages/p/python-Tempita/_servicedata
@@ -0,0 +1,4 @@
+
+
+ https://github.com/nsoranzo/tempita.git
+ a30af77422444985d43e249e035963a0e131ea05
\ No newline at end of file
diff --git a/packages/p/python-Tempita/python-Tempita.changes b/packages/p/python-Tempita/python-Tempita.changes
index e2583bebf64..5cdef461a6e 100644
--- a/packages/p/python-Tempita/python-Tempita.changes
+++ b/packages/p/python-Tempita/python-Tempita.changes
@@ -1,3 +1,18 @@
+-------------------------------------------------------------------
+Mon Mar 21 20:46:04 UTC 2022 - mcepl@cepl.eu
+
+- Update to version 0.5.2+git.1630978236.a30af77:
+ * Update to Python 3.6, drop 2to3
+ * invalid commands
+ * versionbump
+ * shebang
+ * small performance patch for Tempita
+ * order imports
+ * compatability is hard
+ * py3 unicode
+- Switch upstream (the original is so dead, it is hard to find it
+ even in the Web Archive; gh#nsoranzo/tempita#1).
+
-------------------------------------------------------------------
Thu Nov 7 15:54:29 UTC 2019 - Matej Cepl
diff --git a/packages/p/python-Tempita/python-Tempita.spec b/packages/p/python-Tempita/python-Tempita.spec
index 3594c136dd8..8ced1f85340 100644
--- a/packages/p/python-Tempita/python-Tempita.spec
+++ b/packages/p/python-Tempita/python-Tempita.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-Tempita
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -18,19 +18,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Tempita
-Version: 0.5.2
+Version: 0.5.2+git.1630978236.a30af77
Release: 0
Summary: A very small text templating language
License: MIT
-URL: http://pythonpaste.org/tempita/
-Source: https://files.pythonhosted.org/packages/source/T/Tempita/Tempita-%{version}.tar.gz
+URL: https://github.com/nsoranzo/tempita
+Source: tempita-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
+BuildRequires: %{python_module xml}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
-%ifpython2
-Provides: python-tempita = %{version}
-Obsoletes: python-tempita < %{version}
-%endif
%python_subpackages
%description
@@ -42,15 +42,17 @@ string.Template or % substitution. It's small, it embeds
Python in strings, and it doesn't do much else.
%prep
-%setup -q -n Tempita-%{version}
+%setup -q -n tempita-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
-%{python_sitelib}/*
+%{python_sitelib}/Tempita*
+%{python_sitelib}/tempita*
%changelog
diff --git a/packages/p/python-Tempita/tempita-0.5.2+git.1630978236.a30af77.tar.gz b/packages/p/python-Tempita/tempita-0.5.2+git.1630978236.a30af77.tar.gz
new file mode 120000
index 00000000000..f932f2ae25c
--- /dev/null
+++ b/packages/p/python-Tempita/tempita-0.5.2+git.1630978236.a30af77.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreihkyq6ufhyd7zfpxdyu2kkik76twgtl3rhqpah2jmvbz3vdoz3dsu
\ No newline at end of file