Skip to content

Commit

Permalink
Update python-Tempita to version 0.5.2+git.1630978236.a30af77 / rev 1…
Browse files Browse the repository at this point in the history
…5 via SR 963785

https://build.opensuse.org/request/show/963785
by user mcepl + 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).
  • Loading branch information
mcepl authored and bmwiedemann committed Mar 22, 2022
1 parent 7eb2f0a commit 37c85ec
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 13 deletions.
Binary file modified packages/p/python-Tempita/.files
Binary file not shown.
19 changes: 19 additions & 0 deletions packages/p/python-Tempita/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,23 @@
<comment>- Run through spec-cleaner</comment>
<requestid>746338</requestid>
</revision>
<revision rev="15" vrev="1">
<srcmd5>0433660d563608f13da77b0cd0c35e96</srcmd5>
<version>0.5.2+git.1630978236.a30af77</version>
<time>1647974386</time>
<user>dimstar_suse</user>
<comment>- 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).
</comment>
<requestid>963785</requestid>
</revision>
</revisionlist>
1 change: 1 addition & 0 deletions packages/p/python-Tempita/.servicemark
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
afb60fc5d00dec4c629d1ce1bfcf1ee2
1 change: 0 additions & 1 deletion packages/p/python-Tempita/Tempita-0.5.2.tar.gz

This file was deleted.

15 changes: 15 additions & 0 deletions packages/p/python-Tempita/_service
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/nsoranzo/tempita.git</param>
<param name="scm">git</param>
<param name="versionprefix">0.5.2+git</param>
<param name="revision">main</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">[email protected]</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service mode="disabled" name="set_version" />
</services>
4 changes: 4 additions & 0 deletions packages/p/python-Tempita/_servicedata
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/nsoranzo/tempita.git</param>
<param name="changesrevision">a30af77422444985d43e249e035963a0e131ea05</param></service></servicedata>
15 changes: 15 additions & 0 deletions packages/p/python-Tempita/python-Tempita.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Mar 21 20:46:04 UTC 2022 - [email protected]

- 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 <[email protected]>

Expand Down
26 changes: 14 additions & 12 deletions packages/p/python-Tempita/python-Tempita.spec
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 37c85ec

Please sign in to comment.