Compare commits

4 Commits

Author SHA256 Message Date
5e1ea6a95e Accepting request 1287771 from devel:languages:python
- Switch to pyproject macros.
- List modules explicitly in %files.

OBS-URL: https://build.opensuse.org/request/show/1287771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-empy?expand=0&rev=6
2025-06-23 13:05:00 +00:00
13521391cd - Switch to pyproject macros.
- List modules explicitly in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-empy?expand=0&rev=11
2025-06-23 01:33:29 +00:00
817eb1c57a Accepting request 1204577 from devel:languages:python
- update to 4.2:
  * Add module support; add support for disabling output and switch
    markup; add support for reconfiguring stdin/stdout; support
    repeated curly braces with functional expression; add
    backward-compatible `Case` abstraction for match markup; add
    more preprocessing and postprocessing commands via command
    line options.

OBS-URL: https://build.opensuse.org/request/show/1204577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-empy?expand=0&rev=5
2024-09-30 13:40:13 +00:00
a7f89bf128 - update to 4.2:
* Add module support; add support for disabling output and switch
    markup; add support for reconfiguring stdin/stdout; support
    repeated curly braces with functional expression; add
    backward-compatible `Case` abstraction for match markup; add
    more preprocessing and postprocessing commands via command
    line options.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-empy?expand=0&rev=9
2024-09-29 19:59:39 +00:00
4 changed files with 35 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d712e97c1395859be13d2b45788c9186cd97f1c04dac510399130f328643367
size 154603

3
empy-4.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86f15e1da9743e79a2e9b2cbacf1a13d0b7fb1835b6254eb253c978b72287f4f
size 166069

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Jun 23 01:30:55 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- List modules explicitly in %files.
-------------------------------------------------------------------
Sun Sep 29 19:57:10 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.2:
* Add module support; add support for disabling output and switch
markup; add support for reconfiguring stdin/stdout; support
repeated curly braces with functional expression; add
backward-compatible `Case` abstraction for match markup; add
more preprocessing and postprocessing commands via command
line options.
-------------------------------------------------------------------
Sat Apr 6 18:53:37 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-empy
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,17 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-empy
Version: 4.1
Version: 4.2
Release: 0
Summary: A templating system for Python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: http://www.alcyone.com/software/empy
Source: https://files.pythonhosted.org/packages/source/e/empy/empy-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
@@ -51,10 +52,10 @@ line options and embedded commands.
%setup -q -n empy-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/em.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -68,8 +69,14 @@ line options and embedded commands.
%license LICENSE.md
%doc README.md
%python_alternative %{_bindir}/em.py
%{python_sitelib}/em*.py
%pycache_only %{python_sitelib}/__pycache__/em*
%{python_sitelib}/empy-%{version}*-info
%{python_sitelib}/em.py
%{python_sitelib}/emdoc.py
%{python_sitelib}/emhelp.py
%{python_sitelib}/emlib.py
%pycache_only %{python_sitelib}/__pycache__/em.*.pyc
%pycache_only %{python_sitelib}/__pycache__/emdoc.*.pyc
%pycache_only %{python_sitelib}/__pycache__/emhelp.*.pyc
%pycache_only %{python_sitelib}/__pycache__/emlib.*.pyc
%{python_sitelib}/empy-%{version}.dist-info
%changelog