public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-empy] rawhide: spec cleanup and modernization + enabling tests
Date: Wed, 10 Jun 2026 07:01:49 GMT	[thread overview]
Message-ID: <178107490912.1.2223063783187992177.rpms-python-empy-04ac39e4a3e6@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-10  7:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178107490912.1.2223063783187992177.rpms-python-empy-04ac39e4a3e6@fedoraproject.org \
    --to=filiperosset@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox