public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-photutils] epel10: New upstream source (1.0.2)
@ 2026-06-26  3:41 Sergio Pascual
  0 siblings, 0 replies; only message in thread
From: Sergio Pascual @ 2026-06-26  3:41 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-photutils
            Branch : epel10
            Commit : a45aa7f24b39c6ba39590030e9b54eb4696e90a2
            Author : Sergio Pascual <sergiopr@fis.ucm.es>
            Date   : 2021-02-15T19:25:01+01:00
            Stats  : +16/-7 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-photutils/c/a45aa7f24b39c6ba39590030e9b54eb4696e90a2?branch=epel10

            Log:
            New upstream source (1.0.2)
Use bcond to potentially disable testing

---
diff --git a/.gitignore b/.gitignore
index 550f97b..746d959 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 /photutils-0.7.1.tar.gz
 /photutils-0.7.2.tar.gz
 /photutils-1.0.1.tar.gz
+/photutils-1.0.2.tar.gz

diff --git a/python-photutils.spec b/python-photutils.spec
index 90e6d5c..eb21ac0 100644
--- a/python-photutils.spec
+++ b/python-photutils.spec
@@ -1,8 +1,10 @@
+%bcond_without check
+
 %global srcname photutils
 
 Name: python-%{srcname}
-Version: 1.0.1
-Release: 2%{?dist}
+Version: 1.0.2
+Release: 1%{?dist}
 Summary: Astropy affiliated package for image photometry tasks
 License: BSD
 
@@ -31,15 +33,15 @@ BuildRequires: %{py3_dist Cython}
 BuildRequires: %{py3_dist numpy} >= 1.17
 BuildRequires: %{py3_dist extension-helpers}
 BuildRequires: %{py3_dist astropy} >= 4.0
+%if %{with check}
 # Optional
+BuildRequires: %{py3_dist pytest}
+BuildRequires: %{py3_dist pytest-astropy}
 BuildRequires: %{py3_dist scipy}
 BuildRequires: %{py3_dist scikit-image} >= 0.14.2
 BuildRequires: %{py3_dist scikit-learn}
 BuildRequires: %{py3_dist matplotlib} >= 2.2
-# For tests
-BuildRequires: %{py3_dist pytest-astropy}
-
-%{?python_provide:%python_provide python3-%{srcname}}
+%endif
 
 Recommends: %{py3_dist scipy}
 Recommends: %{py3_dist scikit-image} >= 0.14.2
@@ -57,12 +59,14 @@ Recommends: %{py3_dist matplotlib} >= 2.2
 %install
 %py3_install
 
+%if %{with check}
 %check
 export PYTHONDONTWRITEBYTECODE=1
 export PYTEST_ADDOPTS="-v -p no:cacheprovider"
 pushd %{buildroot}/%{python3_sitearch}
  pytest-%{python3_version} photutils
 popd
+%endif 
 
 %files -n python3-%{srcname}
 %doc README.rst
@@ -71,6 +75,10 @@ popd
 %{python3_sitearch}/%{srcname}
 
 %changelog
+* Mon Feb 15 2021 Sergio Pascual <sergiopr@fedoraproject.com> - 1.0.2-1
+- New upstream source (1.0.2)
+- Use bcond to potentially disable testing
+
 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
 

diff --git a/sources b/sources
index 9da265d..d9e7190 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (photutils-1.0.1.tar.gz) = 3abcace35fde3b8c4de99c56afe813db50bde87bf1aeda65b1b37edf7c9409420f3aa62bd6b98ae4f381542c1fd3aff100b19220f6a7210f2a0c06f8a039f1b5
+SHA512 (photutils-1.0.2.tar.gz) = 1a437844c2ccc9382e2dd87c507c8e2b28752491efce25975f0bfc0282ecf7fb0e5e02c7a2be34e2314576a143fe541f401ad0a5ceda3ed32ce906d3b3d6945b

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

only message in thread, other threads:[~2026-06-26  3:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-26  3:41 [rpms/python-photutils] epel10: New upstream source (1.0.2) Sergio Pascual

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