public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-empy] rawhide: spec cleanup and modernization + enabling tests
@ 2026-06-10  7:01 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-10  7:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-empy
            Branch : rawhide
            Commit : 04ac39e4a3e6f1819f7bc0c54875219858ad56af
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-10T04:01:36-03:00
            Stats  : +12/-19 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-empy/c/04ac39e4a3e6f1819f7bc0c54875219858ad56af?branch=rawhide

            Log:
            spec cleanup and modernization + enabling tests

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index 281f06c..dc7fb98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1 @@
-empy-latest.tar.gz
-/empy-3.3.1.tar.gz
-/empy-3.3.2.tar.gz
-/empy-3.3.3.tar.gz
-/empy-3.3.4.tar.gz
-/empy-3.3.4a.tar.gz
-/empy-4.1.tar.gz
-/empy-4.2.tar.gz
-/empy-4.2.1.tar.gz
+/empy-*.tar.gz

diff --git a/python-empy.spec b/python-empy.spec
index 1c9d53e..dbfa0ad 100644
--- a/python-empy.spec
+++ b/python-empy.spec
@@ -1,27 +1,26 @@
 %global srcname empy
-%global sum A powerful and robust template system for Python
 
 Name:           python-empy
 Version:        4.2.1
 Release:        %autorelease
-Summary:        %{sum}
-# Automatically converted from old format: LGPLv2+ - review is highly recommended.
-License:        LicenseRef-Callaway-LGPLv2+
+Summary:        A powerful and robust template system for Python
+
+License:        BSD-3-Clause
 URL:            http://www.alcyone.com/software/empy/
 Source:         http://www.alcyone.com/software/%{srcname}/%{srcname}-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  python3-devel
 
-%description
+%global _description %{expand:
 EmPy is a system for embedding Python expressions and statements in template
-text; it takes an EmPy source file, processes it, and produces output. 
+text; it takes an EmPy source file, processes it, and produces output.}
+
+%description %_description
 
 %package -n python3-%{srcname}
-Summary:        %{sum}
+Summary:        %{summary}
 
-%description -n python3-%{srcname}
-EmPy is a system for embedding Python expressions and statements in template
-text; it takes an EmPy source file, processes it, and produces output. 
+%description -n python3-%{srcname} %_description
 
 %prep
 %autosetup -n %{srcname}-%{version}
@@ -38,8 +37,10 @@ text; it takes an EmPy source file, processes it, and produces output.
 
 %check
 %pyproject_check_import
+./test.sh -p %{__python3} @suites/python3
 
 %files -n python3-%{srcname} -f %{pyproject_files}
+%doc README.md
 %{_bindir}/em.py
 
 %changelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-10  7:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10  7:01 [rpms/python-empy] rawhide: spec cleanup and modernization + enabling tests Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox