public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cogapp] rawhide: Update to 3.5.1 and run unit tests during the build
@ 2026-08-21 17:06 Lumir Balhar
0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-08-21 17:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-cogapp
Branch : rawhide
Commit : 4b75320ff3be15f45deb9b9bd7ae64de3a0e62e5
Author : Lumir Balhar <lbalhar@redhat.com>
Date : 2026-08-21T16:54:05+00:00
Stats : +6/-5 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-cogapp/c/4b75320ff3be15f45deb9b9bd7ae64de3a0e62e5?branch=rawhide
Log:
Update to 3.5.1 and run unit tests during the build
---
diff --git a/.gitignore b/.gitignore
index e791c6d..8e8a1b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/cogapp-3.3.0.tar.gz
+/cogapp-3.5.1.tar.gz
diff --git a/python-cogapp.spec b/python-cogapp.spec
index 36213c4..25f8539 100644
--- a/python-cogapp.spec
+++ b/python-cogapp.spec
@@ -1,7 +1,7 @@
%global srcname cogapp
Name: python-%{srcname}
-Version: 3.3.0
+Version: 3.5.1
Release: %autorelease
Summary: Content generator for executing Python snippets in source files
@@ -11,6 +11,8 @@ Source: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
+# tox.ini works with coverage
+BuildRequires: python3-pytest
%global _description %{expand:
Cog is a file generation tool. It lets you use pieces of Python code as
@@ -36,11 +38,9 @@ Summary: %{summary}
%pyproject_install
%pyproject_save_files %{srcname}
-# Remove redundant binary
-rm %{buildroot}%{_bindir}/cog.py
-
%check
%pyproject_check_import
+%pytest
%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.rst AUTHORS.txt
diff --git a/sources b/sources
index c5c025c..abc3db2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cogapp-3.3.0.tar.gz) = 937b9372095ed0805d57083ff1642c66fc231ab65b09156fc0966df4439ced98f220d85e4ebca206b56969e1d721ff7dbb2c2d2550852b41a0dc17594317c322
+SHA512 (cogapp-3.5.1.tar.gz) = 6d1fba2d172211dcbba8da47346bdf95465da52a9f2581568ce47d5851d9508d58155456e16f9eec5555457a63026cc4658c8ca435be1d2f76ab46c03a44743c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-21 17:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 17:06 [rpms/python-cogapp] rawhide: Update to 3.5.1 and run unit tests during the build Lumir Balhar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox